| 1 | <div crm-ui-debug="statuses"></div> |
| 2 | |
| 3 | <h1 crm-page-title crm-document-title="ts('CiviCRM System Status') + ' (' + countVisible(1) + ')'"> |
| 4 | {{ts('CiviCRM System Status')}} |
| 5 | </h1> |
| 6 | |
| 7 | <div id="crm-status-list" crm-ui-tab-set> |
| 8 | <div crm-ui-tab |
| 9 | ng-repeat="tab in [{is_visible: 1, icon: 'fa-bell'}, {is_visible: 0, icon: 'fa-bell-slash-o'}]" |
| 10 | id="tab-status-visible-{{tab.is_visible}}" |
| 11 | count="{{countVisible(tab.is_visible)}}" |
| 12 | crm-title="tab.is_visible ? ts('Active') : ts('Hidden')" |
| 13 | crm-icon="{{tab.icon}}" |
| 14 | > |
| 15 | <div class="crm-status-item" ng-repeat="status in statuses | filter:{is_visible: tab.is_visible}" > |
| 16 | <h3 class="crm-severity-{{status.severity}}"> |
| 17 | <i ng-if="status.icon" class="crm-i {{status.icon}}"></i> |
| 18 | {{status.title}} |
| 19 | <div statuspage-popup-menu class="hush-menu css_right"></div> |
| 20 | <div ng-if="!status.is_visible" class="hidden-until css_right"> |
| 21 | ({{status.hidden_until ? ts('Hidden until %1', {1: formatDate(status.hidden_until)}) : ts('Hidden permanently')}}) |
| 22 | </div> |
| 23 | </h3> |
| 24 | <div class="crm-block crm-status-message-body"> |
| 25 | <span ng-bind-html="status.message | trusted"></span> |
| 26 | <a |
| 27 | ng-if="status.help" |
| 28 | class="helpicon" |
| 29 | ng-click="alert(status.help, status.title, 'info');" |
| 30 | href="javascript:void(0)" |
| 31 | > |
| 32 | </a> |
| 33 | </div> |
| 34 | </div> |
| 35 | </div> |
| 36 | </div> |