Fix links to quick uploaded files from audit log

This commit is contained in:
jendib 2015-11-21 17:50:10 +01:00
parent c7ce42fb3f
commit 1c7381376c

View File

@ -15,7 +15,8 @@
<a ng-href="#/document/view/{{ log.target }}">{{ log.message }}</a> <a ng-href="#/document/view/{{ log.target }}">{{ log.message }}</a>
</span> </span>
<span ng-switch-when="File"> <span ng-switch-when="File">
<a ng-href="#/document/view/{{ log.message }}/content/file/{{ log.target }}">Open</a> <a ng-if="log.message" ng-href="#/document/view/{{ log.message }}/content/file/{{ log.target }}">Open</a>
<a ng-if="!log.message" ng-href="#/document/file/{{ log.target }}">Open</a>
</span> </span>
<span ng-switch-when="Comment"> <span ng-switch-when="Comment">
<a ng-href="#/document/view/{{ log.message }}">See</a> <a ng-href="#/document/view/{{ log.message }}">See</a>