From 50f088c9cad63d27c4bccad04fda25e4ccd5075f Mon Sep 17 00:00:00 2001 From: Felix Hamann Date: Sun, 1 Jul 2018 15:34:17 +0200 Subject: [PATCH] update course.hamlet to use custom th and td-classes --- templates/course.hamlet | 49 +++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 22 deletions(-) diff --git a/templates/course.hamlet b/templates/course.hamlet index 869172518..858a48b74 100644 --- a/templates/course.hamlet +++ b/templates/course.hamlet @@ -3,37 +3,42 @@ $maybe school <- schoolMB - - - - - -
Fakultät/Institut - - #{schoolName school} + Fakultät/Institut + + + #{schoolName school} $maybe descr <- courseDescription course
Beschreibung - - #{descr} + Beschreibung + + + #{descr} $maybe link <- courseLinkExternal course
Website - - #{link} + Website + + + #{link}
Teilnehmer - - #{participants} - $maybe capacity <- courseCapacity course - \ von #{capacity} + Teilnehmer + + + #{participants} + $maybe capacity <- courseCapacity course + \ von #{capacity} $maybe regFrom <- courseRegisterFrom course
Anmeldezeitraum - - Ab #{formatTimeGerWD regFrom} - $maybe regTo <- courseRegisterTo course - \ bis #{formatTimeGerWD regTo} + Anmeldezeitraum + + + Ab #{formatTimeGerWD regFrom} + $maybe regTo <- courseRegisterTo course + \ bis #{formatTimeGerWD regTo} $if registrationOpen
- -
+
+ +
$# regWidget is defined through templates/widgets/registerForm ^{regWidget}