diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-07 18:42:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-12-07 18:42:40 +0000 |
commit | f58db70bdecdbfd0a0d81c0c452d58b88391f9f1 (patch) | |
tree | 85283ef6b7a4d17885045a80b421e4e8ea7bbf74 /app/views/documents | |
parent | 51adc242a31ef9af4d1857d0c6602bb39fdc6e98 (diff) | |
download | redmine-f58db70bdecdbfd0a0d81c0c452d58b88391f9f1.tar.gz redmine-f58db70bdecdbfd0a0d81c0c452d58b88391f9f1.zip |
More detailed html title on several views.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents')
-rw-r--r-- | app/views/documents/show.rhtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml index 779315b22..8f53f1abe 100644 --- a/app/views/documents/show.rhtml +++ b/app/views/documents/show.rhtml @@ -3,9 +3,9 @@ <%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %> </div> -<h2><%= @document.title %></h2> +<h2><%=h @document.title %></h2> -<p><em><%= @document.category.name %><br /> +<p><em><%=h @document.category.name %><br /> <%= format_date @document.created_on %></em></p> <%= textilizable @document.description, :attachments => @document.attachments %> <br /> @@ -34,3 +34,5 @@ <%= submit_tag l(:button_add) %> <% end %> <% end %> + +<% set_html_title h(@document.title) -%> |