diff options
author | 2018-06-20 14:25:26 +0100 | |
---|---|---|
committer | 2018-06-20 14:25:26 +0100 | |
commit | 805ef19e935f645825d462d60a63e8be5800170e (patch) | |
tree | 1e94cfa179c15c554e9289c824b14647f7687693 /templates | |
parent | Fix 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.html | 4 |
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> 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> 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": |