63 lines
2.3 KiB
Plaintext
63 lines
2.3 KiB
Plaintext
<div .profile>
|
|
|
|
<dl .deflist.profile-dl>
|
|
<dt .deflist__dt> _{MsgName}
|
|
<dd .deflist__dd> ^{nameWidget userDisplayName userSurname}
|
|
$maybe matnr <- userMatrikelnummer
|
|
<dt .deflist__dt> _{MsgMatrikelNr}
|
|
<dd .deflist__dd> #{matnr}
|
|
<dt .deflist__dt> _{MsgEMail}
|
|
<dd .deflist__dd> #{display userEmail}
|
|
<dt .deflist__dt> _{MsgIdent}
|
|
<dd .deflist__dd> #{display userIdent}
|
|
$if not $ null admin_rights
|
|
<dt .deflist__dt> Administrator
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall (E.Value institute) <- admin_rights
|
|
<li .list-ul__item>
|
|
<a href=@{SchoolShowR $ SchoolKey institute}>
|
|
#{display institute}
|
|
$if not $ null lecturer_rights
|
|
<dt .deflist__dt> Lehrberechtigt
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall (E.Value institute) <- lecturer_rights
|
|
<li .list-ul__item>
|
|
<a href=@{SchoolShowR $ SchoolKey institute}>
|
|
#{display institute}
|
|
$if not $ null lecture_corrector
|
|
<dt .deflist__dt> Korrektor
|
|
<dd .deflist__dd>
|
|
<ul .list-ul>
|
|
$forall (E.Value tid, E.Value ssh, E.Value csh) <- lecture_corrector
|
|
<li .list-ul__item>
|
|
<a href=@{CourseR tid ssh csh CShowR}>#{display tid}-#{display ssh}-#{display 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, degreeKey),(field, fieldKey),fieldtype,semester) <- studies
|
|
<tr.table__row>
|
|
<td .table__td>
|
|
$maybe name <- E.unValue degree
|
|
#{display name}
|
|
$nothing
|
|
#{display degreeKey}
|
|
<td .table__td>
|
|
$maybe name <- E.unValue field
|
|
#{display name}
|
|
$nothing
|
|
#{display fieldKey}
|
|
<td .table__td>_{E.unValue fieldtype}
|
|
<td .table__td>#{display semester}
|
|
|
|
^{settingsForm}
|