Commit 48f0b7f7 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou

astakos: Do no link to members view if project is not alive

parent 14286a62
......@@ -324,6 +324,7 @@ class UserProjectsTable(UserTable):
kwargs={'project_uuid': record.uuid})
members_count = len(self.accepted.get(project.id, []))
if self.user.owns_project(record) or self.user.is_project_admin():
if project.is_alive:
members_count = '<a href="%s">%d</a>' % (members_url,
members_count)
return mark_safe(str(members_count) + append)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment