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/directives/field-display/display-spent-time/display-spent-time.directiv...

13 lines
495 B

<div class="spent-time-wrapper">
<span ng-if="fieldController.isEmpty()">{{ displayPaneController.placeholder }}</span>
<span ng-if="!fieldController.isEmpty()">
<span ng-if="customEditorController.isLinkViewable()">
<a href="{{ customEditorController.getPath() }}">
{{ displayPaneController.getReadValue() }}
</a>
</span>
<span ng-if="!customEditorController.isLinkViewable()">
{{ displayPaneController.getReadValue() }}
</span>
</span>
</div>