File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 393
393
<td ><a href =" {{ link }}" >{{ problem .problem .name }}</a ></td >
394
394
<td ><a href =" {{ link }}" >{{ problem .shortname }}</a ></td >
395
395
<td ><a href =" {{ link }}" >{{ problem .points }}</a ></td >
396
- <td ><a href =" {{ link }}" >{{ problem .allowSubmit | printYesNo }}</a ></td >
397
- <td ><a href =" {{ link }}" >{{ problem .allowJudge | printYesNo }}</a ></td >
396
+ <td >
397
+ {% include ' jury/partials/problem_toggle.html.twig' with {contestProblem : problem , type : ' submit' , enabled : problem .allowSubmit } %}
398
+ </td >
399
+ <td >
400
+ {% include ' jury/partials/problem_toggle.html.twig' with {contestProblem : problem , type : ' judge' , enabled : problem .allowJudge } %}
401
+ </td >
398
402
{% if problem .color is empty %}
399
403
<td ><a href =" {{ link }}" > </a ></td >
400
404
{% else %}
Original file line number Diff line number Diff line change 164
164
<a href =" {{ link }}" >{{ contestProblem .shortname }}</a >
165
165
</td >
166
166
<td >
167
- <a href =" {{ link }}" >
168
- {% include ' jury/partials/problem_toggle.html.twig' with {type : ' submit' , enabled : contestProblem .allowSubmit } %}
169
- </a >
167
+ {% include ' jury/partials/problem_toggle.html.twig' with {type : ' submit' , enabled : contestProblem .allowSubmit } %}
170
168
</td >
171
169
<td >
172
- <a href =" {{ link }}" >
173
- {% include ' jury/partials/problem_toggle.html.twig' with {type : ' judge' , enabled : contestProblem .allowJudge } %}
174
- </a >
170
+ {% include ' jury/partials/problem_toggle.html.twig' with {type : ' judge' , enabled : contestProblem .allowJudge } %}
175
171
</td >
176
172
{% if contestProblem .color is empty %}
177
173
<td ><a href =" {{ link }}" > </a ></td >
You can’t perform that action at this time.
0 commit comments