hide download button for dms without a file attached #1590
gitea/salix/master This commit looks good
Details
gitea/salix/master This commit looks good
Details
This commit is contained in:
parent
5ce7ca2497
commit
8ecc88b516
|
@ -58,7 +58,8 @@
|
||||||
<vn-td center shrink>
|
<vn-td center shrink>
|
||||||
<a target="_blank"
|
<a target="_blank"
|
||||||
vn-tooltip="Download file"
|
vn-tooltip="Download file"
|
||||||
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}">
|
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}"
|
||||||
|
ng-show="document.hasFile">
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
icon="cloud_download"
|
icon="cloud_download"
|
||||||
title="{{'Download PDF' | translate}}">
|
title="{{'Download PDF' | translate}}">
|
||||||
|
|
|
@ -58,7 +58,8 @@
|
||||||
<vn-td center shrink>
|
<vn-td center shrink>
|
||||||
<a target="_blank"
|
<a target="_blank"
|
||||||
vn-tooltip="Download file"
|
vn-tooltip="Download file"
|
||||||
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}">
|
href="api/dms/{{::document.dmsFk}}/downloadFile?access_token={{::$ctrl.accessToken}}"
|
||||||
|
ng-show="document.hasFile">
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
icon="cloud_download"
|
icon="cloud_download"
|
||||||
title="{{'Download PDF' | translate}}">
|
title="{{'Download PDF' | translate}}">
|
||||||
|
|
Loading…
Reference in New Issue