]> source.dussan.org Git - redmine.git/commitdiff
More detailed html title on several views.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 7 Dec 2007 18:42:40 +0000 (18:42 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Fri, 7 Dec 2007 18:42:40 +0000 (18:42 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@964 e93f8b46-1217-0410-a6f0-8f06a7374b81

30 files changed:
app/views/admin/index.rhtml
app/views/admin/info.rhtml
app/views/admin/mail_options.rhtml
app/views/admin/projects.rhtml
app/views/custom_fields/list.rhtml
app/views/documents/show.rhtml
app/views/enumerations/list.rhtml
app/views/issue_statuses/list.rhtml
app/views/my/account.rhtml
app/views/my/page.rhtml
app/views/news/index.rhtml
app/views/news/show.rhtml
app/views/projects/activity.rhtml
app/views/projects/calendar.rhtml
app/views/projects/gantt.rhtml
app/views/projects/list.rhtml
app/views/projects/list_documents.rhtml
app/views/projects/list_files.rhtml
app/views/projects/settings.rhtml
app/views/projects/show.rhtml
app/views/repositories/changes.rhtml
app/views/repositories/revision.rhtml
app/views/repositories/revisions.rhtml
app/views/repositories/show.rhtml
app/views/roles/list.rhtml
app/views/roles/workflow.rhtml
app/views/search/index.rhtml
app/views/settings/edit.rhtml
app/views/trackers/list.rhtml
app/views/users/list.rhtml

index 02eb5ae899ca66400da11375acbf315464d2eadd..933e288a0454d983be959b018ec66258f3bd5c0a 100644 (file)
@@ -42,4 +42,6 @@
 
 <p class="icon22 icon22-info">
 <%= link_to l(:label_information_plural), :controller => 'admin', :action => 'info' %>
-</p>
\ No newline at end of file
+</p>
+
+<% set_html_title l(:label_administration) -%>
index 179fda1a8fce90f14d239470d2329ef8186176b3..4d442f5ad8ec64d19cf397ca42006608ef45c640 100644 (file)
@@ -23,3 +23,5 @@
     <% end %>
 </table>
 <% end %>
+
+<% set_html_title(l(:label_information_plural)) -%>
index 997cc3b22801b071a2ed206aa9424560ed80ff13..a4b9238730166bf453af4021affd888a71a2255b 100644 (file)
@@ -29,3 +29,5 @@
 
 <%= submit_tag l(:button_save) %>
 <% end %>
+
+<% set_html_title(l(:field_mail_notification)) -%>
index 423d56ebe981e20a43a23afb4cf0dd4c7dda7335..e9d5e85376ad00346b76054cb035af81fa3ca50e 100644 (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) -%>
index 8862b3de1cf378b2a6686496cae61edffd61ae86..bbdfeffb46317acf55a9f61a8f63d088afec70c1 100644 (file)
@@ -50,4 +50,6 @@
 </div>
 <% end %>
 
-<%= javascript_tag "showTab('#{@tab}');" %>
\ No newline at end of file
+<%= javascript_tag "showTab('#{@tab}');" %>
+
+<% set_html_title(l(:label_custom_field_plural)) -%>
index 779315b22ec1e3b15483002e7a36b8e2cedbbe83..8f53f1abe1b98a193dcd765c38275f300e17e419 100644 (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) -%>
index bab4df8300c73377b79b14949ca9169fd392c94f..2e069f39233ed6d9d6df035a299ac29f9c8bdbb1 100644 (file)
@@ -24,3 +24,5 @@
 
 <p><%= link_to l(:label_enumeration_new), { :action => 'new', :opt => option } %></p>
 <% end %>
+
+<% set_html_title(l(:label_enumerations)) -%>
index aaeec559a7a04ff745694f3b51eccc8c7c2a34b7..05506f3c71646e557824bc95ab884c23d1fc76e8 100644 (file)
@@ -32,4 +32,6 @@
   </tbody>
 </table>
 
-<%= pagination_links_full @issue_status_pages %>
\ No newline at end of file
+<%= pagination_links_full @issue_status_pages %>
+
+<% set_html_title(l(:label_issue_status_plural)) -%>
index 0badc4b9443250477a4fce01b6ea248da7ee0039..fe2e5625b39b7d7b7009d50eaa27a18638d85a81 100644 (file)
@@ -44,3 +44,5 @@
 <% content_for :sidebar do %>
 <%= render :partial => 'sidebar' %>
 <% end %>
+
+<% set_html_title l(:label_my_account) -%>
index 89d11ddeadfdafd3d9fc94cca32f48f1bddc8fca..db292da3761baa3129ae595b6691f61071092fd2 100644 (file)
@@ -38,3 +38,5 @@
 
 <div id="context-menu" style="display: none;"></div>
 <%= javascript_tag 'new ContextMenu({})' %>
+
+<% set_html_title l(:label_my_page) -%>
index a956f86d04bb2837c813ddce5f563df01d2c01f4..0b677d241d09e5d52aaa55199d6bd8ce8eae6ef7 100644 (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) -%>
index 32a24e85e2494817e666ce8b5ebcb7b43e6a08a2..e4d7da4db03c829b3a948ef74a2f218c009b5493 100644 (file)
@@ -41,3 +41,5 @@
 <p><%= submit_tag l(:button_add) %></p>
 <% end %>
 <% end %>
+
+<% set_html_title h(@news.title) -%>
index c902d60a3d8b6abb38fde29b89738c9c82a52cb5..d22443bc040cef321ef0e3d2be75bb7d3ec984b2 100644 (file)
@@ -39,3 +39,5 @@
 <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
 <% end %>
 <% end %>
+
+<% set_html_title l(:label_activity) -%>
index 2c02d59ad765386dcfaf7069147cdf1f09c207bd..39f171626bb09c2354d4d8443643e25e21c35c34 100644 (file)
@@ -38,3 +38,5 @@
     <p><%= submit_tag l(:button_apply), :class => 'button-small' %></p>
     <% end %>
 <% end %>
+
+<% set_html_title l(:label_calendar) -%>
index a667548427e38129fe4d0b129cf8db58b0effd9b..395514b61d32cee74494d4f3756d70c8c5844b9b 100644 (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) -%>
index c6e5b4dec1e7d7f673c541c6c2a5e2d1f9c34b52..c7630c0a2f967ad37a2452eb8c0716990708832f 100644 (file)
@@ -16,3 +16,5 @@
 <span class="icon icon-fav"><%= l(:label_my_projects) %></span>
 </div>
 <% end %>
+
+<% set_html_title l(:label_project_plural) -%>
index bb272ee865ef22507a410cec96a33c03ad72692d..6829b9bf5667eb118885ca1ed09a94ad5e856988 100644 (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) -%>
index 0e4f19d814d015c9c3be640f63bbfce1bdd7c82e..b9f6885096ca825c66bdc37ae18161e03cfdfc69 100644 (file)
@@ -41,4 +41,6 @@
   <% end %>
 <% end %>
   </tbody>
-</table>
\ No newline at end of file
+</table>
+
+<% set_html_title l(:label_attachment_plural) -%>
index 13359de6184a1d00d531f32fa9f7acb39671211f..37a469df10063da8bece329ee870e00c937f18ba 100644 (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) -%>
index bb01df1f4b76cbfaeb60c856f07fe464dfe8d63c..ecde32bdea1c2fb39f38855b1acd4228276318d8 100644 (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) -%>
index f843983db24424d270350bcd3958d7cd26fade38..218459128a9d5462cc18748ab43ee393abff9fed 100644 (file)
@@ -16,3 +16,5 @@
 </p>
 
 <%= render :partial => 'revisions', :locals => {:project => @project, :path => @path, :revisions => @changesets, :entry => @entry }%>
+
+<% set_html_title(h(@entry.name)) -%>
index 64d1668bcbd47e7143372522217d57b049f2c969..d87dfa9555011af5038ff0413bdc40148a9f37cc 100644 (file)
@@ -62,3 +62,5 @@
 <% content_for :header_tags do %>
 <%= stylesheet_link_tag "scm" %>
 <% end %>
+
+<% set_html_title("#{l(:label_revision)} #{@changeset.revision}") -%>
index 2a45fc2efe63e52de1a27983d0e04d398f0b3f0e..4483a482c993e0d946d888c12235e39da504466d 100644 (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) -%>
index c9f44d575ef161cec50d98b1f447f6d51c99dede..9fb45514d95b839ef74d422530709edbfa4fc792 100644 (file)
@@ -21,3 +21,5 @@
 <% content_for :header_tags do %>
 <%= stylesheet_link_tag "scm" %>
 <% end %>
+
+<% set_html_title l(:label_repository) -%>
index bdea2475fe103d0d88c76d0e079839c2af5eb96f..02bb20f5ec6380add04819d6859da8f11ed7fee7 100644 (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)) -%>
index 0a435744fe2a36064095fb760d74c6cb3ee78610..02f1b48a2fa3ada6f63ae5566dbd22f3cca6be42 100644 (file)
@@ -54,3 +54,5 @@
 <% end %>
 
 <% end %>
+
+<% set_html_title(l(:label_workflow)) -%>
index 695107fe8f4f6c65bf23b14e8081059ae4d78ae9..9f156cbe1bf5e4c725006655a0cae350b5d4ccfe 100644 (file)
@@ -41,3 +41,5 @@
                    }, :href => url_for(params.merge(:previous => nil, :offset => @pagination_next_date.strftime("%Y%m%d%H%M%S"))) %>\r
 <% end %>\r
 </center></p>\r
