aboutsummaryrefslogtreecommitdiffstats
path: root/templates/staff/jams/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/staff/jams/index.html')
-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":