Print
Web Content Display (Global)
Modified Subjects key dates
Web Content Display (Global)
An error occurred while processing the template.
The following has evaluated to null or missing: ==> info_message [in template "10312#652891#4039651" at line 55, column 90] ---- Tip: If the failing expression is known to be legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${info_message} [in template "10312#652891#4039651" at line 55, column 88] ----
1<#assign calendarDataArray = .vars['Calendar'].data?eval>
2<#assign displayTypeDataArray = .vars['Display_type'].data?eval>
3<#assign typeOfInfoMessage = .vars['Type_of_info_message'].data?eval>
4
5<script id="tockify-embed-script" data-cfasync="false" data-tockify-script="embed" src="https://public.tockify.com/browser/embed.js"></script>
6
7<div class="general-html common sace-spacing">
8
9<#if Title?? && Title.getData()?trim != "" && Title.heading_type??>
10 <#assign headingType = Title.heading_type.data?eval>
11 <div class="module-header">
12 <${headingType[0]} class="module-header__title">${Title.getData()}</${headingType[0]}>
13 <svg class="module-header__icon icon icon-calendar" viewBox="0 0 32 32"><use xlink:href="https://s3.amazonaws.com/icomoon.io/135429/SACEBoardofSASimple2018-indev/symbol-defs.svg?#icon-calendar"></use></svg>
14 </div>
15</#if>
16
17<#if summary?? && summary.getData()?trim != "">
18 ${summary.getData()}
19</#if>
20
21<#if typeOfInfoMessage[0] == "st1-key-dates">
22 <#assign info_message = 'This is a list of key operational dates for all Stage 1 subjects. For all key dates, see the full <a style="font-weight: bold;" href="/calendars/sace">South Australian calendar</a>. Dates displayed may differ from your internal school dates; please check with your coordinator.<br><br>Not in SA? Try the <a style="font-weight: bold;" href="/calendars/ntcet">Northern Territory calendar</a> or the <a style="font-weight: bold;" href="/web/saceinternational/calendars">SACE International calendars</a>.<br><br> Need help? Try <a style="font-weight: bold;" href="/calendars/help">calendar help</a>.'>
23
24<#elseif typeOfInfoMessage[0] == "subject-key-dates">
25 <#assign info_message = 'This is a simplified list of Stage 2 key operational dates for this subject. For all key dates, see the full <a style="font-weight: bold;" href="/calendars/sace">South Australian calendar</a>. Dates displayed may differ from your internal school dates; please check with your coordinator.<br><br>Not in SA? Try the <a style="font-weight: bold;" href="/calendars/ntcet">Northern Territory calendar</a> or the <a style="font-weight: bold;" href="/web/saceinternational/calendars">SACE International calendars</a>.<br><br> Need help? Try <a style="font-weight: bold;" href="/calendars/help">calendar help</a>.'>
26
27<#elseif typeOfInfoMessage[0] == "exam-timetable">
28 <#assign info_message = 'Download the <a target="_blank" href="/documents/652891/ddb4a5dc-0c02-4287-adbd-70944a6cb66c" style="font-weight: bold;">Examinations timetable for 2020 [PDF 475KB]</a>. Also see <a style="font-weight: bold;" href="/studying/assessment/exams/oral">Oral examinations</a>.<br><br>Not in SA? Try the <a style="font-weight: bold;" href="/calendars/ntcet">Northern Territory calendar</a> or the <a style="font-weight: bold;" href="/web/saceinternational/calendars">SACE International calendars</a>.'>
29
30<#elseif typeOfInfoMessage[0] == "main-calendar-page">
31 <#assign info_message = 'Dates displayed may differ from your internal school dates. Please check with your coordinator or school representative.<br><br>If you need to print the entire calendar, access the <a style="font-weight: bold;" target="_blank" href="https://tockify.com/${calendarDataArray[0]}/agendalong?longForm=true">full description calendar</a>. <br><br> Need help? Try <a style="font-weight: bold;" href="/calendars/help">calendar help</a>.'>
32
33</#if>
34
35<#if typeOfInfoMessage[0] != "none">
36 <!-- added condition to exclude NH calendar from the rollover message -->
37 <#if calendarDataArray[0] != "sace.international.northern">
38 <div class="custom-info-message-without-icon info-box inherit-light-bg-color">We're working on the calendar for 2021. It will be available again early in the year. We apologise for any inconvenience.</div>
39 <#else>
40 <div class="custom-info-message-without-icon info-box inherit-light-bg-color">${info_message}</div>
41 </#if>
42
43<#else>
44
45</#if>
46
47 <div data-tockify-component="calendar" data-tockify-calendar="${calendarDataArray[0]}" data-tockify-view="${displayTypeDataArray[0]}" data-tockify-search="${.vars['Search_term'].getData()}" data-tockify-tags="${.vars['Tags'].getData()}" data-tockify-path="${.vars['Event_URL'].getData()}"></div>
48
49
50 <!-- temporary outage message for rollover
51 <div class="custom-info-message-without-icon info-box inherit-light-bg-color">We're working on the calendar for 2021. It will be available again early in the year. We apologise for any inconvenience.</div>
52 -->
53
54 <!-- normal message
55 <div class="custom-info-message-without-icon info-box inherit-light-bg-color">${info_message}</div>
56 -->
57
58</div>
59
60<#if !summary?? || (summary?? && summary.getData()?trim == "")>
61<style type="text/css">
62
63.sace-spacing {
64 margin-bottom: 2rem !important;
65}
66
67</style>
68</#if>