From 89f01e2aba5719798a7fc2b136969e2e6848e355 Mon Sep 17 00:00:00 2001 From: xianbo Date: Tue, 12 Nov 2013 10:31:21 +0800 Subject: [PATCH] modify the show of messages --- app/views/words/_message.html.erb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/app/views/words/_message.html.erb b/app/views/words/_message.html.erb index 73cf8b127..e45c72662 100644 --- a/app/views/words/_message.html.erb +++ b/app/views/words/_message.html.erb @@ -9,12 +9,17 @@ - +
<%= link_to journal.user, user_path(journal.user)%> <% if @user == User.current %> <%= l(:label_leave_me_message) %> <% else %> <%= l(:label_leave_others_message) %> <% end %> <%= link_to journal.user, user_path(journal.user)%> + <% if @user == User.current %> + <%= l(:label_leave_me_message) %> + <% else %> + <%= l(:label_leave_others_message) %> + <% end %>
-

- <%= textilizable journal.notes%> +

+ <%= h journal.notes%>