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
407 B

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