]> source.dussan.org Git - redmine.git/commitdiff
Set titles on Groups pages (#14517)
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 28 Jul 2013 11:23:22 +0000 (11:23 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 28 Jul 2013 11:23:22 +0000 (11:23 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12049 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/groups/edit.html.erb
app/views/groups/index.html.erb
app/views/groups/new.html.erb
app/views/groups/show.html.erb

index e6daa5a099a64aabbff0902f5ce48e0d5a5afcfe..43be52f309e30964a6a0350f7486f8f39e255b3d 100644 (file)
@@ -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)) -%>
index 809cdc7fc774e585c7196affa56e38c95d2cd63d..2ce91dc5828a4227b8494aa77491b72fd5eee731 100644 (file)
@@ -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">
index f47034588dfac8cdcd2d73093cf4ca2d8bb09d22..2a7f0034a18e31c6a4e81d385e7ef8f3c485c1f1 100644 (file)
@@ -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 } %>
index 02927ebd87f102d84d019d047ca21d3efcdccdc1..4a0a18da755cb260b2204674ab0b6ab860d874dc 100644 (file)
@@ -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| %>