aboutsummaryrefslogtreecommitdiff
path: root/app/views/course/members/index.php
blob: 2eef8b69fbcb1df2a005b94a3e688a2b20a65ceb (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
34
35
36
<? if (count($dozenten) > 0) : ?>
    <?= $this->render_partial('course/members/dozent_list') ?>
<? endif ?>

<? if (count($tutoren) > 0) : ?>
    <br />
    <?= $this->render_partial('course/members/tutor_list') ?>
<? endif ?>

<? if ($is_tutor && $semAdmissionEnabled) : ?>
    <p style="float: right">
        <? //TODO?>
        <strong><?= _('Teilnahmebeschränkte Veranstaltung') ?></strong> -
        <?= _('max. Teilnehmendenanzahl') ?> <?= $course->admission_turnout ?>,
        <?= _('davon belegt') ?>: <?= (count($autoren) + count($users) + count($accepted)) ?>
    </p>
    <div class="clear"></div>
<? endif ?>

<? if(count($autoren) >0) : ?>
    <br />
    <?= $this->render_partial('course/members/autor_list') ?>
<? endif ?>

<? if (count($users) > 0) : ?>
    <br />
    <?= $this->render_partial('course/members/user_list') ?>
<? endif ?>

<? if ($is_tutor && count($accepted) > 0) : ?>
    <?= $this->render_partial('course/members/accepted_list') ?>
<? endif ?>

<? if ($is_tutor && count($awaiting) > 0) : ?>
    <?= $this->render_partial('course/members/awaiting_list') ?>
<? endif ?>