管理员界面的被留言内容加上“RE: ”

This commit is contained in:
cxt 2016-09-06 15:17:49 +08:00
parent 1e7f3db946
commit 17f6b9c286
1 changed files with 2 additions and 2 deletions

View File

@ -62,9 +62,9 @@
<td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title='<%=strip_html(journal.notes) %>'> <td style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title='<%=strip_html(journal.notes) %>'>
<%case journal.jour_type %> <%case journal.jour_type %>
<% when 'Principal' %> <% when 'Principal' %>
<%= link_to(strip_html(journal.notes), feedback_path(journal.jour_id)) %> <%= link_to(journal.m_parent_id.nil? ? strip_html(journal.notes) : 'RE: ' + strip_html(journal.notes), feedback_path(journal.jour_id)) %>
<% when 'Course' %> <% when 'Course' %>
<%= link_to(strip_html(journal.notes), course_feedback_path(journal.jour_id)) %> <%= link_to(journal.m_parent_id.nil? ? strip_html(journal.notes) : 'RE: ' + strip_html(journal.notes), course_feedback_path(journal.jour_id)) %>
<% end %> <% end %>
</td> </td>
<td class="center"> <td class="center">