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

38 lines
1.2 KiB

<div class="ng-modal-window">
<div class="ng-modal-inner">
<div class="modal-header"><i class="icon-close" ng-click="modal.closeMe()"></i></div>
<h3>{{ I18n.t('js.label_share') }}</h3>
<div>
<label class="checkbox-label">
<input type="checkbox"
name="is_public"
ng-model="query.isPublic"
ng-disabled="cannot('query', 'publicize') && cannot('query', 'depublicize')"
focus></input>
<div class="styled-checkbox"></div>
{{ I18n.t('js.label_visible_for_others') }}
</label>
</div>
<div>
<label class="checkbox-label">
<input type="checkbox"
name="show_in_menu"
ng-model="shareSettings.starred"
ng-disabled="query.isGlobal() || cannot('query', 'star')"></input>
<div class="styled-checkbox"></div>
{{ I18n.t('js.label_show_in_menu') }}
</label>
</div>
<div>
<button class="button -highlight" 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>
</div>