Commit d092f66a authored by colemanw's avatar colemanw

StatusPage tpl cleanup

parent 4cb29687
<div class="crm-container">
<div crm-ui-debug="statuses"></div>
<div crm-ui-debug="statuses"></div>
<form name="crm-system-status" crm-ui-id-scope>
<h1 crm-page-title
crm-document-title="ts('CiviCRM System Status') + ' (' + countVisible(1) + ')'"
>
{{ts('CiviCRM System Status')}}
</h1>
<div id="crm-status-list" crm-ui-tab-set>
<div crm-ui-tab
ng-repeat="tab in [{is_visible: 1, icon: 'fa-bell'}, {is_visible: 0, icon: 'fa-bell-slash-o'}]"
id="tab-status-visible-{{tab.is_visible}}"
count="{{countVisible(tab.is_visible)}}"
crm-title="tab.is_visible ? ts('Active') : ts('Hidden')"
crm-icon="{{tab.icon}}"
>
<div class="crm-status-item" ng-repeat="status in statuses | filter:{is_visible: tab.is_visible}" >
<h3 class="crm-severity-{{status.severity}}">
<i ng-if="status.icon" class="crm-i {{status.icon}}"></i>
{{status.title}}
<div statuspage-popup-menu class="hush-menu css_right"></div>
</h3>
<div class="crm-block crm-status-message-body">
<span ng-bind-html="status.message | trusted"></span>
<a
ng-if="status.help"
class="helpicon"
ng-click="alert(status.help, status.title, 'info');"
href="javascript:void(0)"
>
</a>
</div>
</div>
<h1 crm-page-title crm-document-title="ts('CiviCRM System Status') + ' (' + countVisible(1) + ')'">
{{ts('CiviCRM System Status')}}
</h1>
<div id="crm-status-list" crm-ui-tab-set>
<div crm-ui-tab
ng-repeat="tab in [{is_visible: 1, icon: 'fa-bell'}, {is_visible: 0, icon: 'fa-bell-slash-o'}]"
id="tab-status-visible-{{tab.is_visible}}"
count="{{countVisible(tab.is_visible)}}"
crm-title="tab.is_visible ? ts('Active') : ts('Hidden')"
crm-icon="{{tab.icon}}"
>
<div class="crm-status-item" ng-repeat="status in statuses | filter:{is_visible: tab.is_visible}" >
<h3 class="crm-severity-{{status.severity}}">
<i ng-if="status.icon" class="crm-i {{status.icon}}"></i>
{{status.title}}
<div statuspage-popup-menu class="hush-menu css_right"></div>
</h3>
<div class="crm-block crm-status-message-body">
<span ng-bind-html="status.message | trusted"></span>
<a
ng-if="status.help"
class="helpicon"
ng-click="alert(status.help, status.title, 'info');"
href="javascript:void(0)"
>
</a>
</div>
</div>
</form>
</div>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment