summaryrefslogtreecommitdiffstats
path: root/app/views/documents
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-02 22:41:53 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-01-02 22:41:53 +0000
commit3e0acc0b7e1fda93d8bdd9df7b7c8c9551fad864 (patch)
treea6c9bbd76bc54f0c1c7a41845e8831fa83053ff9 /app/views/documents
parent636579b17ddd4b775b060cdb0ac3a94db5e4cb2b (diff)
downloadredmine-3e0acc0b7e1fda93d8bdd9df7b7c8c9551fad864.tar.gz
redmine-3e0acc0b7e1fda93d8bdd9df7b7c8c9551fad864.zip
Slight improvements to the browser views.
ApplicationHelper#set_html_title replaced by html_title with arguments and can be called several times in views to append elements to the title. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1032 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents')
-rw-r--r--app/views/documents/index.rhtml2
-rw-r--r--app/views/documents/show.rhtml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/documents/index.rhtml b/app/views/documents/index.rhtml
index a7cefb733..ff58c2b2f 100644
--- a/app/views/documents/index.rhtml
+++ b/app/views/documents/index.rhtml
@@ -36,4 +36,4 @@
<% end %>
<% end %>
-<% set_html_title l(:label_document_plural) -%>
+<% html_title(l(:label_document_plural)) -%>
diff --git a/app/views/documents/show.rhtml b/app/views/documents/show.rhtml
index 8f53f1abe..599ac389b 100644
--- a/app/views/documents/show.rhtml
+++ b/app/views/documents/show.rhtml
@@ -35,4 +35,4 @@
<% end %>
<% end %>
-<% set_html_title h(@document.title) -%>
+<% html_title @document.title -%>