##// END OF EJS Templates
Adds missing html titles (#14517)....
Jean-Philippe Lang -
r11820:f3241385cd7b
parent child
Show More
@@ -1,4 +1,4
1 <h2><%= l(:label_plugins) %></h2>
1 <%= title l(:label_plugins) %>
2
2
3 <% if @plugins.any? %>
3 <% if @plugins.any? %>
4 <table class="list plugins">
4 <table class="list plugins">
@@ -2,7 +2,7
2 <%= link_to l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add' %>
2 <%= link_to l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add' %>
3 </div>
3 </div>
4
4
5 <h2><%=l(:label_project_plural)%></h2>
5 <%= title l(:label_project_plural) %>
6
6
7 <%= form_tag({}, :method => :get) do %>
7 <%= form_tag({}, :method => :get) do %>
8 <fieldset><legend><%= l(:label_filter_plural) %></legend>
8 <fieldset><legend><%= l(:label_filter_plural) %></legend>
@@ -41,5 +41,3
41 </tbody>
41 </tbody>
42 </table>
42 </table>
43 </div>
43 </div>
44
45 <% html_title(l(:label_project_plural)) -%>
@@ -1,4 +1,4
1 <h2><%=l(:label_auth_source)%> (<%= h(@auth_source.auth_method_name) %>)</h2>
1 <%= title [l(:label_auth_source_plural), auth_sources_path], @auth_source.name %>
2
2
3 <%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_source_path(@auth_source), :html => {:id => 'auth_source_form'} do |f| %>
3 <%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_source_path(@auth_source), :html => {:id => 'auth_source_form'} do |f| %>
4 <%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %>
4 <%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %>
@@ -2,7 +2,7
2 <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
2 <%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %>
3 </div>
3 </div>
4
4
5 <h2><%=l(:label_auth_source_plural)%></h2>
5 <%= title l(:label_auth_source_plural) %>
6
6
7 <table class="list">
7 <table class="list">
8 <thead><tr>
8 <thead><tr>
@@ -1,4 +1,4
1 <h2><%=l(:label_auth_source_new)%> (<%= h(@auth_source.auth_method_name) %>)</h2>
1 <%= title [l(:label_auth_source_plural), auth_sources_path], "#{l(:label_auth_source_new)} (#{@auth_source.auth_method_name})" %>
2
2
3 <%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_sources_path, :html => {:id => 'auth_source_form'} do |f| %>
3 <%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_sources_path, :html => {:id => 'auth_source_form'} do |f| %>
4 <%= hidden_field_tag 'type', @auth_source.type %>
4 <%= hidden_field_tag 'type', @auth_source.type %>
@@ -1,6 +1,6
1 <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
1 <%= title [l(:label_custom_field_plural), custom_fields_path],
2 &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
2 [l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)],
3 &#187; <%=h @custom_field.name %></h2>
3 @custom_field.name %>
4
4
5 <%= labelled_form_for :custom_field, @custom_field, :url => custom_field_path(@custom_field), :html => {:method => :put, :id => 'custom_field_form'} do |f| %>
5 <%= labelled_form_for :custom_field, @custom_field, :url => custom_field_path(@custom_field), :html => {:method => :put, :id => 'custom_field_form'} do |f| %>
6 <%= render :partial => 'form', :locals => { :f => f } %>
6 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,5 +1,3
1 <h2><%=l(:label_custom_field_plural)%></h2>
1 <%= title l(:label_custom_field_plural) %>
2
2
3 <%= render_tabs custom_fields_tabs %>
3 <%= render_tabs custom_fields_tabs %>
4
5 <% html_title(l(:label_custom_field_plural)) -%>
@@ -1,6 +1,6
1 <h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %>
1 <%= title [l(:label_custom_field_plural), custom_fields_path],
2 &#187; <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %>
2 [l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)],
3 &#187; <%= l(:label_custom_field_new) %></h2>
3 l(:label_custom_field_new) %>
4
4
5 <%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path, :html => {:id => 'custom_field_form'} do |f| %>
5 <%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path, :html => {:id => 'custom_field_form'} do |f| %>
6 <%= render :partial => 'form', :locals => { :f => f } %>
6 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,4 +1,4
1 <h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2>
1 <%= title [l(@enumeration.option_name), enumerations_path], @enumeration.name %>
2
2
3 <%= form_tag({}, :method => :delete) do %>
3 <%= form_tag({}, :method => :delete) do %>
4 <div class="box">
4 <div class="box">
@@ -1,4 +1,4
1 <h2><%= link_to l(@enumeration.option_name), enumerations_path %> &#187; <%=h @enumeration %></h2>
1 <%= title [l(@enumeration.option_name), enumerations_path], @enumeration.name %>
2
2
3 <%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %>
3 <%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %>
4 <%= render :partial => 'form', :locals => {:f => f} %>
4 <%= render :partial => 'form', :locals => {:f => f} %>
@@ -1,4 +1,4
1 <h2><%= link_to l(@enumeration.option_name), enumerations_path %> &#187; <%=l(:label_enumeration_new)%></h2>
1 <%= title [l(@enumeration.option_name), enumerations_path], l(:label_enumeration_new) %>
2
2
3 <%= labelled_form_for :enumeration, @enumeration, :url => enumerations_path do |f| %>
3 <%= labelled_form_for :enumeration, @enumeration, :url => enumerations_path do |f| %>
4 <%= f.hidden_field :type %>
4 <%= f.hidden_field :type %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_issue_status_plural), issue_statuses_path %> &#187; <%=h @issue_status %></h2>
1 <%= title [l(:label_issue_status_plural), issue_statuses_path], @issue_status.name %>
2
2
3 <%= labelled_form_for @issue_status do |f| %>
3 <%= labelled_form_for @issue_status do |f| %>
4 <%= render :partial => 'form', :locals => {:f => f} %>
4 <%= render :partial => 'form', :locals => {:f => f} %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_issue_status_plural), issue_statuses_path %> &#187; <%=l(:label_issue_status_new)%></h2>
1 <%= title [l(:label_issue_status_plural), issue_statuses_path], l(:label_issue_status_new) %>
2
2
3 <%= labelled_form_for @issue_status do |f| %>
3 <%= labelled_form_for @issue_status do |f| %>
4 <%= render :partial => 'form', :locals => {:f => f} %>
4 <%= render :partial => 'form', :locals => {:f => f} %>
@@ -1,4 +1,4
1 <h2><%=l(:label_issue_new)%></h2>
1 <%= title l(:label_issue_new) %>
2
2
3 <%= call_hook(:view_issues_new_top, {:issue => @issue}) %>
3 <%= call_hook(:view_issues_new_top, {:issue => @issue}) %>
4
4
@@ -1,4 +1,5
1 <h2><%=l(:label_confirmation)%></h2>
1 <%= title l(:label_confirmation) %>
2
2 <div class="warning">
3 <div class="warning">
3 <p><strong><%=h @project_to_destroy %></strong><br />
4 <p><strong><%=h @project_to_destroy %></strong><br />
4 <%=l(:text_project_destroy_confirmation)%>
5 <%=l(:text_project_destroy_confirmation)%>
@@ -1,4 +1,4
1 <h2><%=l(:label_project_new)%></h2>
1 <%= title l(:label_project_new) %>
2
2
3 <%= labelled_form_for @project do |f| %>
3 <%= labelled_form_for @project do |f| %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_role_plural), roles_path %> &#187; <%=h @role.name %></h2>
1 <%= title [l(:label_role_plural), roles_path], @role.name %>
2
2
3 <%= labelled_form_for @role do |f| %>
3 <%= labelled_form_for @role do |f| %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_role_plural), roles_path %> &#187; <%=l(:label_role_new)%></h2>
1 <%= title [l(:label_role_plural), roles_path], l(:label_role_new) %>
2
2
3 <%= labelled_form_for @role do |f| %>
3 <%= labelled_form_for @role do |f| %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_role_plural), roles_path %> &#187; <%=l(:label_permissions_report)%></h2>
1 <%= title [l(:label_role_plural), roles_path], l(:label_permissions_report) %>
2
2
3 <%= form_tag(permissions_roles_path, :id => 'permissions_form') do %>
3 <%= form_tag(permissions_roles_path, :id => 'permissions_form') do %>
4 <%= hidden_field_tag 'permissions[0]', '', :id => nil %>
4 <%= hidden_field_tag 'permissions[0]', '', :id => nil %>
@@ -1,4 +1,4
1 <h2><%= l(:label_settings) %>: <%=h @plugin.name %></h2>
1 <%= title [l(:label_plugins), {:controller => 'admin', :action => 'plugins'}], @plugin.name %>
2
2
3 <div id="settings">
3 <div id="settings">
4 <%= form_tag({:action => 'plugin'}) do %>
4 <%= form_tag({:action => 'plugin'}) do %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_tracker_plural), trackers_path %> &#187; <%=h @tracker %></h2>
1 <%= title [l(:label_tracker_plural), trackers_path], @tracker.name %>
2
2
3 <%= labelled_form_for @tracker do |f| %>
3 <%= labelled_form_for @tracker do |f| %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_tracker_plural), trackers_path %> &#187; <%= l(:field_summary) %></h2>
1 <%= title [l(:label_tracker_plural), trackers_path], l(:field_summary) %>
2
2
3 <% if @trackers.any? %>
3 <% if @trackers.any? %>
4 <%= form_tag fields_trackers_path do %>
4 <%= form_tag fields_trackers_path do %>
@@ -73,5 +73,3
73 <% else %>
73 <% else %>
74 <p class="nodata"><%= l(:label_no_data) %></p>
74 <p class="nodata"><%= l(:label_no_data) %></p>
75 <% end %>
75 <% end %>
76
77 <% html_title l(:field_summary) %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_tracker_plural), trackers_path %> &#187; <%=l(:label_tracker_new)%></h2>
1 <%= title [l(:label_tracker_plural), trackers_path], l(:label_tracker_new) %>
2
2
3 <%= labelled_form_for @tracker do |f| %>
3 <%= labelled_form_for @tracker do |f| %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -4,8 +4,6
4 <%= delete_link user_path(@user) if User.current != @user %>
4 <%= delete_link user_path(@user) if User.current != @user %>
5 </div>
5 </div>
6
6
7 <h2><%= link_to l(:label_user_plural), users_path %> &#187; <%=h @user.login %></h2>
7 <%= title [l(:label_user_plural), users_path], @user.login %>
8
8
9 <%= render_tabs user_settings_tabs %>
9 <%= render_tabs user_settings_tabs %>
10
11 <% html_title(l(:label_user), @user.login, l(:label_administration)) -%>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_user_plural), users_path %> &#187; <%=l(:label_user_new)%></h2>
1 <%= title [l(:label_user_plural), users_path], l(:label_user_new) %>
2
2
3 <%= labelled_form_for @user do |f| %>
3 <%= labelled_form_for @user do |f| %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
4 <%= render :partial => 'form', :locals => { :f => f } %>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_workflow), workflows_edit_path %> &#187; <%=l(:button_copy)%></h2>
1 <%= title [l(:label_workflow), workflows_edit_path], l(:button_copy) %>
2
2
3 <%= form_tag({}, :id => 'workflow_copy_form') do %>
3 <%= form_tag({}, :id => 'workflow_copy_form') do %>
4 <fieldset class="tabular box">
4 <fieldset class="tabular box">
@@ -1,6 +1,6
1 <%= render :partial => 'action_menu' %>
1 <%= render :partial => 'action_menu' %>
2
2
3 <h2><%=l(:label_workflow)%></h2>
3 <%= title l(:label_workflow) %>
4
4
5 <div class="tabs">
5 <div class="tabs">
6 <ul>
6 <ul>
@@ -54,5 +54,3
54 <%= submit_tag l(:button_save) %>
54 <%= submit_tag l(:button_save) %>
55 <% end %>
55 <% end %>
56 <% end %>
56 <% end %>
57
58 <% html_title(l(:label_workflow)) -%>
@@ -1,4 +1,4
1 <h2><%= link_to l(:label_workflow), workflows_edit_path %> &#187; <%=l(:field_summary)%></h2>
1 <%= title [l(:label_workflow), workflows_edit_path], l(:field_summary) %>
2
2
3 <% if @workflow_counts.empty? %>
3 <% if @workflow_counts.empty? %>
4 <p class="nodata"><%= l(:label_no_data) %></p>
4 <p class="nodata"><%= l(:label_no_data) %></p>
@@ -1,6 +1,6
1 <%= render :partial => 'action_menu' %>
1 <%= render :partial => 'action_menu' %>
2
2
3 <h2><%=l(:label_workflow)%></h2>
3 <%= title l(:label_workflow) %>
4
4
5 <div class="tabs">
5 <div class="tabs">
6 <ul>
6 <ul>
General Comments 0
You need to be logged in to leave comments. Login now