Skip to content

Commit

Permalink
Improvement: Covert bookingdetailslink overwritable string #767
Browse files Browse the repository at this point in the history
  • Loading branch information
eynimeni committed Dec 18, 2024
1 parent 6c31e4b commit 712b285
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion classes/output/bookingoption_description.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ public function __construct(
// The link should be clickable in mails (placeholder {bookingdetails}).
$this->booknowbutton = get_string('gotobookingoption', 'booking') . ': ' .
'<a href = "' . $moodleurl . '" target = "_blank">' .
$moodleurl->out(false) .
get_string('gotobookingoptionlink', 'booking', $moodleurl->out(false)) .
'</a>';
break;

Expand Down
1 change: 1 addition & 0 deletions lang/de/booking.php
Original file line number Diff line number Diff line change
Expand Up @@ -1189,6 +1189,7 @@
$string['globalwaitingtext'] = 'Wartelistenbestätigung (globale Vorlage) ' . '<span class="badge bg-warning"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> Veraltet</span>';
$string['gotobooking'] = '&lt;&lt; Zu den Buchungen';
$string['gotobookingoption'] = "Buchungslink";
$string['gotobookingoptionlink'] = '{$a}';
$string['gotomanageresponses'] = '&lt;&lt; Buchungen verwalten';
$string['gotomoodlecourse'] = 'Zum Moodle-Kurs';
$string['groupdeleted'] = 'Diese Buchung erstellt automatisch Gruppen im Zielkurs. Aber die Gruppe wurde im Zielkurs manuell gelöscht. Aktivieren Sie folgende Checkbox, um die Gruppe erneut zu erstellen';
Expand Down
1 change: 1 addition & 0 deletions lang/en/booking.php
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,7 @@
$string['globalwaitingtext'] = 'Waiting list confirmation (global template) ' . '<span class="badge bg-warning"><i class="fa fa-exclamation-triangle" aria-hidden="true"></i> Deprecated</span>';
$string['gotobooking'] = '&lt;&lt; Bookings';
$string['gotobookingoption'] = "Go to bookingoption";
$string['gotobookingoptionlink'] = '{$a}';
$string['gotomanageresponses'] = '&lt;&lt; Manage bookings';
$string['gotomoodlecourse'] = 'Go to Moodle course';
$string['groupdeleted'] = 'This booking instance creates groups automatically in the target course. But the group has been manually deleted in the target course. Activate the following checkbox in order to recreate the group';
Expand Down

0 comments on commit 712b285

Please sign in to comment.