admin_user.hbs 1.04 KB
Newer Older
1
<h1>Benutzer {{firstname}} {{lastname}} ({{userid}})</h1>
2

3
4
5
Id: {{userid}}<br>
Vorname: {{firstname}}<br>
Nachname: {{lastname}}<br>
6
7
{{#if username}}Benutzername: {{username}}<br>{{/if}}
{{#if logincode}}Logincode: {{logincode}}<br>{{/if}}
8
{{#if oauthid}}OAuth-Login: {{oauthprovider}} ({{oauthprovider}}-id: {{oauthid}})<br>{{/if}}
9
10
11
12
13
14
{{#if teacher}}Ist Lehrer <br>{{/if}}
{{#if logged_id}}Ist eingeloggt <br>{{/if}}

<h2>Gruppen</h2>
{{#if group}}
   <h3>Admin von</h3>
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      <table>
         <tr>
            <th>Id</th>
            <th>Name</th>
            <th>Gruppencode</th>
            <th>Marker</th>
         </tr>

         {{#each group}}
            <tr>
               <td><a href="/admin/group/{{id}}">{{id}}:</a></td>
               <td><a href="/admin/group/{{id}}">{{name}}</a></td>
               <td>{{code}}</td>
               <td>{{tag}}</td>
            </tr>
         {{/each}}
      </table>
32
33
34
35
36
{{/if}}

{{#if group_id }}
   <h3>Mitglied von</h3>
<ul>
37
   <li><a href="/admin/group/{{group_id}}">{{group_id}}: {{group_name}}</a></li>
38
39
40
</ul>
{{/if}}