aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-06-20 14:25:26 +0100
committerGravatar Gareth Coles <[email protected]>2018-06-20 14:25:26 +0100
commit805ef19e935f645825d462d60a63e8be5800170e (patch)
tree1e94cfa179c15c554e9289c824b14647f7687693 /templates
parentFix RST editor loading on pages that use it (diff)
[Jams] Allow editing info while preparing
Diffstat (limited to 'templates')
-rw-r--r--templates/staff/jams/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/staff/jams/index.html b/templates/staff/jams/index.html
index 74292204..f140aecc 100644
--- a/templates/staff/jams/index.html
+++ b/templates/staff/jams/index.html
@@ -78,7 +78,7 @@
<i class="uk-icon fa-fw far fa-pencil"></i> &nbsp;Basics
</a>
- {% if jam.state in ["planning", "announced", "finished"] %}
+ {% if jam.state in ["planning", "announced", "preparing", "finished"] %}
<a class="uk-button uk-button-default uk-width-expand" data-jam="{{ jam.number }}" id="jam-{{ jam.number }}-button-info" href="{{ url_for("staff.jams.edit.info", jam=jam.number) }}">
<i class="uk-icon fa-fw far fa-pencil"></i> &nbsp;Info
</a>
@@ -205,7 +205,7 @@
case "preparing":
document.getElementById("state-" + jam + "-preparing").removeAttribute("hidden");
- document.getElementById("jam-" + jam + "-button-info").setAttribute("hidden", "hidden");
+ document.getElementById("jam-" + jam + "-button-info").removeAttribute("hidden");
document.getElementById("jam-" + jam + "-button-ending").setAttribute("hidden", "hidden");
break;
case "running":