From 2bd9292b463966f0c981f1bdba38d453ec82474b Mon Sep 17 00:00:00 2001 From: ccomp5950 Date: Tue, 12 May 2015 13:42:18 -0400 Subject: [PATCH] Fix issue with alert monitor template not sending: Short version: We had two files that were exact matches, because of the way byond optimizes resoureces it only sends one file when the MD5 matches. We're not using atmosphere_monitor.tmpl anywhere in the code and it's just a copy of alarm_monitor.tmpl byond was sending atmosphere_monitor.tmpl instead of alarm_monitor.tmpl No copy / paste nanotemplates allowed, there must be SOMETHING different about them even if it's just comments. --- nano/templates/atmosphere_monitor.tmpl | 37 -------------------------- 1 file changed, 37 deletions(-) delete mode 100644 nano/templates/atmosphere_monitor.tmpl diff --git a/nano/templates/atmosphere_monitor.tmpl b/nano/templates/atmosphere_monitor.tmpl deleted file mode 100644 index 0089467e434..00000000000 --- a/nano/templates/atmosphere_monitor.tmpl +++ /dev/null @@ -1,37 +0,0 @@ - - -{{for data.categories}} -

{{:value.category}}

- {{for value.alarms :alarmValue:alarmIndex}} - {{if alarmValue.origin_lost}} - {{:alarmValue.name}} Alarm Origin Lost
- {{else}} - {{:alarmValue.name}}
- {{/if}} - {{if alarmValue.has_cameras || alarmValue.lost_sources != ""}} -
- {{if alarmValue.has_cameras}} -
- {{for alarmValue.cameras :cameraValue:cameraIndex}} - {{if cameraValue.deact}} - {{:helper.link(cameraValue.name + " (deactivated)", '', {}, 'inactive')}} - {{else}} - {{:helper.link(cameraValue.name, '', {'switchTo' : cameraValue.camera})}} - {{/if}} - {{/for}} -
- {{/if}} - {{if alarmValue.lost_sources != ""}} -
-

Lost Alarm Sources: {{:alarmValue.lost_sources}}

-
- {{/if}} -
- {{/if}} - {{empty}} - --All Systems Nominal - {{/for}} -{{/for}} \ No newline at end of file