modify the show of messages

This commit is contained in:
xianbo 2013-11-12 10:31:21 +08:00
parent 1a8af21846
commit 89f01e2aba
1 changed files with 8 additions and 3 deletions

View File

@ -9,12 +9,17 @@
<td>
<table width="580px" border="0">
<tr>
<td colspan="2" valign="top"><strong> <%= link_to journal.user, user_path(journal.user)%></strong> <% if @user == User.current %> <span class="font_lighter"><%= l(:label_leave_me_message) %></span> <% else %> <span class="font_lighter"><%= l(:label_leave_others_message) %></span> <% end %> </td>
<td colspan="2" valign="top"><strong> <%= link_to journal.user, user_path(journal.user)%></strong>
<% if @user == User.current %>
<span class="font_lighter"><%= l(:label_leave_me_message) %></span>
<% else %>
<span class="font_lighter"><%= l(:label_leave_others_message) %></span>
<% end %> </td>
</tr>
<tr>
<td colspan="2" width="580px" >
<p class="font_description">
<%= textilizable journal.notes%>
<p class="info-break">
<%= h journal.notes%>
</p></td>
</tr>
<tr>