mirror of
https://github.com/nasa/openmct.git
synced 2025-01-08 14:02:40 +00:00
2f8a0c2c2b
* [Notifications] Added timestamp and object name to copy notifications \n -Fixes issue #331 -Added timestamps to all notifications -Added object name to copy success notification -Updated placement and style of notification timestamp as discussed with Charles.
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<div class="l-message"
|
|
ng-class="'message-severity-' + ngModel.severity">
|
|
<div class="w-message-contents">
|
|
<div class="top-bar">
|
|
<div class="title">{{ngModel.title}}</div>
|
|
</div>
|
|
<div class="hint" ng-hide="ngModel.hint === undefined">{{ngModel.hint + " [" + ngModel.timestamp + "]"}}</div>
|
|
<div class="message-body">
|
|
<div class="message-action">
|
|
{{ngModel.actionText}}
|
|
</div>
|
|
<mct-include key="'progress-bar'"
|
|
ng-model="ngModel"
|
|
ng-show="ngModel.progress !== undefined || ngModel.unknownProgress"></mct-include>
|
|
</div>
|
|
<div class="bottom-bar">
|
|
<a ng-repeat="dialogOption in ngModel.options"
|
|
class="s-button"
|
|
ng-click="dialogOption.callback()">
|
|
{{dialogOption.label}}
|
|
</a>
|
|
<a class="s-button major"
|
|
ng-if="ngModel.primaryOption"
|
|
ng-click="ngModel.primaryOption.callback()">
|
|
{{ngModel.primaryOption.label}}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|