Commit eea3d272 authored by Sofia Papagiannaki's avatar Sofia Papagiannaki
Browse files

Fix membership state in project list

parent 786ffdff
......@@ -102,10 +102,10 @@
{% if user == o.owner %}
Owner
{% else %}
{% if not user in members %}
{% if not user in o.project.members.all %}
Not member
{% else %}
{% if user in approved_members %}
{% if user in o.project.approved_members %}
Registered
{% else %}
Activation pending
......@@ -242,10 +242,10 @@
{% if user == o.owner %}
Owner
{% else %}
{% if not user in members %}
{% if not user in o.project.members.all %}
Not member
{% else %}
{% if user in approved_members %}
{% if user in o.project.approved_members %}
Registered
{% else %}
Activation pending
......
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