Forked from
Stud.IP / Stud.IP
3295 commits behind the upstream repository.
-
David Siegfried authored
Closes #913 Merge request studip/studip!770
David Siegfried authoredCloses #913 Merge request studip/studip!770
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
degree.php 1.77 KiB
<table class="default nohover collapsable">
<colgroup>
<col width="70%">
<col width="29%">
<col width="1%">
</colgroup>
<thead>
<tr>
<th><?= _('Abschluss') ?></th>
<th><?= _('Studierende') ?></th>
<th class="actions"><?= _('Aktionen') ?></th>
</tr>
</thead>
<? foreach ($degree as $key => $deg) : ?>
<? if ($deg->count_user > 0) : ?>
<tbody class="collapsed">
<tr class="table-header header-row">
<td class="toggle-indicator">
<a id="<?= $deg->abschluss_id ?>" class="mvv-load-in-new-row"
href="<?= $controller->url_for('/showstudycourse', $deg->abschluss_id, $key + 1) ?>">
<?= htmlReady($deg->name) ?>
</a>
</td>
<td>
<?= $deg->count_user ?>
</td>
<td class="dont-hide actions">
<? if ($GLOBALS['perm']->have_perm('root', $GLOBALS['user']->id)) : ?>
<a href="<?= $controller->messagehelper(['abschluss_id' => $deg->abschluss_id]) ?>"
data-dialog>
<?= Icon::create('mail')->asImg(
['title' => htmlReady(sprintf(
_('Alle Studierenden mit dem Studienabschluss %s benachrichtigen.'),
$deg->name))
]) ?>
</a>
<? endif ?>
</td>
</tr>
</tbody>
<? endif ?>
<? endforeach ?>
</table>