瀏覽代碼

Changesets comments truncated at 500 characters on activity view.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@438 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/0.5.0
Jean-Philippe Lang 17 年之前
父節點
當前提交
20feb44564
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      app/views/projects/activity.rhtml

+ 1
- 1
app/views/projects/activity.rhtml 查看文件

@@ -42,7 +42,7 @@
<% unless e.comment.blank? %><em><%=h e.comment %></em><% end %>
<% elsif e.is_a? Changeset %>
<%= e.created_on.strftime("%H:%M") %> <%=l(:label_revision)%> <%= link_to h(e.revision), :controller => 'repositories', :action => 'revision', :id => @project, :rev => e.revision %><br />
<em><%=h e.committer.blank? ? "anonymous" : e.committer %><%= h(": #{e.comment}") unless e.comment.blank? %></em>
<em><%=h e.committer.blank? ? "anonymous" : e.committer %><%= h(": #{truncate(e.comment, 500)}") unless e.comment.blank? %></em>
<% end %>
</p></li>

Loading…
取消
儲存