Skip to content
Snippets Groups Projects
Commit 7a4b6b21 authored by Thomas Hackl's avatar Thomas Hackl
Browse files

Resolve "Anlegen, Bearbeiten oder Löschen der Veranstaltungshierarchie...

Resolve "Anlegen, Bearbeiten oder Löschen der Veranstaltungshierarchie funktioniert nicht (richtig)"

Closes #3483

Merge request studip/studip!2385
parent 15439b4b
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<label> <label>
<?= _('Name') ?> <?= _('Name') ?>
<input type="text" name="name" <input type="text" name="name"
placeholder="<?= _('Name des Eintrags (wird bei Zuweisung zu einer Stud.IP-Einrichtung überschrieben)') ?>"> placeholder="<?= get_class($node) === RangeTreeNode::class ? _('Name des Eintrags (wird bei Zuweisung zu einer Stud.IP-Einrichtung überschrieben)') : _('Name des Eintrags') ?>">
</label> </label>
</section> </section>
<? if (get_class($node) === StudipStudyArea::class): ?> <? if (get_class($node) === StudipStudyArea::class): ?>
...@@ -34,12 +34,14 @@ ...@@ -34,12 +34,14 @@
<?= $treesearch->render() ?> <?= $treesearch->render() ?>
</label> </label>
</section> </section>
<? if (get_class($node) === RangeTreeNode::class): ?>
<section> <section>
<label> <label>
<?= _('Zu einer Stud.IP-Einrichtung zuordnen') ?> <?= _('Zu einer Stud.IP-Einrichtung zuordnen') ?>
<?= $instsearch->render() ?> <?= $instsearch->render() ?>
</label> </label>
</section> </section>
<? endif ?>
<input type="hidden" name="from" value="<?= htmlReady($from) ?>"> <input type="hidden" name="from" value="<?= htmlReady($from) ?>">
<?= CSRFProtection::tokenTag() ?> <?= CSRFProtection::tokenTag() ?>
<footer data-dialog-button> <footer data-dialog-button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment