@@ -94,4 +94,8 | |||||
94 | <%= stylesheet_link_tag "scm" %> |
|
94 | <%= stylesheet_link_tag "scm" %> | |
95 | <% end %> |
|
95 | <% end %> | |
96 |
|
96 | |||
97 | <% html_title("#{l(:label_revision)} #{format_revision(@changeset)}") -%> |
|
97 | <% | |
|
98 | title = "#{l(:label_revision)} #{format_revision(@changeset)}" | |||
|
99 | title << " - #{truncate(@changeset.comments, :length => 80)}" | |||
|
100 | html_title(title) | |||
|
101 | -%> |
@@ -485,7 +485,7 class RepositoriesMercurialControllerTest < ActionController::TestCase | |||||
485 | assert_response :success |
|
485 | assert_response :success | |
486 | assert_template 'revision' |
|
486 | assert_template 'revision' | |
487 | assert_select 'title', |
|
487 | assert_select 'title', | |
488 | :text => 'Revision 1:9d5b5b004199 - eCookbook Subproject 1 - Redmine' |
|
488 | :text => 'Revision 1:9d5b5b004199 - Added 2 files and modified one. - eCookbook Subproject 1 - Redmine' | |
489 | end |
|
489 | end | |
490 | end |
|
490 | end | |
491 | end |
|
491 | end |
General Comments 0
You need to be logged in to leave comments.
Login now