OpenProject is the leading open source project management software.
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.
 
 
 
 
 
 
openproject/frontend/app/templates/work_packages/modals/share.html

40 lines
1.5 KiB

<div class="ng-modal-window">
<div class="ng-modal-inner">
<div class="modal-header"><i class="icon-close" ng-click="modal.closeMe()" title="{{ ::I18n.t('js.close_popup_title') }}"></i></div>
<h3>{{ ::I18n.t('js.label_share') }}</h3>
<div class="form--field -wide-label">
<div class="form--field-container -vertical">
<label class="form--label-with-check-box">
<div class="form--check-box-container">
<input type="checkbox"
name="is_public"
ng-model="query.isPublic"
ng-disabled="cannot('query', 'publicize') && cannot('query', 'depublicize')"
class="form--check-box"
focus></input>
</div>
{{ ::I18n.t('js.label_visible_for_others') }}
</label>
<label class="form--label-with-check-box">
<div class="form--check-box-container">
<input type="checkbox"
name="show_in_menu"
ng-model="shareSettings.starred"
ng-disabled="query.isGlobal() || cannot('query', 'star')"
class="form--check-box"></input>
</div>
{{ ::I18n.t('js.label_show_in_menu') }}
</label>
</div>
</div>
<button class="button -highlight -with-icon icon-yes" ng-click="saveQuery()">
{{ ::I18n.t('js.modals.button_save') }}
</button>
<button class="button" ng-click="modal.closeMe()">
{{ ::I18n.t('js.modals.button_cancel') }}
</button>
</div>
</div>