Mercurial > hg > soundsoftware-site
changeset 1041:af23bcbbd911 cannam
Pull header stuff out of cached fragments
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Tue, 13 Nov 2012 15:38:19 +0000 |
parents | f6c71883b995 |
children | 26a835cb14f9 25da8c3a4452 d021c0bab1e1 |
files | app/views/projects/explore.html.erb vendor/plugins/redmine_tags/app/views/projects/_tagcloud.html.erb |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/app/views/projects/explore.html.erb Tue Nov 13 15:07:05 2012 +0000 +++ b/app/views/projects/explore.html.erb Tue Nov 13 15:38:19 2012 +0000 @@ -1,3 +1,6 @@ +<% content_for :header_tags do %> + <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> +<% end %> <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %> <h2><%= l(:label_explore_projects) %></h2>
--- a/vendor/plugins/redmine_tags/app/views/projects/_tagcloud.html.erb Tue Nov 13 15:07:05 2012 +0000 +++ b/vendor/plugins/redmine_tags/app/views/projects/_tagcloud.html.erb Tue Nov 13 15:38:19 2012 +0000 @@ -1,6 +1,3 @@ -<% content_for :header_tags do %> - <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> -<% end %> <div id="tags"> <%= render_tags_list(Project.available_tags, :style => :cloud) %>