An error occurred while processing the template.
Expression summary is undefined on line 87, column 6 in 10132#10165#2144750.
1<style> 
2.dot { 
3        height: 12px; 
4        width: 12px; 
5        background-color: #bbb; 
6        border-radius: 50%; 
7        display: inline-block; 
8        margin-right: 5px; 
9        border: 1px solid; 
10
11 
12    .dot.blue { 
13        background-color: #8080ff; 
14
15 
16    .dot.green { 
17        background-color: lime; 
18
19 
20    .dot.yellow { 
21        background-color: yellow; 
22
23 
24    .dot.orange { 
25        background-color: orange; 
26
27 
28    .dot.red { 
29        background-color: red; 
30
31    .map-legend { 
32        text-align: center; 
33        font-size: 14px; 
34
35     
36.col-2-3 { 
37    padding-right: 25px; 
38
39.col-1-3 { 
40    background: #f7f7f7; 
41
42.content-box { 
43    padding: .5em 1em 1em 1em; 
44
45p.caption { 
46    line-height: 1.2; 
47    margin-top: 10px; 
48    font-size: 14px; 
49
50@media (max-width: 1000px) { 
51    .fancybox, .fancybox-media { 
52        width: 333px; 
53        margin: 0 auto; 
54        display: block; 
55
56
57table.table-primary { 
58    border-collapse:collapse; 
59
60table.table-primary thead { 
61    background: #4F81BD; 
62    color: #FFFFFF; 
63
64table.table-primary thead th {         
65    padding: 10px; 
66
67table.table-primary tr { 
68    border: 1px solid #4F81BD; 
69
70table.table-primary tbody tr td {         
71    padding: 5px; 
72
73.hidden-arrow { 
74    display: none; 
75
76.content-gallery { 
77    margin: 10px 0; 
78    display: none; 
79
80</style> 
81 
82<h1>${.vars['reserved-article-title'].data}</h1> 
83<time>${date.getData()}</time> 
84<hr> 
85<div class="col-2-3"> 
86 
87<#if summary.getData()?has_content> 
88 
89    ${summary.getData()} 
90     
91    <#if summary.showMap.getData()?has_content && getterUtil.getBoolean(summary.showMap.getData())==true> 
92        <p class="map-legend">Hard Coral Cover <span class="dot blue"></span> 0-10% <span class="dot green"></span>10-30% <span class="dot yellow"></span>30-50% <span class="dot orange"></span>50-75% <span class="dot red"></span>75-100%</p> 
93        <iframe id="map" frameborder="0" src="about:blank" style="border:none;width:100%;height:400px"></iframe> 
94     
95        <blockquote> 
96        <p><strong>Figure 1:</strong> Map showing location of reefs in the ${section.getData()} sector.</p> 
97        </blockquote> 
98     
99    </#if> 
100 
101</#if> 
102 
103<#if table1.getData()?has_content> 
104    <blockquote> 
105        <p><strong>Table 1:</strong> Overview of results obtained from manta tow surveys of reefs in the ${section.getData()} sector</p> 
106    </blockquote> 
107 
108${table1.getData()} 
109</#if> 
110 
111${content.getData()} 
112 
113<#if table2.getData()?has_content> 
114    <blockquote> 
115        <p><strong>Table 2:</strong> Summary of manta tow surveys of reefs in the Cairns sector. Arrows indicate the trend in live coral cover and <em>A. solaris </em>since last survey; &#9650; = increase, &#9660; = decrease, &quot; &quot; = no change.</p> 
116    </blockquote> 
117 
118    ${table2.getData()} 
119</#if> 
120 
121<#if .vars['content-gallery-image'].getSiblings()?has_content> 
122    <div id="fishgallery" class="content-gallery"> 
123	<#list .vars['content-gallery-image'].getSiblings() as cur_item> 
124    	<#if cur_item.gallery_caption.getData()?has_content> 
125    		<img alt="${cur_item.gallery_caption.getData()}" data-image="${cur_item.getData()}" src="${cur_item.getData()}&imageThumbnail=3" /> 
126   	<#else> 
127    	<img alt="" data-image="${cur_item.getData()}" src="${cur_item.getData()}&imageThumbnail=3" /> 
128	</#if> 
129	</#list> 
130	</div> 
131	<blockquote><p>${.vars['content-gallery-caption'].getData()}</p></blockquote> 
132</#if> 
133 
134</div> 
135 
136<div class="col-1-3"> 
137 
138<#if info.getData()?has_content> 
139    <div class="content-box"> 
140    ${info.getData()} 
141    </div> 
142</#if> 
143 
144<#if image.getData()?has_content || youtube.getData()?has_content> 
145    <div id="rightgallery" class="content-box"> 
146    <#if image.getData()?has_content> 
147        <#list image.getSiblings() as cur_image> 
148            <img alt="${cur_image.caption.getData()}" src="${cur_image.getData()}&imageThumbnail=3" data-image="${cur_image.getData()}"/> 
149        </#list> 
150    </#if> 
151 
152    <#if youtube.getData()?has_content> 
153        <#list youtube.getSiblings() as cur_youtube> 
154            <img alt="${cur_youtube.vcaption.getData()}" 
155    			 data-type="youtube" 
156    			 data-videoid="${cur_youtube.getData()}"> 
157        </#list> 
158    </#if> 
159    </div> 
160</#if> 
161</div> 
162 
163<script> 
164 
165jQuery(document).ready(function() { 
166    jQuery("#map").attr('src', mapURL()); 
167    jQuery("#fishgallery").unitegallery({ 
168        gallery_theme: "tiles", 
169        tiles_min_columns: 3, 
170        tile_enable_textpanel: true 
171    }); 
172    jQuery("#rightgallery").unitegallery({ 
173        gallery_theme: "tiles", 
174        tiles_min_columns: 1, 
175        tiles_max_columns: 1, 
176        tiles_exact_width: true, 
177        tiles_col_width: 333, 
178        tile_enable_textpanel: true, 
179        tile_textpanel_always_on: true, 
180        tile_textpanel_position: "bottom", 
181        tile_textpanel_bg_color:"#f7f7f7", 
182        tile_textpanel_bg_opacity: 1, 
183        tile_textpanel_title_color: "#333", 
184        tile_textpanel_title_text_align: "left", 
185        tile_textpanel_title_bold: false, 
186        tile_textpanel_title_font_family: "Roboto", 
187        tile_textpanel_padding_left: 0, 
188        tile_videoplay_icon_always_on: "always" 
189    }); 
190}); 
191 
192function mapURL() { 
193    let z = ""; 
194    let period = "${period.getData()}".replace("_", "%2F"); 
195    let coordinates = ""; 
196     
197    switch("${section.getData()}") { 
198        case "Cape Grenville": 
199            coordinates="143.61293,-11.90903"; 
200            z="9"; 
201            break; 
202        case "Princess Charlotte": 
203            coordinates="143.69738,-13.61330"; 
204            z="9"; 
205            break; 
206        case "Cooktown-Lizard": 
207            coordinates="145.76008,-15.02772"; 
208            z="10"; 
209            break; 
210        case "Cairns": 
211            coordinates="145.95783,-16.49471"; 
212            z="10"; 
213            break; 
214        case "Innisfail": 
215            coordinates="146.57100,-17.52753"; 
216            z="10"; 
217            break; 
218        case "Townsville": 
219            coordinates="147.30159,-18.60332"; 
220            z="10"; 
221            break; 
222        case "Cape Upstart": 
223            coordinates="147.13130,-19.75380"; 
224            z="9"; 
225            break; 
226        case "Whitsundays": 
227            coordinates="149.67560,-19.95684"; 
228            z="10"; 
229            break; 
230        case "Pompeys": 
231            coordinates="146.37737,-17.11850"; 
232            z="10"; 
233            break; 
234        case "Swains": 
235            coordinates="152.09026,-21.87171"; 
236            z="10"; 
237            break; 
238        case "CAPRICORN_BUNKER": 
239            coordinates="151.47022,-23.65775"; 
240            z="10"; 
241            break; 
242        default: { 
243            console.error("No recognised section, no URL for map"); 
244
245    }; 
246     
247    return   ("https://maps.aims.gov.au/embedded.html?z=" + z + "&ll=" + coordinates + "&l0=aims_aims%3Altms,ea_ea-be%3AWorld_Bright-Earth-e-Atlas-basemap,aims_aims%3Amantatow_by_year,ea_World_NE2-coast-cities-reefs_Baselayer&s0=,,mantatow-hard-coral&v0=,,,f&t0=,," + period); 
248
249 
250function sectionName() { 
251    switch("${section.getData()}") { 
252        case "CAPE_GRENVILLE": 
253            return "Cape Grenville"; 
254        case "PRINCESS_CHARLOTTE": 
255            return "Princess Charlotte"; 
256        case "COOKTOWN_LIZARD": 
257            return "Cooktown-Lizard"; 
258        case "CAIRNS": 
259            return "Cairns"; 
260        case "INNISFAIL": 
261            return "Innisfail"; 
262        case "TOWNSVILLE": 
263            return "Townsville"; 
264        case "CAPE_UPSTART": 
265            return "Cape Upstart"; 
266        case "WHITSUNDAYS": 
267            return "Whitsundays"; 
268        case "POMPEYS": 
269            return "Pompeys"; 
270        case "SWAINS": 
271            return "Swains"; 
272        case "CAPRICORN_BUNKER": 
273            return "Capricorn-Bunker"; 
274        default: { 
275            console.error("No recognised section, no section name"); 
276
277    }; 
278
279 
280</script>