Commit b04b4761 authored by Robert Czechowski's avatar Robert Czechowski

Bugfix: Make tasks disabled after contest time is up

parent 57999b64
Pipeline #484 passed with stages
in 28 minutes and 50 seconds
......@@ -125,8 +125,8 @@
<ul>
{{#each subtasks}}
<li>
{{#if is_time_up}}
<button class="button is-link is-outlined">{{linktext}}</button>
{{#if ../../is_time_up}}
<button class="button is-link is-outlined" disabled>{{linktext}}</button>
{{else}}
<a href="/task/{{id}}" class="button is-link is-outlined">{{linktext}}</a>
{{/if}}
......
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