Adds the filename to the html title of attachment view.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2693 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2009-04-25 09:35:14 +00:00
parent 15a14e55cd
commit 8887b6f3d3
2 changed files with 4 additions and 0 deletions

View File

@ -10,6 +10,8 @@
 
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
<% html_title @attachment.filename %>
<% content_for :header_tags do -%>
<%= stylesheet_link_tag "scm" -%>
<% end -%>

View File

@ -10,6 +10,8 @@
&nbsp;
<%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
<% html_title @attachment.filename %>
<% content_for :header_tags do -%>
<%= stylesheet_link_tag "scm" -%>
<% end -%>