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/field.html

21 lines
859 B

<div class="work-package-field">
<div class="editable-branch" ng-if="fieldController.isEditable">
<inplace-editor-main-pane>
<inplace-editor-display-pane>
<div ng-bind="fieldController.readValue"></div>
</inplace-editor-display-pane>
<inplace-editor-edit-pane>
<input class="focus-input"
name="value"
type="text"
ng-disabled="fieldController.isBusy"
title="{{ fieldController.editTitle }}"
ng-model="fieldController.writeValue" />
</inplace-editor-edit-pane>
</inplace-editor-main-pane>
</div>
<div class="static-branch" ng-if="!fieldController.isEditable">
<empty-element ng-if="fieldController.isEmpty"></empty-element>
<div class="field-value" ng-if="!fieldController.isEmpty" ng-bind="vm.value"></div>
</div>
</div>