# HG changeset patch # User luisf # Date 1317224490 -3600 # Node ID 1ea217fdcdbfe40e8a70d2637d2ca11f1815625b # Parent 7db874627e11f6330944f8e503cf91606803a39e# Parent ebca856bd627a5ae0904ed6f1e1523534e19aaf7 Merge from branch "feature_36" diff -r 7db874627e11 -r 1ea217fdcdbf vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb --- a/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb Wed Sep 21 15:47:56 2011 +0100 +++ b/vendor/plugins/redmine_bibliography/app/helpers/publications_helper.rb Wed Sep 28 16:41:30 2011 +0100 @@ -12,8 +12,12 @@ def projects_check_box_tags(name, projects) s = '' projects.sort.each do |project| - s << "\n" + if User.current.allowed_to?(:edit_publication, project) + s << "\n" + s << '
' + end end + s end