Untick ‘basic view’ if invite is cancelled

If an invite is cancelled then the user no longer has permission to do
anything, so we shouldn’t show the green tick. We already do this for
other permissions; this makes the ‘basic view’ row consistent.
This commit is contained in:
Chris Hill-Scott
2018-07-11 16:19:59 +01:00
parent 7f0a13e9aa
commit bc13ab6bdb

View File

@@ -88,7 +88,7 @@
) }}
{% else %}
{{ tick_cross(
True,
user.status != 'cancelled',
'Basic view'
) }}
{% endif %}