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/components/inplace-edit/display-pane/display-pane.directive.html

26 lines
1005 B

<div class="inplace-edit--read" ng-hide="fieldController.isEditing">
<accessible-by-keyboard
ng-if="field.isEditable()"
class="inplace-editing--trigger-container"
span-class="inplace-editing--container"
link-class="inplace-editing--trigger-link"
link-title="{{ fieldController.editTitle }}"
aria-label="{{ displayPaneController.getAriaLabel() }}"
execute="displayPaneController.startEditing()">
<span
class="inplace-edit--read-value"
ng-class="{'-default': field.isEmpty()}"
ng-include="templateUrl">
</span>
<span class="inplace-edit--icon-wrapper">
<icon-wrapper icon-name="edit" icon-title="{{ fieldController.editTitle }}">
</icon-wrapper>
</span>
</accessible-by-keyboard>
<span ng-if="!field.isEditable()">
<span
class="inplace-edit--read-value"
ng-include="templateUrl">
</span>
</span>
</div>