Skip to content

Commit 32e5f06

Browse files
committed
Add forgotten check if the full_debug script is used
We do the same for the `run`/`compare` scripts.
1 parent e45daf5 commit 32e5f06

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

webapp/src/Controller/Jury/ExecutableController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ public function viewAction(
370370
'executable' => $executable,
371371
'default_compare' => (string)$this->config->get('default_compare'),
372372
'default_run' => (string)$this->config->get('default_run'),
373-
'default full debug' => (string)$this->config->get('default_full_debug'),
373+
'default_full_debug' => (string)$this->config->get('default_full_debug'),
374374
]));
375375
}
376376

webapp/templates/jury/executable.html.twig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
{% elseif executable.type == 'run' and default_run == executable.execid %}
4343
<em>default run</em>
4444
{% set used = true %}
45+
{% elseif executable.type == 'debug' and default_full_debug == executable.execid %}
46+
<em>default full debug</em>
47+
{% set used = true %}
4548
{% endif %}
4649
{% if executable.type == 'compare' %}
4750
{% for problem in executable.problemsCompare %}

0 commit comments

Comments
 (0)