upload-audio-recordings.html: show active audio files

- active audio files are marked green
- inactive audio files are marked red
This commit is contained in:
Milan
2020-12-19 22:09:52 +01:00
parent e3c3991db6
commit e507ce0e9a
3 changed files with 18 additions and 6 deletions

View File

@@ -343,11 +343,16 @@
<TMPL_IF published><TMPL_VAR .loc.label_published></TMPL_IF>
</TMPL_IF>
<TMPL_IF .allow.update_event_status_playout>
<input type="checkbox" name="playout" <TMPL_IF playout>checked="checked" value="1"<TMPL_ELSE>value="0"</TMPL_IF> > <TMPL_VAR .loc.label_playout>
<TMPL_ELSE>
<TMPL_IF playout><TMPL_VAR .loc.label_playout></TMPL_IF>
</TMPL_IF>
<span <TMPL_IF path>title="<TMPL_VAR path>"</TMPL_IF>>
<TMPL_IF .allow.update_event_status_playout>
<input type="checkbox" name="playout"
<TMPL_IF playout>checked="checked" value="1"<TMPL_ELSE>value="0"</TMPL_IF>
> <TMPL_VAR .loc.label_playout>
<TMPL_ELSE>
<TMPL_IF playout><TMPL_VAR .loc.label_playout></TMPL_IF>
</TMPL_IF>
<TMPL_IF path><i class="fa fa-play" style="color:#03a9f4"></i></TMPL_IF>
</span>
<TMPL_IF .allow.update_event_status_archived>
<input type="checkbox" name="archived" <TMPL_IF archived>checked="checked" value="1"<TMPL_ELSE>value="0"</TMPL_IF> > <TMPL_VAR .loc.label_archived>