69 lines
2.5 KiB
Plaintext
69 lines
2.5 KiB
Plaintext
<div .profile>
|
|
|
|
<dl .deflist.profile-dl>
|
|
<dt .deflist__dt> _{MsgName}
|
|
<dd .deflist__dd> #{display userDisplayName}
|
|
<dt .deflist__dt> _{MsgMatrikelNr}
|
|
<dd .deflist__dd> #{display userMatrikelnummer}
|
|
<dt .deflist__dt> _{MsgEMail}
|
|
<dd .deflist__dd> #{display userEmail}
|
|
<dt .deflist__dt> _{MsgIdent}
|
|
<dd .deflist__dd> #{display userIdent}
|
|
<dt .deflist__dt> _{MsgPlugin}
|
|
<dd .deflist__dd> #{display userPlugin}
|
|
$if not $ null admin_rights
|
|
<dt .deflist__dt> Administrator
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall institute <- admin_rights
|
|
<li .list-ul__item>#{display institute}
|
|
$if not $ null lecturer_rights
|
|
<dt .deflist__dt> Lehrberechtigt
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall institute <- lecturer_rights
|
|
<li .list-ul__item>#{display institute}
|
|
$if not $ null lecture_owner
|
|
<dt .deflist__dt> Eigene Kurse
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall (E.Value csh, E.Value tid) <- lecture_owner
|
|
<li .list-ul__item>
|
|
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
|
$if not $ null lecture_corrector
|
|
<dt .deflist__dt> Korrektor
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall (E.Value csh, E.Value tid) <- lecture_corrector
|
|
<li .list-ul__item>
|
|
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
|
$if not $ null studies
|
|
<dt .deflist__dt> Studiengänge
|
|
<dd .deflist__dd>
|
|
<div .scrolltable>
|
|
<table .table.table--striped.table--hover.table--condensed>
|
|
<tr .table__row>
|
|
<th .table__th> Abschluss
|
|
<th .table__th> Studiengang
|
|
<th .table__th> Studienart
|
|
<th .table__th> Semester
|
|
|
|
$forall (degree,field,fieldtype,semester) <- studies
|
|
<tr.table__row>
|
|
<td .table__td> #{display degree}
|
|
<td .table__td> #{display field}
|
|
<td .table__td> #{display fieldtype}
|
|
<td .table__td> #{display semester}
|
|
|
|
$if not $ null participant
|
|
<dt .deflist__dt> Teilnehmer
|
|
<dd .deflist__dd>
|
|
<dl .deflist>
|
|
$forall (E.Value csh, E.Value tid, regSince) <- participant
|
|
<dt .deflist__dt>
|
|
<a href=@{CourseR tid csh CShowR}>#{display tid} - #{csh}
|
|
<dd .deflist__dd>
|
|
seit #{display regSince}
|
|
|
|
^{settingsForm}
|