More detailed html title on several views.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2007-12-07 18:42:40 +00:00
parent 51adc242a3
commit f58db70bde
30 changed files with 68 additions and 8 deletions
+4 -2
View File
@@ -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) -%>