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.
|
||||
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 HomeR
|
||||
= Just [whamlet|_{MsgHomeHeading}|]
|
||||
pageHeading TermShowR
|
||||
= Just [whamlet|_{MsgTermsHeading}|]
|
||||
pageHeading _
|
||||
= Nothing
|
||||
|
||||
|
||||
@ -13,11 +13,9 @@
|
||||
$with status2 <- bool status "info" (status == "")
|
||||
<div class="alert alert-#{status2}">#{msg}
|
||||
|
||||
<!-- workaround for pageactionprime not visible inside of ^{widget}. see terms.hamlet-->
|
||||
$maybe headline <- contentHeadline
|
||||
<h1>
|
||||
^{headline}
|
||||
<!-- maybe #{pageTitle pc} ? -->
|
||||
|
||||
<!-- prime page actions -->
|
||||
^{pageactionprime}
|
||||
|
||||
@ -1,6 +1,2 @@
|
||||
<div .container>
|
||||
<h1>Semesterübersicht
|
||||
|
||||
<!-- pass widget ^{pageactionprime} down to this widget from default-layout? -->
|
||||
|
||||
^{table}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user