More detailed html title on several views.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2007-12-07 18:42:40 +00:00
parent 51adc242a3
commit f58db70bde
30 changed files with 68 additions and 8 deletions

View File

@ -43,3 +43,5 @@
<p class="icon22 icon22-info">
<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
</p>
<% set_html_title l(:label_administration) -%>

View File

@ -23,3 +23,5 @@
<% end %>
</table>
<% end %>
<% set_html_title(l(:label_information_plural)) -%>

View File

@ -29,3 +29,5 @@
<%= submit_tag l(:button_save) %>
<% end %>
<% set_html_title(l(:field_mail_notification)) -%>

View File

@ -47,3 +47,5 @@
<p><%= pagination_links_full @project_pages, :status => @status %>
[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p>
<% set_html_title l(:label_project_plural) -%>

View File

@ -51,3 +51,5 @@
<% end %>
<%= javascript_tag "showTab('#{@tab}');" %>
<% set_html_title(l(:label_custom_field_plural)) -%>

View File

@ -3,9 +3,9 @@
<%= link_to_if_authorized l(:button_delete), {:controller => 'documents', :action => 'destroy', :id => @document}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
</div>
<h2><%= @document.title %></h2>
<h2><%=h @document.title %></h2>
<p><em><%= @document.category.name %><br />
<p><em><%=h @document.category.name %><br />
<%= format_date @document.created_on %></em></p>
<%= textilizable @document.description, :attachments => @document.attachments %>
<br />
@ -34,3 +34,5 @@
<%= submit_tag l(:button_add) %>
<% end %>
<% end %>
<% set_html_title h(@document.title) -%>

View File

@ -24,3 +24,5 @@
<p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
<% end %>
<% set_html_title(l(:label_enumerations)) -%>

View File

@ -33,3 +33,5 @@
</table>
<%= pagination_links_full @issue_status_pages %>
<% set_html_title(l(:label_issue_status_plural)) -%>

View File

@ -44,3 +44,5 @@
<% content_for :sidebar do %>
<%= render :partial => 'sidebar' %>
<% end %>
<% set_html_title l(:label_my_account) -%>

View File

@ -38,3 +38,5 @@
<div id="context-menu" style="display: none;"></div>
<%= javascript_tag 'new ContextMenu({})' %>
<% set_html_title l(:label_my_page) -%>

View File

@ -32,3 +32,5 @@
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %>
<% set_html_title l(:label_news_plural) -%>

View File

@ -41,3 +41,5 @@
<p><%= submit_tag l(:button_add) %></p>
<% end %>
<% end %>
<% set_html_title h(@news.title) -%>

View File

@ -39,3 +39,5 @@
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %>
<% end %>
<% set_html_title l(:label_activity) -%>

View File

@ -38,3 +38,5 @@
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %>
<% end %>
<% set_html_title l(:label_calendar) -%>

View File

@ -245,3 +245,5 @@ if Date.today >= @date_from and Date.today <= @date_to %>
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %>
<% end %>
<% set_html_title l(:label_gantt) -%>

View File

@ -16,3 +16,5 @@
<span class="icon icon-fav"><%= l(:label_my_projects) %></span>
</div>
<% end %>
<% set_html_title l(:label_project_plural) -%>

View File

@ -35,3 +35,5 @@
<label><%= radio_button_tag 'sort_by', 'author', (@sort_by == 'author'), :onclick => 'this.form.submit();' %> <%= l(:field_author) %></label>
<% end %>
<% end %>
<% set_html_title l(:label_document_plural) -%>

View File

@ -42,3 +42,5 @@
<% end %>
</tbody>
</table>
<% set_html_title l(:label_attachment_plural) -%>

View File

@ -14,3 +14,5 @@
<%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name]
javascript_tag "showTab('#{tab}');" %>
<% set_html_title l(:label_settings) -%>

View File

@ -81,3 +81,5 @@
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
<% end %>
<% set_html_title l(:label_overview) -%>

View File

@ -16,3 +16,5 @@
</p>
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
<% set_html_title(h(@entry.name)) -%>

View File

@ -62,3 +62,5 @@
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>

View File

@ -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) -%>

View File

@ -21,3 +21,5 @@
<% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %>
<% end %>
<% set_html_title l(:label_repository) -%>

View File

@ -32,3 +32,5 @@
<p><%= pagination_links_full @role_pages %></p>
<p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
<% set_html_title(l(:label_role_plural)) -%>

View File

@ -54,3 +54,5 @@
<% end %>
<% end %>
<% set_html_title(l(:label_workflow)) -%>

View File

@ -41,3 +41,5 @@
}, :href => url_for(params.merge(:previous => nil, :offset => @pagination_next_date.strftime("%Y%m%d%H%M%S"))) %>
<% end %>
</center></p>
<% set_html_title(l(:label_search)) -%>

View File

@ -98,3 +98,5 @@
<%= submit_tag l(:button_save) %>
<% end %>
<% set_html_title(l(:label_settings)) -%>

View File

@ -31,3 +31,5 @@
</table>
<%= pagination_links_full @tracker_pages %>
<% set_html_title(l(:label_tracker_plural)) -%>

View File

@ -58,3 +58,5 @@
<p><%= pagination_links_full @user_pages, :status => @status %>
[ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ]
</p>
<% set_html_title(l(:label_user_plural)) -%>