aboutsummaryrefslogtreecommitdiff
path: root/app/views/my_studygroups/index.php
blob: 6d7ee73b4d53297c3e505100d9e91c089049907d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<? if (!empty($studygroups)) : ?>
    <table class="default" id="my_seminars">
        <caption>
            <?= _('Meine Studiengruppen') ?>
        </caption>
        <colgroup>
            <col width="10px">
            <col width="25px">
            <col>
            <col width="<?= $nav_elements * 27 ?>px">
            <col width="45px">
        </colgroup>
        <thead>
            <tr>
                <th colspan="2" nowrap align="center">
                    <a href="<?= URLHelper::getLink('dispatch.php/my_courses/groups/all/true') ?>"
                       data-dialog="size=normal">
                        <?= Icon::create('group', 'clickable', ['title' => _('Gruppe ändern'), 'class' => 'middle'])->asImg(20) ?>
                    </a>
                </th>
                <th><?= _('Name') ?></th>
                <th><?= _('Inhalt') ?></th>
                <th></th>
            </tr>
        </thead>
        <?= $this->render_partial('my_studygroups/_course', compact('studygroups')) ?>
    </table>
<? else : ?>
    <?= MessageBox::info(_('Sie haben bisher noch keine Studiengruppe gegründet oder sich in eine eingetragen.')) ?>
<? endif ?>