diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-02 22:41:53 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-02 22:41:53 +0000 |
commit | 3e0acc0b7e1fda93d8bdd9df7b7c8c9551fad864 (patch) | |
tree | a6c9bbd76bc54f0c1c7a41845e8831fa83053ff9 /app/views/news | |
parent | 636579b17ddd4b775b060cdb0ac3a94db5e4cb2b (diff) | |
download | redmine-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/news')
-rw-r--r-- | app/views/news/index.rhtml | 2 | ||||
-rw-r--r-- | app/views/news/show.rhtml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml index 354467229..b958c475e 100644 --- a/app/views/news/index.rhtml +++ b/app/views/news/index.rhtml @@ -33,4 +33,4 @@ <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> <% end %> -<% set_html_title l(:label_news_plural) -%> +<% html_title(l(:label_news_plural)) -%> diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml index 2b71c48ad..e0cd09990 100644 --- a/app/views/news/show.rhtml +++ b/app/views/news/show.rhtml @@ -43,4 +43,4 @@ <% end %> <% end %> -<% set_html_title(h(@news.title)) -%> +<% html_title @news.title -%> |