kanbanworkflowstimelinescrumrubyroadmapproject-planningproject-managementopenprojectangularissue-trackerifcgantt-chartganttbug-trackerboardsbcf
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.8 KiB
46 lines
1.8 KiB
9 years ago
|
<div class="notification-box{{' -' + content.type}}" tabindex="0" aria-atomic="true">
|
||
9 years ago
|
<div class="notification-box--content">
|
||
9 years ago
|
<p>
|
||
|
<span>{{::content.message}}</span>
|
||
9 years ago
|
<a ng-click="content.link.target()"
|
||
|
ng-if="!!content.link"
|
||
|
ng-bind="content.link.text">
|
||
|
</a>
|
||
9 years ago
|
</p>
|
||
9 years ago
|
<div data-ng-switch="content.type" data-ng-if="typeable()">
|
||
|
<div data-ng-switch-when="upload">
|
||
9 years ago
|
<div data-ng-show="canBeHidden()">
|
||
|
<a data-ng-click="show = true" data-ng-hide="show">
|
||
9 years ago
|
<i class="icon-arrow-right2"></i>
|
||
9 years ago
|
</a>
|
||
|
<a data-ng-click="show = false" data-ng-show="show">
|
||
9 years ago
|
<i class="icon-arrow-down1"></i>
|
||
9 years ago
|
</a>
|
||
|
<span>
|
||
9 years ago
|
{{::I18n.t('js.label_upload_counter', { done: uploadCount, count: content.uploads.length})}}
|
||
9 years ago
|
</span>
|
||
|
</div>
|
||
|
<div data-ng-show="show || !canBeHidden()">
|
||
|
<ul class="notification-box--uploads" data-ng-show="content.uploads.length > 0">
|
||
|
<upload-progress data-upload="upload" data-ng-repeat="upload in content.uploads"></upload-progress>
|
||
|
</ul>
|
||
|
</div>
|
||
9 years ago
|
</div>
|
||
|
<div data-ng-switch-when="success">
|
||
9 years ago
|
<!-- "create another" button -->
|
||
9 years ago
|
</div>
|
||
|
<div data-ng-switch-when="error">
|
||
9 years ago
|
<ul class="notification-box--errors" role="alert">
|
||
9 years ago
|
<li data-ng-repeat="error in content.errors track by $index">{{error}}</li>
|
||
9 years ago
|
</ul>
|
||
9 years ago
|
<!-- "continue editing" button -->
|
||
9 years ago
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
9 years ago
|
<accessible-by-keyboard ng-if="removable()"
|
||
|
execute="remove()"
|
||
|
link-title="{{ ::I18n.t('js.close_popup_title') }}"
|
||
|
link-class="notification-box--close icon-context icon-close">
|
||
|
</accessible-by-keyboard>
|
||
9 years ago
|
</div>
|