Skip to content
Snippets Groups Projects
Commit dab6821a authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

adjust wording, re #132

parent 3eb5132b
No related branches found
No related tags found
No related merge requests found
......@@ -12,7 +12,7 @@ $selected = function ($type, $id) use ($block) {
?>
<? if (!empty($responsible['users'])): ?>
<label>
<?= _('Durchführende Person(en)') ?>
<?= _('Durchführende Personen') ?>
<select name="responsibilities[user][]" multiple class="nested-select">
<? foreach ($responsible['users'] as $user): ?>
<option value="<?= htmlReady($user->id) ?>" <?= $selected('user', $user->id) ?>>
......@@ -25,7 +25,7 @@ $selected = function ($type, $id) use ($block) {
<? if (!empty($responsible['groups'])): ?>
<label>
<?= _('Durchführende Gruppe(n)') ?>
<?= _('Durchführende Gruppen') ?>
<select name="responsibilities[statusgroup][]" multiple class="nested-select">
<? foreach ($responsible['groups'] as $group): ?>
<option value="<?= htmlReady($group->id) ?>" <?= $selected('statusgroup', $group->id) ?>>
......@@ -38,7 +38,7 @@ $selected = function ($type, $id) use ($block) {
<? if (!empty($responsible['institutes'])): ?>
<label>
<?= _('Durchführende Einrichtung(en)') ?>
<?= _('Durchführende Einrichtungen') ?>
<select name="responsibilities[institute][]" multiple class="nested-select">
<? foreach ($responsible['institutes'] as $institute): ?>
<option value="<?= htmlReady($institute->id) ?>" <?= $selected('institute', $institute->id) ?>>
......
......@@ -123,7 +123,7 @@ $intervals = [
<? if ($responsible): ?>
<fieldset>
<legend><?= _('Durchführende Person(en), Gruppe(n) oder Einrichtung(en)') ?></legend>
<legend><?= _('Durchführende Personen, Gruppen oder Einrichtungen') ?></legend>
<?= $this->render_partial('consultation/admin/block-responsibilities.php', compact('responsible')) ?>
</fieldset>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment