fradrive/templates/allocation/show/course.hamlet
2019-08-13 17:51:12 +02:00

20 lines
775 B
Plaintext

<div .allocation-course id=#{toPathPiece cID}>
<div .allocation-course__priority>
$if mayApply
Prio $# TODO
$else
_{MsgAllocationNoApplication}
<a .allocation-course__name href=@{CourseR courseTerm courseSchool courseShorthand CShowR}>
#{courseName}
$maybe aInst <- courseApplicationsInstructions
<div .allocation-course__instructions>
<p>
#{aInst}
$if hasApplicationTemplate
<p>
<a href=@{CourseR courseTerm courseSchool courseShorthand CRegisterTemplateR}>
#{iconRegisterTemplate} _{MsgCourseApplicationTemplateApplication}
$if mayApply
<div .allocation-course__application uw-interactive-fieldset data-conditional-input="" data-conditional-value="" data-conditional-negated>