diff options
Diffstat (limited to 'app/views/repositories/revision.html.erb')
-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) + -%> |