+\r
+<% set_html_title(l(:label_search)) -%>\r
index 4a0a400a37e5a160f9a02875c477456bf893ba4e..758045f05013eefc29c2d7ef750a6a252342db23 100644 (file)
@@ -98,3 +98,5 @@
 
 <%= submit_tag l(:button_save) %>
 <% end %>
+
+<% set_html_title(l(:label_settings)) -%>
index 8517c44d64e639d37ca5f5edec58e97df8a75d02..d339bdba0dc9ad599340bda0ba02755b1d627de2 100644 (file)
@@ -30,4 +30,6 @@
   </tbody>
 </table>
 
-<%= pagination_links_full @tracker_pages %>
\ No newline at end of file
+<%= pagination_links_full @tracker_pages %>
+
+<% set_html_title(l(:label_tracker_plural)) -%>
index 2ffbcd6f6f4ad0e2f6189adcecc0d11c8ad6150e..3f879d7a644c2713a0b41c59d50b5ce20174a5f0 100644 (file)
@@ -57,4 +57,6 @@
 
 <p><%= pagination_links_full @user_pages, :status => @status %>
 [ <%= @user_pages.current.first_item %> - <%= @user_pages.current.last_item %> / <%= @user_count %> ]
-</p>
\ No newline at end of file
+</p>
+
+<% set_html_title(l(:label_user_plural)) -%>