diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-30 08:05:44 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-05-30 08:05:44 +0000 |
commit | a4394e877e72d3b7f06bb150042a3cab3bde02e4 (patch) | |
tree | bb80b954ca24d41f41bb2843bd3cc6e2ef9499df /app/views/repositories | |
parent | d2192bba0290157ebf7de98cadb2d2cb6bc41428 (diff) | |
download | redmine-a4394e877e72d3b7f06bb150042a3cab3bde02e4.tar.gz redmine-a4394e877e72d3b7f06bb150042a3cab3bde02e4.zip |
add changeset comment in revision page title (#14138)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11909 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/repositories')
-rw-r--r-- | app/views/repositories/revision.html.erb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb index b9293d9d5..a5fe87246 100644 --- a/app/views/repositories/revision.html.erb +++ b/app/views/repositories/revision.html.erb @@ -94,4 +94,8 @@ <%= stylesheet_link_tag "scm" %> <% end %> -<% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%> +<% + title = "#{l(:label_revision)} #{format_revision(@changeset)}" + title << " - #{truncate(@changeset.comments, :length => 80)}" + html_title(title) + -%> |