<!-- added by bai -->
<!-- <div>
	<ul>
		<li>
			<%= l(:label_question_top) %> :
		</li>
		<li>
			<%= l(:label_question_down) %> :
		</li>
		<li>
 			<%= l(:label_answer_top) %> :
		</li>
		<li>
			<%= l(:label_answer_down) %> :
		</li>
	</ul>
</div> -->

<% messages_count = @user.messages.count %>
<% messages_score = messages_count * 0.05%>
<div><%= l(:label_topic_number) %> * 0.05 = <%= @user.messages.count %> * 0.05 = <%= format("%.2f" , messages_score).to_f %></div>
<div><%= l(:label_user_score_of_topic) %> = <%= format("%.2f" , messages_score).to_f %></div>
<!-- end -->