Mercurial > hg > soundsoftware-site
changeset 1202:8675fa03326d cannam
Fix check for whether user is a member of any of publication's projects (#569)
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 23 Jan 2013 11:47:00 +0000 |
parents | 9ad0d37a49c9 |
children | 74ad60b807ae |
files | vendor/plugins/redmine_bibliography/app/views/activities/_recent.html.erb |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vendor/plugins/redmine_bibliography/app/views/activities/_recent.html.erb Wed Jan 23 11:24:24 2013 +0000 +++ b/vendor/plugins/redmine_bibliography/app/views/activities/_recent.html.erb Wed Jan 23 11:47:00 2013 +0000 @@ -17,7 +17,7 @@ if e.class != Publication user.member_of? e.project else - e.projects.map {|p| user.member_of? p } + e.projects.map {|p| user.member_of? p }.any? end } @@ -38,7 +38,7 @@ <% if events.empty? %> <% if @project.nil? %> - <p><%= l(:label_activity_my_recent_none) %></p> + <div class="tip"><%= l(:label_activity_my_recent_none) %></div> <% end %> <% else %>