got rid of comments and added header for termsList
This commit is contained in:
parent
18c3840276
commit
8c4b2d62d3
@ -49,4 +49,5 @@ SubmissionAlreadyExistsFor user@Text: #{user} hat bereits eine Abgabe zu diesem
|
|||||||
EMailUnknown email@Text: E-Mail #{email} gehört zu keinem bekannten Benutzer.
|
EMailUnknown email@Text: E-Mail #{email} gehört zu keinem bekannten Benutzer.
|
||||||
NotAParticipant user@Text tid@TermIdentifier csh@Text: #{user} ist nicht im Kurs #{termToText tid}-#{csh} angemeldet.
|
NotAParticipant user@Text tid@TermIdentifier csh@Text: #{user} ist nicht im Kurs #{termToText tid}-#{csh} angemeldet.
|
||||||
|
|
||||||
HomeHeading: Startseite
|
HomeHeading: Startseite
|
||||||
|
TermsHeading: Semesterübersicht
|
||||||
|
|||||||
@ -690,6 +690,8 @@ pageActions _ = []
|
|||||||
pageHeading :: Route UniWorX -> Maybe Widget
|
pageHeading :: Route UniWorX -> Maybe Widget
|
||||||
pageHeading HomeR
|
pageHeading HomeR
|
||||||
= Just [whamlet|_{MsgHomeHeading}|]
|
= Just [whamlet|_{MsgHomeHeading}|]
|
||||||
|
pageHeading TermShowR
|
||||||
|
= Just [whamlet|_{MsgTermsHeading}|]
|
||||||
pageHeading _
|
pageHeading _
|
||||||
= Nothing
|
= Nothing
|
||||||
|
|
||||||
|
|||||||
@ -13,11 +13,9 @@
|
|||||||
$with status2 <- bool status "info" (status == "")
|
$with status2 <- bool status "info" (status == "")
|
||||||
<div class="alert alert-#{status2}">#{msg}
|
<div class="alert alert-#{status2}">#{msg}
|
||||||
|
|
||||||
<!-- workaround for pageactionprime not visible inside of ^{widget}. see terms.hamlet-->
|
|
||||||
$maybe headline <- contentHeadline
|
$maybe headline <- contentHeadline
|
||||||
<h1>
|
<h1>
|
||||||
^{headline}
|
^{headline}
|
||||||
<!-- maybe #{pageTitle pc} ? -->
|
|
||||||
|
|
||||||
<!-- prime page actions -->
|
<!-- prime page actions -->
|
||||||
^{pageactionprime}
|
^{pageactionprime}
|
||||||
|
|||||||
@ -1,6 +1,2 @@
|
|||||||
<div .container>
|
<div .container>
|
||||||
<h1>Semesterübersicht
|
|
||||||
|
|
||||||
<!-- pass widget ^{pageactionprime} down to this widget from default-layout? -->
|
|
||||||
|
|
||||||
^{table}
|
^{table}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user