fix link to version

pull/3318/head
Jan Sandbrink 9 years ago
parent 889056ec4b
commit 7864f33f25
  1. 2
      frontend/app/templates/work_packages/inplace_editor/custom/display/version.html

@ -1,7 +1,7 @@
<div class="version-wrapper">
<span ng-if="!displayPaneController.getReadValue()">-</span>
<span ng-if="displayPaneController.getReadValue() && customEditorController.isVersionLinkViewable()">
<a href="{{customEditorController.pathHelper.versionPath(displayPaneController.getReadValue().props.id)}}">
<a href="{{customEditorController.pathHelper.staticVersionPath(displayPaneController.getReadValue().props.id)}}">
{{displayPaneController.getReadValue().props.name}}
</a>
</span>

Loading…
Cancel
Save