summaryrefslogtreecommitdiffstats
path: root/app/views/news
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 18:42:40 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-12-07 18:42:40 +0000
commitf58db70bdecdbfd0a0d81c0c452d58b88391f9f1 (patch)
tree85283ef6b7a4d17885045a80b421e4e8ea7bbf74 /app/views/news
parent51adc242a31ef9af4d1857d0c6602bb39fdc6e98 (diff)
downloadredmine-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/news')
-rw-r--r--app/views/news/index.rhtml2
-rw-r--r--app/views/news/show.rhtml2
2 files changed, 4 insertions, 0 deletions
diff --git a/app/views/news/index.rhtml b/app/views/news/index.rhtml
index a956f86d0..0b677d241 100644
--- a/app/views/news/index.rhtml
+++ b/app/views/news/index.rhtml
@@ -32,3 +32,5 @@
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>
+
+<% set_html_title l(:label_news_plural) -%>
diff --git a/app/views/news/show.rhtml b/app/views/news/show.rhtml
index 32a24e85e..e4d7da4db 100644
--- a/app/views/news/show.rhtml
+++ b/app/views/news/show.rhtml
@@ -41,3 +41,5 @@
<p><%= submit_tag l(:button_add) %></p>
<% end %>
<% end %>
+
+<% set_html_title h(@news.title) -%>