]> source.dussan.org Git - redmine.git/commitdiff
Adds the filename to the html title of attachment view.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Apr 2009 09:35:14 +0000 (09:35 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 25 Apr 2009 09:35:14 +0000 (09:35 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2693 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/attachments/diff.rhtml
app/views/attachments/file.rhtml

index 7b64dca17a8298d0e0769e2e6def148084d69984..36db0af52877e59577b1a3380da3fa9e274bebb2 100644 (file)
@@ -10,6 +10,8 @@
 &nbsp;
 <%= 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 -%>
index 468c6b666a2b68b8aec3aa2933dc8fbe23e1ccf6..c7e7a7573b5cbbcd604c8fbe2080025843ca4218 100644 (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 -%>