diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-14 10:57:34 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-14 10:57:34 -0700 |
commit | be5a54879c71e7addf322a2f017168e51e973da0 (patch) | |
tree | 77996fab8958700d6f793941aee60896df667a88 /python/fatcat_web | |
parent | e3cbe8c2a0d4173c4552f99eb929f380b2b153b3 (diff) | |
download | fatcat-be5a54879c71e7addf322a2f017168e51e973da0.tar.gz fatcat-be5a54879c71e7addf322a2f017168e51e973da0.zip |
fix a corner-case of WIP edit tab show/no-show
Diffstat (limited to 'python/fatcat_web')
-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 %} |