def interest_template(isPlain, user_id, sim_percent):
	percent = int(sim_percent * 100)

	if isPlain:
		text = "Meet {{user-%d}} as you have %d%% interests in common" \
					% (user_id, percent)
	else:
		text = "Meet <b>{{user-%d}}</b> as you have %d%% interests in common" \
					% (user_id, percent)

	return text

def mutual_template(isPlain, user_id, num_of_mutual_friends):
	if isPlain:
		text = "Meet {{user-%d}} as you have %d mutual friends in common" % (user_id, num_of_mutual_friends)
	else:
		text = "Meet <b>{{user-%d}}</b> as you have %d mutual friends in common" % (user_id, num_of_mutual_friends)
	
	return text
@@ -201,32 +201,37 @@
 :%0A%09%09text = %22
+%3Corange%3E
 Meet 
-%3Cb%3E
 %7B%7Buser-%25d%7D%7D%3C
@@ -223,33 +223,38 @@
 et %7B%7Buser-%25d%7D%7D%3C/
-b
+orange
 %3E as you have %25d
@@ -519,16 +519,21 @@
  = %22
+%3Corange%3E
 Meet 
-%3Cb%3E
 %7B%7Bus
@@ -545,9 +545,14 @@
 %7D%7D%3C/
-b
+orange
 %3E as

change templates