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.
38 lines
1.6 KiB
38 lines
1.6 KiB
10 years ago
|
<div id="detail-panel-watchers">
|
||
10 years ago
|
<ul class="watchers-list" ng-if="watchers.length">
|
||
10 years ago
|
<li ng-repeat="watcher in watchers">
|
||
10 years ago
|
<user-field focus="$index == focusElementIndex" user="watcher"></user-field>
|
||
10 years ago
|
<accessible-by-keyboard execute="deleteWatcher(watcher)" ng-if="watcher.links.removeWatcher"
|
||
|
link-class="detail-panel-watchers-delete-watcher-link">
|
||
10 years ago
|
<icon-wrapper icon-name="close"
|
||
|
icon-title="{{I18n.t('js.button_delete_watcher')}}"
|
||
10 years ago
|
class="detail-panel-watchers-delete-watcher-icon"></icon-wrapper>
|
||
|
</accessible-by-keyboard>
|
||
11 years ago
|
</li>
|
||
|
</ul>
|
||
10 years ago
|
|
||
10 years ago
|
<div id="detail-panel-watchers-add-watcher" ng-if="workPackage.link('addWatcher') && availableWatchers.length">
|
||
10 years ago
|
<h3 ng-bind="I18n.t('js.button_add_watcher')"/>
|
||
|
<fieldset>
|
||
|
<legend ng-bind="I18n.t('js.button_add_watcher')" class="hidden-for-sighted"/>
|
||
10 years ago
|
<div id="watchers_selected_list">{{watcherListString()}}</div>
|
||
10 years ago
|
<ui-select
|
||
10 years ago
|
multiple
|
||
10 years ago
|
title="{{ I18n.t('js.button_add_watcher') }}"
|
||
10 years ago
|
aria-describedby="watchers_selected_list"
|
||
10 years ago
|
ng-model="watcher.selected"
|
||
|
theme="select2">
|
||
10 years ago
|
<ui-select-match
|
||
|
placeholder="{{ I18n.t('js.label_select_watcher') }}">
|
||
10 years ago
|
{{ $item.props.name }}
|
||
10 years ago
|
</ui-select-match>
|
||
10 years ago
|
<ui-select-choices
|
||
|
repeat="item in availableWatchers | filter: $select.search">
|
||
|
<div ng-bind-html="item.props.name | highlight: $select.search"></div>
|
||
|
</ui-select-choices>
|
||
|
</ui-select>
|
||
10 years ago
|
</fieldset>
|
||
|
</div>
|
||
|
|
||
10 years ago
|
</div>
|