Commit | Line | Data |
---|---|---|
4d8e3559 NM |
1 | <div class="crm-container"> |
2 | <div crm-ui-debug="statuses"></div> | |
3 | <div crm-ui-debug="preferences"></div> | |
4 | ||
5 | <form name="myForm" crm-ui-id-scope> | |
6 | ||
7 | <div class="help"> | |
8 | <p>{{ts('Help messages will be displayed here')}}</p> | |
9 | </div> | |
10 | ||
11 | <div> | |
12 | <h1>Status Page</h1><br /> | |
13 | <button ng-if="(path === '/status/hushed')" ng-click="navigator.redirect('#/status')">Return home</button> | |
14 | <button ng-if="(path === '/status')" ng-click="navigator.redirect('#/status/hushed')">Show snoozed and hushed</button> | |
15 | </div> | |
16 | <div id="crm-status-list" ng-repeat="status in statuses.values track by status.name" > | |
17 | <h3 class="crm-severity-{{status.severity}}">{{status.title}} | |
18 | <span class="status-snooze-options" ng-show="status.snoozeOptions.show" style="display: inline-block"> | |
19 | <div crm-snooze-options style="display: inline"></div> | |
20 | </span> | |
21 | <a ng-if="(path === '/status')" ng-click="showSnoozeOptions(status)" ng-show="!status.snoozeOptions.show" class="crm-hover-button" crm-icon="fa-clock-o" title="{{ts('Snooze')}}"></a> | |
22 | <a ng-click="showSnoozeOptions(status)" ng-show="status.snoozeOptions.show" class="crm-hover-button" crm-icon="fa-times" style="display: inline" title="{{ts('Close')}}"></a> | |
23 | <a ng-if="(path === '/status')" ng-click="hush(status.name, status.severity)" class="crm-hover-button" crm-icon="fa-bell-slash-o" title="{{ts('Hush')}}"></a> | |
24 | <a ng-if="(path === '/status/hushed')" ng-click="unhush(status.name)" class="crm-hover-button" crm-icon="fa-bell-o" title="{{ts('Unhush And Unsnooze')}}"></a> | |
25 | </h3> | |
26 | <h4> | |
27 | <div class="crm-block"> | |
28 | <div class="crm-group"> | |
29 | <div class="crm-status-message-body" ng-bind-html="status.message | trusted"></div> | |
30 | </div> | |
31 | </div> | |
32 | </h4><br/> | |
33 | </div> | |
34 | ||
35 | </form> | |
36 | ||
37 | </div> |