Commit fd31bc0e authored by Olga Brani's avatar Olga Brani
Browse files

astakos: Search projects list by owner name/email

parent 1332fef6
......@@ -280,7 +280,7 @@ dl.alt-style dd { overflow:hidden; position:relative;}
.projects dl.alt-style .dl-actions { position:absolute; left:300px;}
.projects form.members { margin-top:20px;}
.projects form.members label { padding-top:0; text-transform: uppercase;}
.my-projects .owner { display: none;}
/* new faq-userguide styles */
......
......@@ -266,6 +266,8 @@ class UserProjectsTable(UserTable):
members_count_f = tables.Column(verbose_name=_("Members"),
empty_values=(),
orderable=False)
owner = tables.Column(verbose_name=_("Owner"),
accessor='application.owner')
membership_status = tables.Column(verbose_name=_("Status"),
empty_values=(),
orderable=False)
......@@ -313,7 +315,7 @@ class UserProjectsTable(UserTable):
return mark_safe(str(members_count) + append)
class Meta:
sequence = ('name', 'membership_status', 'issue_date', 'end_date',
sequence = ('name', 'membership_status','owner', 'issue_date', 'end_date',
'members_count_f', 'project_action')
attrs = {'id': 'projects-list', 'class': 'my-projects alt-style'}
template = "im/table_render.html"
......
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