diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-22 19:50:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-09-22 19:50:10 +0000 |
commit | 9131cdf6b91bb4585b341b54f6ddd6e7eb03d2e1 (patch) | |
tree | f3e72abeab2d2f29f4115625dce646b38f314b7b /app/views | |
parent | fbf2646426f4531101c9cdde9bfcc075d185fc34 (diff) | |
download | redmine-9131cdf6b91bb4585b341b54f6ddd6e7eb03d2e1.tar.gz redmine-9131cdf6b91bb4585b341b54f6ddd6e7eb03d2e1.zip |
Truncate comments on changeset list.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1900 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/repositories/_revisions.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/repositories/_revisions.rhtml b/app/views/repositories/_revisions.rhtml index a938fecb8..d8ca8007a 100644 --- a/app/views/repositories/_revisions.rhtml +++ b/app/views/repositories/_revisions.rhtml @@ -18,7 +18,7 @@ <td class="checkbox"><%= radio_button_tag('rev_to', changeset.revision, (line_num==2), :id => "cbto-#{line_num}", :onclick => "if ($('cb-#{line_num}').checked==true) {$('cb-#{line_num-1}').checked=true;}") if show_diff && (line_num > 1) %></td> <td class="committed_on"><%= format_time(changeset.committed_on) %></td> <td class="author"><%=h changeset.committer.to_s.split('<').first %></td> -<td class="comments"><%= textilizable(changeset.comments) %></td> +<td class="comments"><%= textilizable(truncate_at_line_break(changeset.comments)) %></td> </tr> <% line_num += 1 %> <% end %> |