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

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

parent 14286a62
......@@ -324,8 +324,9 @@ class UserProjectsTable(UserTable):
kwargs={'project_uuid': record.uuid})
members_count = len(self.accepted.get(, []))
if self.user.owns_project(record) or self.user.is_project_admin():
members_count = '<a href="%s">%d</a>' % (members_url,
if project.is_alive:
members_count = '<a href="%s">%d</a>' % (members_url,
return mark_safe(str(members_count) + append)
class Meta:
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