mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-26 13:39:16 +01:00
Merge pull request #9229 from Ccomp5950/nano_files
Fix issue with alert monitor template not sending:
This commit is contained in:
@@ -1,37 +0,0 @@
|
||||
<!--
|
||||
Title: Alarm Monitor Console (Main content)
|
||||
Used In File(s): \code\modules\nano\modules\alarm_monitor.dm
|
||||
-->
|
||||
|
||||
{{for data.categories}}
|
||||
<H2><span class="itemLabelWidest">{{:value.category}}</span></H2>
|
||||
{{for value.alarms :alarmValue:alarmIndex}}
|
||||
{{if alarmValue.origin_lost}}
|
||||
{{:alarmValue.name}} <span class='notice'>Alarm Origin Lost</span><br>
|
||||
{{else}}
|
||||
{{:alarmValue.name}}<br>
|
||||
{{/if}}
|
||||
{{if alarmValue.has_cameras || alarmValue.lost_sources != ""}}
|
||||
<div class="item">
|
||||
{{if alarmValue.has_cameras}}
|
||||
<div class="itemContent" style="width: 100%;">
|
||||
{{for alarmValue.cameras :cameraValue:cameraIndex}}
|
||||
{{if cameraValue.deact}}
|
||||
{{:helper.link(cameraValue.name + " (deactivated)", '', {}, 'inactive')}}
|
||||
{{else}}
|
||||
{{:helper.link(cameraValue.name, '', {'switchTo' : cameraValue.camera})}}
|
||||
{{/if}}
|
||||
{{/for}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{if alarmValue.lost_sources != ""}}
|
||||
<div class="itemContent" style="width: 100%;">
|
||||
<H4><span class='notice'>Lost Alarm Sources: {{:alarmValue.lost_sources}}</span></H4>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{empty}}
|
||||
<span class="white">--All Systems Nominal</span>
|
||||
{{/for}}
|
||||
{{/for}}
|
||||
Reference in New Issue
Block a user