aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-06-14 10:48:37 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-06-14 10:48:37 -0700
commit0158e2edc964f8151f91c17454fa160426343475 (patch)
tree65447232bd0c38ebeb5b5d480e351371717abfdb /python
parente630bdbda05507ceac205bdd1dad84d0dd881d75 (diff)
downloadfatcat-0158e2edc964f8151f91c17454fa160426343475.tar.gz
fatcat-0158e2edc964f8151f91c17454fa160426343475.zip
allow editing of WIP entities
Diffstat (limited to 'python')
-rw-r--r--python/fatcat_web/templates/entity_base.html2
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 %}