summaryrefslogtreecommitdiffstats
path: root/app/views/repositories
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/repositories
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/repositories')
-rw-r--r--app/views/repositories/changes.rhtml2
-rw-r--r--app/views/repositories/revision.rhtml2
-rw-r--r--app/views/repositories/revisions.rhtml2
-rw-r--r--app/views/repositories/show.rhtml2
4 files changed, 8 insertions, 0 deletions
diff --git a/app/views/repositories/changes.rhtml b/app/views/repositories/changes.rhtml
index f843983db..218459128 100644
--- a/app/views/repositories/changes.rhtml
+++ b/app/views/repositories/changes.rhtml
@@ -16,3 +16,5 @@
</p>
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
+
+<% set_html_title(h(@entry.name)) -%>
diff --git a/app/views/repositories/revision.rhtml b/app/views/repositories/revision.rhtml
index 64d1668bc..d87dfa955 100644
--- a/app/views/repositories/revision.rhtml
+++ b/app/views/repositories/revision.rhtml
@@ -62,3 +62,5 @@
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
+
+<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
diff --git a/app/views/repositories/revisions.rhtml b/app/views/repositories/revisions.rhtml
index 2a45fc2ef..4483a482c 100644
--- a/app/views/repositories/revisions.rhtml
+++ b/app/views/repositories/revisions.rhtml
@@ -16,3 +16,5 @@
<%= stylesheet_link_tag "scm" %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>
+
+<% set_html_title l(:label_revision_plural) -%>
diff --git a/app/views/repositories/show.rhtml b/app/views/repositories/show.rhtml
index c9f44d575..9fb45514d 100644
--- a/app/views/repositories/show.rhtml
+++ b/app/views/repositories/show.rhtml
@@ -21,3 +21,5 @@
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
+
+<% set_html_title l(:label_repository) -%>