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-version/display-version.directive.html

12 lines
399 B

<div class="version-wrapper">
<span ng-if="!field.text">-</span>
<span ng-if="field.text && customEditorController.isVersionLinkViewable()">
<a ng-href="{{ customEditorController.versionLink }}">
{{field.text.props.name}}
</a>
</span>
<span ng-if="field.text && !customEditorController.isVersionLinkViewable()">
{{field.text.props.name}}
</span>
</div>