changeset 1196:7a848374757b cannam

Override "My Projects" partial as used in My Page so as to show tags; ensure tags stylesheet is included
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 23 Jan 2013 10:45:36 +0000
parents 99fa295c1df2
children ba189cfe5aaf
files app/views/my/page.html.erb vendor/plugins/redmine_tags/app/views/projects/_my.html.erb
diffstat 2 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/my/page.html.erb	Tue Jan 22 16:10:53 2013 +0000
+++ b/app/views/my/page.html.erb	Wed Jan 23 10:45:36 2013 +0000
@@ -1,3 +1,7 @@
+<% content_for :header_tags do %>
+    <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %>
+<% end %>
+
 <div class="contextual">
     <%= link_to l(:label_personalize_page), :action => 'page_layout' %>
     <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vendor/plugins/redmine_tags/app/views/projects/_my.html.erb	Wed Jan 23 10:45:36 2013 +0000
@@ -0,0 +1,1 @@
+<%= render_my_project_hierarchy_with_tags(@user_projects) %>