Commit 5c0808e2 authored by Robert Czechowski's avatar Robert Czechowski
Browse files

Merge branch 'deploy'

parents fff7e8f8 d8ca3ad9
Pipeline #370 passed with stages
in 24 minutes and 44 seconds
......@@ -532,6 +532,10 @@ pub fn show_task<T: MedalConnection>(conn: &T, task_id: i32, session_token: &str
data.insert("contestid".to_string(), to_json(&c.id));
data.insert("seconds_left".to_string(), to_json(&left_secs));
if c.duration > 0 {
data.insert("duration".to_string(), to_json(&true));
}
Ok(("task".to_owned(), data))
}
}
......
......@@ -14,7 +14,7 @@
<div class="columns">
<div class="column is-8 is-offset-2">
<p>
Mitglieder: –<br>
<!-- Mitglieder: –<br> -->
Marker: {{group.tag}}
</p>
<h4 class="subtitle is-5">Gruppencode: <strong>{{group.code}}</strong></h4>
......
......@@ -38,7 +38,7 @@
<tr>
<th>Name</th>
<th>Gruppencode</th>
<th>Mitglieder</th>
<!-- th>Mitglieder</th -->
<th>Marker</th>
<th></th>
<th>Download</th>
......@@ -47,7 +47,7 @@
<tr>
<td><a href="/group/{{id}}">{{name}}</a></td>
<td>{{code}}</td>
<td></td>
<!-- td>–</td -->
<td>{{tag}}</td>
<td><a href="/group/{{id}}" class="button is-small">Ansehen …</a></td>
<td><a href="/group/download/{{id}}">{{name}}.csv</a></td>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment