got rid of comments and added header for termsList

This commit is contained in:
Felix Hamann 2018-06-07 11:48:14 +02:00
parent 18c3840276
commit 8c4b2d62d3
4 changed files with 4 additions and 7 deletions

View File

@ -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

View File

@ -690,6 +690,8 @@ pageActions _ = []
pageHeading :: Route UniWorX -> Maybe Widget
pageHeading HomeR
= Just [whamlet|_{MsgHomeHeading}|]
pageHeading TermShowR
= Just [whamlet|_{MsgTermsHeading}|]
pageHeading _
= Nothing

View File

@ -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}

View File

@ -1,6 +1,2 @@
<div .container>
<h1>Semesterübersicht
<!-- pass widget ^{pageactionprime} down to this widget from default-layout? -->
^{table}