diff --git a/app/views/attachments/diff.rhtml b/app/views/attachments/diff.rhtml index 7b64dca17..36db0af52 100644 --- a/app/views/attachments/diff.rhtml +++ b/app/views/attachments/diff.rhtml @@ -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 -%> diff --git a/app/views/attachments/file.rhtml b/app/views/attachments/file.rhtml index 468c6b666..c7e7a7573 100644 --- a/app/views/attachments/file.rhtml +++ b/app/views/attachments/file.rhtml @@ -10,6 +10,8 @@   <%= render :partial => 'common/file', :locals => {:content => @content, :filename => @attachment.filename} %> +<% html_title @attachment.filename %> + <% content_for :header_tags do -%> <%= stylesheet_link_tag "scm" -%> <% end -%>