diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/templates/entity_base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/entity_base.html b/python/fatcat_web/templates/entity_base.html index 932696b3..5f9f9f46 100644 --- a/python/fatcat_web/templates/entity_base.html +++ b/python/fatcat_web/templates/entity_base.html @@ -68,7 +68,7 @@ </div> {% if entity.ident %} <div class="ui small tabular compact menu floated right"> - {% if (not editgroup and entity.state != 'wip') or not (editgroup.changelog_index or editgroup.submitted ) %} + {% if (entity.state != 'wip' and not editgroup) or (editgroup and not (editgroup.changelog_index or editgroup.submitted )) %} {{ entity_tab("edit", "Edit", "/edit") }} {% endif %} {% if not editgroup %} |