# HG changeset patch # User Chris Cannam # Date 1315565386 -3600 # Node ID e01aa4ccc0a24e5053051b471b8dd2d793a8b10b # Parent b83173d26d8690ec097f0bcf85de607b64ae430a Might as well bring in stylesheet only when needed diff -r b83173d26d86 -r e01aa4ccc0a2 vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb --- a/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Fri Sep 09 11:48:39 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/views/projects/_bibliography_box.html.erb Fri Sep 09 11:49:46 2011 +0100 @@ -1,5 +1,5 @@ +<% if @project.publications.any? %> <%= stylesheet_link_tag 'bibliography', :plugin => 'redmine_bibliography' %> -<% if @project.publications.any? %>

<%=l(:label_related_publication_plural)%>