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
This commit is contained in:
parent
d2192bba02
commit
a4394e877e
|
@ -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)
|
||||
-%>
|
||||
|
|
|
@ -485,7 +485,7 @@ class RepositoriesMercurialControllerTest < ActionController::TestCase
|
|||
assert_response :success
|
||||
assert_template 'revision'
|
||||
assert_select 'title',
|
||||
:text => 'Revision 1:9d5b5b004199 - eCookbook Subproject 1 - Redmine'
|
||||
:text => 'Revision 1:9d5b5b004199 - Added 2 files and modified one. - eCookbook Subproject 1 - Redmine'
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue