Commit f58db70b authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

More detailed html title on several views.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 51adc242
...@@ -42,4 +42,6 @@ ...@@ -42,4 +42,6 @@
<p class="icon22 icon22-info"> <p class="icon22 icon22-info">
<%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %> <%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
</p> </p>
\ No newline at end of file
<% set_html_title l(:label_administration) -%>
...@@ -23,3 +23,5 @@ ...@@ -23,3 +23,5 @@
<% end %> <% end %>
</table> </table>
<% end %> <% end %>
<% set_html_title(l(:label_information_plural)) -%>
...@@ -29,3 +29,5 @@ ...@@ -29,3 +29,5 @@
<%= submit_tag l(:button_save) %> <%= submit_tag l(:button_save) %>
<% end %> <% end %>
<% set_html_title(l(:field_mail_notification)) -%>
...@@ -47,3 +47,5 @@ ...@@ -47,3 +47,5 @@
<p><%= pagination_links_full @project_pages, :status => @status %> <p><%= pagination_links_full @project_pages, :status => @status %>
[ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p> [ <%= @project_pages.current.first_item %> - <%= @project_pages.current.last_item %> / <%= @project_count %> ]</p>
<% set_html_title l(:label_project_plural) -%>
...@@ -50,4 +50,6 @@ ...@@ -50,4 +50,6 @@
</div> </div>
<% end %> <% end %>
<%= javascript_tag "showTab('#{@tab}');" %> <%= javascript_tag "showTab('#{@tab}');" %>
\ No newline at end of file
<% set_html_title(l(:label_custom_field_plural)) -%>
...@@ -3,9 +3,9 @@ ...@@ -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' %> <%= 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> </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> <%= format_date @document.created_on %></em></p>
<%= textilizable @document.description, :attachments => @document.attachments %> <%= textilizable @document.description, :attachments => @document.attachments %>
<br /> <br />
...@@ -34,3 +34,5 @@ ...@@ -34,3 +34,5 @@
<%= submit_tag l(:button_add) %> <%= submit_tag l(:button_add) %>
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title h(@document.title) -%>
...@@ -24,3 +24,5 @@ ...@@ -24,3 +24,5 @@
<p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p> <p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
<% end %> <% end %>
<% set_html_title(l(:label_enumerations)) -%>
...@@ -32,4 +32,6 @@ ...@@ -32,4 +32,6 @@
</tbody> </tbody>
</table> </table>
<%= pagination_links_full @issue_status_pages %> <%= pagination_links_full @issue_status_pages %>
\ No newline at end of file
<% set_html_title(l(:label_issue_status_plural)) -%>
...@@ -44,3 +44,5 @@ ...@@ -44,3 +44,5 @@
<% content_for :sidebar do %> <% content_for :sidebar do %>
<%= render :partial => 'sidebar' %> <%= render :partial => 'sidebar' %>
<% end %> <% end %>
<% set_html_title l(:label_my_account) -%>
...@@ -38,3 +38,5 @@ ...@@ -38,3 +38,5 @@
<div id="context-menu" style="display: none;"></div> <div id="context-menu" style="display: none;"></div>
<%= javascript_tag 'new ContextMenu({})' %> <%= javascript_tag 'new ContextMenu({})' %>
<% set_html_title l(:label_my_page) -%>
...@@ -32,3 +32,5 @@ ...@@ -32,3 +32,5 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %> <% end %>
<% set_html_title l(:label_news_plural) -%>
...@@ -41,3 +41,5 @@ ...@@ -41,3 +41,5 @@
<p><%= submit_tag l(:button_add) %></p> <p><%= submit_tag l(:button_add) %></p>
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title h(@news.title) -%>
...@@ -39,3 +39,5 @@ ...@@ -39,3 +39,5 @@
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p> <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title l(:label_activity) -%>
...@@ -38,3 +38,5 @@ ...@@ -38,3 +38,5 @@
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p> <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title l(:label_calendar) -%>
...@@ -245,3 +245,5 @@ if Date.today >= @date_from and Date.today <= @date_to %> ...@@ -245,3 +245,5 @@ if Date.today >= @date_from and Date.today <= @date_to %>
<p><%= submit_tag l(:button_apply), :class => 'button-small' %></p> <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title l(:label_gantt) -%>
...@@ -16,3 +16,5 @@ ...@@ -16,3 +16,5 @@
<span class="icon icon-fav"><%= l(:label_my_projects) %></span> <span class="icon icon-fav"><%= l(:label_my_projects) %></span>
</div> </div>
<% end %> <% end %>
<% set_html_title l(:label_project_plural) -%>
...@@ -35,3 +35,5 @@ ...@@ -35,3 +35,5 @@
<label><%= radio_button_tag 'sort_by', 'author', (@sort_by == 'author'), :onclick => 'this.form.submit();' %> <%= l(:field_author) %></label> <label><%= radio_button_tag 'sort_by', 'author', (@sort_by == 'author'), :onclick => 'this.form.submit();' %> <%= l(:field_author) %></label>
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title l(:label_document_plural) -%>
...@@ -41,4 +41,6 @@ ...@@ -41,4 +41,6 @@
<% end %> <% end %>
<% end %> <% end %>
</tbody> </tbody>
</table> </table>
\ No newline at end of file
<% set_html_title l(:label_attachment_plural) -%>
...@@ -14,3 +14,5 @@ ...@@ -14,3 +14,5 @@
<%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name] <%= tab = params[:tab] ? h(params[:tab]) : project_settings_tabs.first[:name]
javascript_tag "showTab('#{tab}');" %> javascript_tag "showTab('#{tab}');" %>
<% set_html_title l(:label_settings) -%>
...@@ -81,3 +81,5 @@ ...@@ -81,3 +81,5 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %> <%= auto_discovery_link_tag(:atom, {:action => 'activity', :id => @project, :format => 'atom', :key => User.current.rss_key}) %>
<% end %> <% end %>
<% set_html_title l(:label_overview) -%>
...@@ -16,3 +16,5 @@ ...@@ -16,3 +16,5 @@
</p> </p>
<%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%> <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
<% set_html_title(h(@entry.name)) -%>
...@@ -62,3 +62,5 @@ ...@@ -62,3 +62,5 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %> <%= stylesheet_link_tag "scm" %>
<% end %> <% end %>
<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
...@@ -16,3 +16,5 @@ ...@@ -16,3 +16,5 @@
<%= stylesheet_link_tag "scm" %> <%= stylesheet_link_tag "scm" %>
<%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %> <%= auto_discovery_link_tag(:atom, params.merge({:format => 'atom', :page => nil, :key => User.current.rss_key})) %>
<% end %> <% end %>
<% set_html_title l(:label_revision_plural) -%>
...@@ -21,3 +21,5 @@ ...@@ -21,3 +21,5 @@
<% content_for :header_tags do %> <% content_for :header_tags do %>
<%= stylesheet_link_tag "scm" %> <%= stylesheet_link_tag "scm" %>
<% end %> <% end %>
<% set_html_title l(:label_repository) -%>
...@@ -32,3 +32,5 @@ ...@@ -32,3 +32,5 @@
<p><%= pagination_links_full @role_pages %></p> <p><%= pagination_links_full @role_pages %></p>
<p><%= link_to l(:label_permissions_report), :action => 'report' %></p> <p><%= link_to l(:label_permissions_report), :action => 'report' %></p>
<% set_html_title(l(:label_role_plural)) -%>
...@@ -54,3 +54,5 @@ ...@@ -54,3 +54,5 @@
<% end %> <% end %>
<% end %> <% end %>
<% set_html_title(l(:label_workflow)) -%>
...@@ -41,3 +41,5 @@ ...@@ -41,3 +41,5 @@
}, :href => url_for(params.merge(:previous => nil, :offset => @pagination_next_date.strftime("%Y%m%d%H%M%S"))) %> }, :href => url_for(params.merge(:previous => nil, :offset => @pagination_next_date.strftime("%Y%m%d%H%M%S"))) %>
<% end %> <% end %>
</center></p> </center></p>
<% set_html_title(l(:label_search)) -%>
...@@ -98,3 +98,5 @@ ...@@ -98,3 +98,5 @@
<%= submit_tag l(:button_save) %> <%= submit_tag l(:button_save) %>
<% end %> <% end %>
<% set_html_title(l(:label_settings)) -%>
...@@ -30,4 +30,6 @@ ...@@ -30,4 +30,6 @@
</tbody> </tbody>
</table> </table>
<%= pagination_links_full @tracker_pages %> <%= pagination_links_full @tracker_pages %>
\ No newline at end of file
<% set_html_title(l(:label_tracker_plural)) -%>
...@@ -57,4 +57,6 @@ ...@@ -57,4 +57,6 @@
<p><%= pagination_links_full @user_pages, :status => @status %> <p><%= pagination_links_full @user_pages, :status => @status %>
[ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ] [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ]
</p> </p>
\ No newline at end of file
<% set_html_title(l(:label_user_plural)) -%>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment