git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12050 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/2.4.0
@@ -1,4 +1,4 @@ | |||
<h2><%= l(:label_plugins) %></h2> | |||
<%= title l(:label_plugins) %> | |||
<% if @plugins.any? %> | |||
<table class="list plugins"> |
@@ -2,7 +2,7 @@ | |||
<%= link_to l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add' %> | |||
</div> | |||
<h2><%=l(:label_project_plural)%></h2> | |||
<%= title l(:label_project_plural) %> | |||
<%= form_tag({}, :method => :get) do %> | |||
<fieldset><legend><%= l(:label_filter_plural) %></legend> | |||
@@ -41,5 +41,3 @@ | |||
</tbody> | |||
</table> | |||
</div> | |||
<% html_title(l(:label_project_plural)) -%> |
@@ -1,4 +1,4 @@ | |||
<h2><%=l(:label_auth_source)%> (<%= h(@auth_source.auth_method_name) %>)</h2> | |||
<%= title [l(:label_auth_source_plural), auth_sources_path], @auth_source.name %> | |||
<%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_source_path(@auth_source), :html => {:id => 'auth_source_form'} do |f| %> | |||
<%= render :partial => auth_source_partial_name(@auth_source), :locals => { :f => f } %> |
@@ -2,7 +2,7 @@ | |||
<%= link_to l(:label_auth_source_new), {:action => 'new'}, :class => 'icon icon-add' %> | |||
</div> | |||
<h2><%=l(:label_auth_source_plural)%></h2> | |||
<%= title l(:label_auth_source_plural) %> | |||
<table class="list"> | |||
<thead><tr> |
@@ -1,4 +1,4 @@ | |||
<h2><%=l(:label_auth_source_new)%> (<%= h(@auth_source.auth_method_name) %>)</h2> | |||
<%= title [l(:label_auth_source_plural), auth_sources_path], "#{l(:label_auth_source_new)} (#{@auth_source.auth_method_name})" %> | |||
<%= labelled_form_for @auth_source, :as => :auth_source, :url => auth_sources_path, :html => {:id => 'auth_source_form'} do |f| %> | |||
<%= hidden_field_tag 'type', @auth_source.type %> |
@@ -1,6 +1,6 @@ | |||
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> | |||
» <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %> | |||
» <%=h @custom_field.name %></h2> | |||
<%= title [l(:label_custom_field_plural), custom_fields_path], | |||
[l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)], | |||
@custom_field.name %> | |||
<%= labelled_form_for :custom_field, @custom_field, :url => custom_field_path(@custom_field), :html => {:method => :put, :id => 'custom_field_form'} do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,5 +1,3 @@ | |||
<h2><%=l(:label_custom_field_plural)%></h2> | |||
<%= title l(:label_custom_field_plural) %> | |||
<%= render_tabs custom_fields_tabs %> | |||
<% html_title(l(:label_custom_field_plural)) -%> |
@@ -1,6 +1,6 @@ | |||
<h2><%= link_to l(:label_custom_field_plural), :controller => 'custom_fields', :action => 'index' %> | |||
» <%= link_to l(@custom_field.type_name), :controller => 'custom_fields', :action => 'index', :tab => @custom_field.class.name %> | |||
» <%= l(:label_custom_field_new) %></h2> | |||
<%= title [l(:label_custom_field_plural), custom_fields_path], | |||
[l(@custom_field.type_name), custom_fields_path(:tab => @custom_field.class.name)], | |||
l(:label_custom_field_new) %> | |||
<%= labelled_form_for :custom_field, @custom_field, :url => custom_fields_path, :html => {:id => 'custom_field_form'} do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= l(@enumeration.option_name) %>: <%=h @enumeration %></h2> | |||
<%= title [l(@enumeration.option_name), enumerations_path], @enumeration.name %> | |||
<%= form_tag({}, :method => :delete) do %> | |||
<div class="box"> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(@enumeration.option_name), enumerations_path %> » <%=h @enumeration %></h2> | |||
<%= title [l(@enumeration.option_name), enumerations_path], @enumeration.name %> | |||
<%= labelled_form_for :enumeration, @enumeration, :url => enumeration_path(@enumeration), :html => {:method => :put} do |f| %> | |||
<%= render :partial => 'form', :locals => {:f => f} %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(@enumeration.option_name), enumerations_path %> » <%=l(:label_enumeration_new)%></h2> | |||
<%= title [l(@enumeration.option_name), enumerations_path], l(:label_enumeration_new) %> | |||
<%= labelled_form_for :enumeration, @enumeration, :url => enumerations_path do |f| %> | |||
<%= f.hidden_field :type %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_issue_status_plural), issue_statuses_path %> » <%=h @issue_status %></h2> | |||
<%= title [l(:label_issue_status_plural), issue_statuses_path], @issue_status.name %> | |||
<%= labelled_form_for @issue_status do |f| %> | |||
<%= render :partial => 'form', :locals => {:f => f} %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_issue_status_plural), issue_statuses_path %> » <%=l(:label_issue_status_new)%></h2> | |||
<%= title [l(:label_issue_status_plural), issue_statuses_path], l(:label_issue_status_new) %> | |||
<%= labelled_form_for @issue_status do |f| %> | |||
<%= render :partial => 'form', :locals => {:f => f} %> |
@@ -1,4 +1,4 @@ | |||
<h2><%=l(:label_issue_new)%></h2> | |||
<%= title l(:label_issue_new) %> | |||
<%= call_hook(:view_issues_new_top, {:issue => @issue}) %> | |||
@@ -1,4 +1,5 @@ | |||
<h2><%=l(:label_confirmation)%></h2> | |||
<%= title l(:label_confirmation) %> | |||
<div class="warning"> | |||
<p><strong><%=h @project_to_destroy %></strong><br /> | |||
<%=l(:text_project_destroy_confirmation)%> |
@@ -1,4 +1,4 @@ | |||
<h2><%=l(:label_project_new)%></h2> | |||
<%= title l(:label_project_new) %> | |||
<%= labelled_form_for @project do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_role_plural), roles_path %> » <%=h @role.name %></h2> | |||
<%= title [l(:label_role_plural), roles_path], @role.name %> | |||
<%= labelled_form_for @role do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_role_plural), roles_path %> » <%=l(:label_role_new)%></h2> | |||
<%= title [l(:label_role_plural), roles_path], l(:label_role_new) %> | |||
<%= labelled_form_for @role do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_role_plural), roles_path %> » <%=l(:label_permissions_report)%></h2> | |||
<%= title [l(:label_role_plural), roles_path], l(:label_permissions_report) %> | |||
<%= form_tag(permissions_roles_path, :id => 'permissions_form') do %> | |||
<%= hidden_field_tag 'permissions[0]', '', :id => nil %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= l(:label_settings) %>: <%=h @plugin.name %></h2> | |||
<%= title [l(:label_plugins), {:controller => 'admin', :action => 'plugins'}], @plugin.name %> | |||
<div id="settings"> | |||
<%= form_tag({:action => 'plugin'}) do %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_tracker_plural), trackers_path %> » <%=h @tracker %></h2> | |||
<%= title [l(:label_tracker_plural), trackers_path], @tracker.name %> | |||
<%= labelled_form_for @tracker do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_tracker_plural), trackers_path %> » <%= l(:field_summary) %></h2> | |||
<%= title [l(:label_tracker_plural), trackers_path], l(:field_summary) %> | |||
<% if @trackers.any? %> | |||
<%= form_tag fields_trackers_path do %> | |||
@@ -73,5 +73,3 @@ | |||
<% else %> | |||
<p class="nodata"><%= l(:label_no_data) %></p> | |||
<% end %> | |||
<% html_title l(:field_summary) %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_tracker_plural), trackers_path %> » <%=l(:label_tracker_new)%></h2> | |||
<%= title [l(:label_tracker_plural), trackers_path], l(:label_tracker_new) %> | |||
<%= labelled_form_for @tracker do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -4,8 +4,6 @@ | |||
<%= delete_link user_path(@user) if User.current != @user %> | |||
</div> | |||
<h2><%= link_to l(:label_user_plural), users_path %> » <%=h @user.login %></h2> | |||
<%= title [l(:label_user_plural), users_path], @user.login %> | |||
<%= render_tabs user_settings_tabs %> | |||
<% html_title(l(:label_user), @user.login, l(:label_administration)) -%> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_user_plural), users_path %> » <%=l(:label_user_new)%></h2> | |||
<%= title [l(:label_user_plural), users_path], l(:label_user_new) %> | |||
<%= labelled_form_for @user do |f| %> | |||
<%= render :partial => 'form', :locals => { :f => f } %> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_workflow), workflows_edit_path %> » <%=l(:button_copy)%></h2> | |||
<%= title [l(:label_workflow), workflows_edit_path], l(:button_copy) %> | |||
<%= form_tag({}, :id => 'workflow_copy_form') do %> | |||
<fieldset class="tabular box"> |
@@ -1,6 +1,6 @@ | |||
<%= render :partial => 'action_menu' %> | |||
<h2><%=l(:label_workflow)%></h2> | |||
<%= title l(:label_workflow) %> | |||
<div class="tabs"> | |||
<ul> | |||
@@ -54,5 +54,3 @@ | |||
<%= submit_tag l(:button_save) %> | |||
<% end %> | |||
<% end %> | |||
<% html_title(l(:label_workflow)) -%> |
@@ -1,4 +1,4 @@ | |||
<h2><%= link_to l(:label_workflow), workflows_edit_path %> » <%=l(:field_summary)%></h2> | |||
<%= title [l(:label_workflow), workflows_edit_path], l(:field_summary) %> | |||
<% if @workflow_counts.empty? %> | |||
<p class="nodata"><%= l(:label_no_data) %></p> |
@@ -1,6 +1,6 @@ | |||
<%= render :partial => 'action_menu' %> | |||
<h2><%=l(:label_workflow)%></h2> | |||
<%= title l(:label_workflow) %> | |||
<div class="tabs"> | |||
<ul> |