refine course.hamlet
This commit is contained in:
parent
f1806ffed2
commit
244fd2b3d1
@ -22,18 +22,17 @@
|
|||||||
#{participants}
|
#{participants}
|
||||||
$maybe capacity <- courseCapacity course
|
$maybe capacity <- courseCapacity course
|
||||||
\ von #{capacity}
|
\ von #{capacity}
|
||||||
<tr .table__row>
|
$maybe regFrom <- courseRegisterFrom course
|
||||||
<th #registration>Anmeldezeitraum
|
<tr .table__row>
|
||||||
<td>
|
<th #registration>Anmeldezeitraum
|
||||||
$maybe regFrom <- courseRegisterFrom course
|
<td>
|
||||||
#{formatTimeGerWD regFrom}
|
Ab #{formatTimeGerWD regFrom}
|
||||||
$maybe regTo <- courseRegisterTo course
|
$maybe regTo <- courseRegisterTo course
|
||||||
\ bis #{formatTimeGerWD regTo}
|
\ bis #{formatTimeGerWD regTo}
|
||||||
|
$if registrationOpen
|
||||||
<tr .table__row>
|
<tr .table__row>
|
||||||
<th>
|
<th>
|
||||||
<td>
|
<td>
|
||||||
$if registrationOpen
|
|
||||||
<div .course__registration.container>
|
<div .course__registration.container>
|
||||||
<form method=post action=@{CourseR tid csh CRegisterR} enctype=#{regEnctype}>
|
<form method=post action=@{CourseR tid csh CRegisterR} enctype=#{regEnctype}>
|
||||||
$# regWidget is defined through templates/widgets/registerForm
|
$# regWidget is defined through templates/widgets/registerForm
|
||||||
|
|||||||
Reference in New Issue
Block a user