34 lines
1.6 KiB
Plaintext
34 lines
1.6 KiB
Plaintext
$if isRegistered
|
|
<div .allocation-course__registered>
|
|
#{iconOK}
|
|
\ _{MsgRegistered}
|
|
$if is _Just muid
|
|
<div .allocation-course__priority-label .allocation__label>
|
|
_{MsgAllocationPriority}
|
|
<div .allocation-course__priority>
|
|
$maybe prioView <- mApplyFormView' >>= afvPriority
|
|
^{fvWidget prioView}
|
|
$nothing
|
|
_{MsgAllocationNoApplication}
|
|
<a .allocation-course__name href=@{CourseR courseTerm courseSchool courseShorthand CShowR} target="_blank">
|
|
#{courseName}
|
|
$if not courseVisible && mayEdit
|
|
\ #{iconInvisible}
|
|
$if hasApplicationTemplate || is _Just courseApplicationsInstructions
|
|
<div .allocation-course__instructions-label .allocation__label>
|
|
_{MsgCourseApplicationInstructionsApplication}
|
|
<div .allocation-course__instructions>
|
|
$maybe aInst <- courseApplicationsInstructions
|
|
<p>
|
|
#{aInst}
|
|
$if hasApplicationTemplate
|
|
<p>
|
|
<a href=@{CourseR courseTerm courseSchool courseShorthand CRegisterTemplateR}>
|
|
#{iconRegisterTemplate} _{MsgCourseApplicationTemplateApplication}
|
|
$maybe ApplicationFormView{ ..} <- mApplyFormView'
|
|
<div .allocation-course__application-label .allocation__label :not overrideVisible:uw-interactive-fieldset data-conditional-input=#{maybe "" fvId afvPriority} data-conditional-value="" data-conditional-negated>
|
|
_{MsgCourseApplication}
|
|
<div .allocation-course__application :not overrideVisible:uw-interactive-fieldset data-conditional-input=#{maybe "" fvId afvPriority} data-conditional-value="" data-conditional-negated>
|
|
^{renderFieldViews FormStandard afvForm}
|
|
^{snd afvButtons}
|