summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-28 11:23:22 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-28 11:23:22 +0000
commit1e738fbacaa0eb044a3cd5b345ee0a906f073187 (patch)
tree29ca1e8c78341913098db23b29573b226a0b6e09 /app/views
parent2f9050115b6f5064fb563c95757639448fccfe43 (diff)
downloadredmine-1e738fbacaa0eb044a3cd5b345ee0a906f073187.tar.gz
redmine-1e738fbacaa0eb044a3cd5b345ee0a906f073187.zip
Set titles on Groups pages (#14517)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12049 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/groups/edit.html.erb4
-rw-r--r--app/views/groups/index.html.erb2
-rw-r--r--app/views/groups/new.html.erb2
-rw-r--r--app/views/groups/show.html.erb2
4 files changed, 4 insertions, 6 deletions
diff --git a/app/views/groups/edit.html.erb b/app/views/groups/edit.html.erb
index e6daa5a09..43be52f30 100644
--- a/app/views/groups/edit.html.erb
+++ b/app/views/groups/edit.html.erb
@@ -1,5 +1,3 @@
-<h2><%= link_to l(:label_group_plural), groups_path %> &#187; <%= h(@group) %></h2>
+<%= title [l(:label_group_plural), groups_path], @group.name %>
<%= render_tabs group_settings_tabs %>
-
-<% html_title(l(:label_group), @group, l(:label_administration)) -%>
diff --git a/app/views/groups/index.html.erb b/app/views/groups/index.html.erb
index 809cdc7fc..2ce91dc58 100644
--- a/app/views/groups/index.html.erb
+++ b/app/views/groups/index.html.erb
@@ -2,7 +2,7 @@
<%= link_to l(:label_group_new), new_group_path, :class => 'icon icon-add' %>
</div>
-<h2><%= l(:label_group_plural) %></h2>
+<%= title l(:label_group_plural) %>
<% if @groups.any? %>
<table class="list groups">
diff --git a/app/views/groups/new.html.erb b/app/views/groups/new.html.erb
index f47034588..2a7f0034a 100644
--- a/app/views/groups/new.html.erb
+++ b/app/views/groups/new.html.erb
@@ -1,4 +1,4 @@
-<h2><%= link_to l(:label_group_plural), groups_path %> &#187; <%= l(:label_group_new) %></h2>
+<%= title [l(:label_group_plural), groups_path], l(:label_group_new) %>
<%= labelled_form_for @group do |f| %>
<%= render :partial => 'form', :locals => { :f => f } %>
diff --git a/app/views/groups/show.html.erb b/app/views/groups/show.html.erb
index 02927ebd8..4a0a18da7 100644
--- a/app/views/groups/show.html.erb
+++ b/app/views/groups/show.html.erb
@@ -1,4 +1,4 @@
-<h2><%= link_to l(:label_group_plural), groups_path %> &#187; <%=h @group %></h2>
+<%= title [l(:label_group_plural), groups_path], @group.name %>
<ul>
<% @group.users.each do |user| %>