diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-14 10:48:37 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-14 10:48:37 -0700 |
commit | 0158e2edc964f8151f91c17454fa160426343475 (patch) | |
tree | 65447232bd0c38ebeb5b5d480e351371717abfdb /python/fatcat_web/templates | |
parent | e630bdbda05507ceac205bdd1dad84d0dd881d75 (diff) | |
download | fatcat-0158e2edc964f8151f91c17454fa160426343475.tar.gz fatcat-0158e2edc964f8151f91c17454fa160426343475.zip |
allow editing of WIP entities
Diffstat (limited to 'python/fatcat_web/templates')
-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 6f250e7e..932696b3 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 or not (editgroup.changelog_index or editgroup.submitted ) %} + {% if (not editgroup and entity.state != 'wip') or not (editgroup.changelog_index or editgroup.submitted ) %} {{ entity_tab("edit", "Edit", "/edit") }} {% endif %} {% if not editgroup %} |