aboutsummaryrefslogtreecommitdiff
path: root/app/views/admission/courseset/factored_users.php
blob: eeb9febc2827e6257d04d57827534e9671a192ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 * @var array $users
 */
?>
<table class="default">
    <thead>
        <tr>
            <th><?= _("Name")?></th>
            <th><?= _("Faktor")?></th>
            <th><?= _("Angemeldet")?></th>
        </tr>
    </thead>
    <tbody>
        <? foreach ($users as $user) : ?>
        <tr>
            <td><?= htmlReady($user['nachname'] . ', ' . $user['vorname'] . ' (' . $user['username'] . ')')?></td>
            <td><?= $user['factor'] == PHP_INT_MAX ? _('maximal') : htmlReady($user['factor'])?></td>
            <td><?= $user['applicant'] ? _("Ja") : _("Nein")?></td>
        </tr>
        <? endforeach ?>
    </tbody>
</table>