##// END OF EJS Templates
Adds the filename to the html title of attachment view....
Jean-Philippe Lang -
r2601:8887b6f3d335
parent child
Show More
@@ -1,15 +1,17
1 1 <h2><%=h @attachment.filename %></h2>
2 2
3 3 <div class="attachments">
4 4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
5 5 <span class="author"><%= @attachment.author %>, <%= format_time(@attachment.created_on) %></span></p>
6 6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
7 7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p>
8 8
9 9 </div>
10 10 &nbsp;
11 11 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type} %>
12 12
13 <% html_title @attachment.filename %>
14
13 15 <% content_for :header_tags do -%>
14 16 <%= stylesheet_link_tag "scm" -%>
15 17 <% end -%>
@@ -1,15 +1,17
1 1 <h2><%=h @attachment.filename %></h2>
2 2
3 3 <div class="attachments">
4 4 <p><%= h("#{@attachment.description} - ") unless @attachment.description.blank? %>
5 5 <span class="author"><%= @attachment.author %>, <%= format_time(@attachment.created_on) %></span></p>
6 6 <p><%= link_to_attachment @attachment, :text => l(:button_download), :download => true -%>
7 7 <span class="size">(<%= number_to_human_size @attachment.filesize %>)</span></p>
8 8
9 9 </div>
10 10 &nbsp;
11 11 <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %>
12 12
13 <% html_title @attachment.filename %>
14
13 15 <% content_for :header_tags do -%>
14 16 <%= stylesheet_link_tag "scm" -%>
15 17 <% end -%>
General Comments 0
You need to be logged in to leave comments. Login now