Skip to content

Commit 2de7028

Browse files
committed
Separate reactivate strings
1 parent 03eae68 commit 2de7028

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

lang/de/block_evasys_sync.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
$string['end'] = 'Ende';
3838
$string['direct_invite_checkbox'] = 'Evaluation sofort starten';
3939
$string['reactivate_invite'] = 'Einladung erneut durchführen';
40+
$string['reactivate_startdate'] = 'Startdatum anpassen';
4041
$string['warning_inconsistent_states'] = "Einige Umfragen sind geöffnet, aber alle Umfragen sollten geschlossen sein.";
4142
$string['change_mapping'] = "Weitere Veranstaltungen zuordnen";
4243
$string['semester'] = "Semester";

lang/en/block_evasys_sync.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
$string['semester'] = "Semester";
4040
$string['direct_invite_checkbox'] = 'Start evaluation immediately';
4141
$string['reactivate_invite'] = 'Invite students again';
42+
$string['reactivate_startdate'] = 'Modify start date';
4243
$string['warning_inconsistent_states'] = "There are some open surveys, but all surveys should be closed.";
4344
$string['optional'] = '(optional)';
4445
$string['standard_period'] = "Standard evaluationperiod:";

templates/block.mustache

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,12 @@ Example context (json):
7575
<div>
7676
<label for="reactivate">
7777
<input type="checkbox" id="reactivate">
78-
{{# str}}reactivate_invite, block_evasys_sync{{/str}}
78+
{{#enddisabled}}
79+
{{# str}}reactivate_invite, block_evasys_sync{{/str}}
80+
{{/enddisabled}}
81+
{{^enddisabled}}
82+
{{# str}}reactivate_startdate, block_evasys_sync{{/str}}
83+
{{/enddisabled}}
7984
</label>
8085
</div>
8186
{{/startoption}}

0 commit comments

Comments
 (0)