Actions
Patch #14138
closedOutput changeset comment in html title
Start date:
Due date:
% Done:
0%
Estimated time:
Description
diff --git a/app/views/repositories/revision.html.erb b/app/views/repositories/revision.html.erb
--- 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)
+ -%>
Files
Actions