Skip to content

Commit 0d0cd3f

Browse files
tuupkemeisterT
authored andcommitted
Improve button labels to reflect actual actions
1 parent 91309d9 commit 0d0cd3f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

webapp/src/Form/Type/RejudgingType.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,9 @@ public function buildForm(FormBuilderInterface $builder, array $options): void
139139
'help' => 'in seconds',
140140
]);
141141

142-
$builder->add('save', SubmitType::class);
142+
$builder->add('save', SubmitType::class, [
143+
'label' => 'Add',
144+
]);
143145

144146
$formProblemModifier = function (FormInterface $form, $contests = []) {
145147
/** @var Contest[] $contests */

webapp/templates/jury/judgehosts.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<form action="{{ path('jury_judgehost_disable_all') }}" method="post" class="d-inline">
2929
<button type="submit" name="cmd-disable" class="btn btn-warning">
3030
<i class="fas fa-pause"></i>
31-
Stop all judgehosts
31+
Pause all judgehosts
3232
</button>
3333
</form>
3434
{% if not all_checked_in_recently %}

0 commit comments

Comments
 (0)