##// END OF EJS Templates
Adds the filename to the html title of attachment view....
Jean-Philippe Lang -
r2601:8887b6f3d335
parent child
Show More
@@ -10,6 +10,8
10  
10  
11 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
11 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
12
12
13 <% html_title @attachment.filename %>
14
13 <% content_for :header_tags do -%>
15 <% content_for :header_tags do -%>
14 <%= stylesheet_link_tag "scm" -%>
16 <%= stylesheet_link_tag "scm" -%>
15 <% end -%>
17 <% end -%>
@@ -10,6 +10,8
10 &nbsp;
10 &nbsp;
11 <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
11 <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
12
12
13 <% html_title @attachment.filename %>
14
13 <% content_for :header_tags do -%>
15 <% content_for :header_tags do -%>
14 <%= stylesheet_link_tag "scm" -%>
16 <%= stylesheet_link_tag "scm" -%>
15 <% end -%>
17 <% end -%>
General Comments 0
You need to be logged in to leave comments. Login now