aboutsummaryrefslogtreecommitdiff
path: root/app/views/my_studygroups/index.php
blob: 8e2a375ad3e713f2189a0fbbb72b0fc0a4d5e1fb (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
31
32
33
<? if (!empty($studygroups)) : ?>
    <table class="default sortable-table mycourses">
        <? if (!$is_widget) :?>
        <caption>
            <?= _('Meine Studiengruppen') ?>
        </caption>
        <? endif ?>
        <colgroup>
            <col style="width: 7px">
            <col style="width: 5px">
            <col>
            <col>
            <col style="width: "<?= $nav_elements * 27 ?>px">
            <? if (!$is_widget) : ?>
                <col style="width: 45px">
            <? endif ?>
        </colgroup>
        <thead>
            <tr class="sortable">
                <th colspan="2"></th>
                <th data-sort="text"><?= _('Name') ?></th>
                <th data-sort="digit"><?= _('gegründet') ?></th>
                <th><?= _('Inhalt') ?></th>
                <? if (!$is_widget) : ?>
                    <th><?= _('Aktionen') ?></th>
                <? endif ?>
            </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 ?>