Use a lock icon (instead of download icon) when there's no permission to download

This commit is contained in:
2016-11-08 15:05:44 +01:00
parent 724fe6ceeb
commit d272896787
6 changed files with 10 additions and 2 deletions

View File

@@ -67,6 +67,7 @@
i.pi-download
| {% else %}
button.btn.btn-default.disabled.sorry(type="button")
i.pi-lock
i.pi-download
| {% endif %}
| {% endif %}

View File

@@ -73,6 +73,7 @@
i.pi-download
| {% else %}
button.btn.btn-default.disabled.sorry(type="button")
i.pi-lock
i.pi-download
| {% endif %}
| {% endif %}

View File

@@ -84,8 +84,8 @@
li.btn-group.node-details-meta-list-item.video.download.disabled(
title="Download Video")
button.btn.btn-default.sorry(type="button")
i.pi-lock
i.pi-download
i.pi-angle-down.icon-dropdown-menu
| {% endif %}
| {% endif %}

View File

@@ -79,8 +79,8 @@
li.btn-group.node-details-meta-list-item.video.download.disabled(
title="Download HDRi")
button.btn.btn-default.sorry(type="button")
i.pi-lock
i.pi-download
i.pi-angle-down.icon-dropdown-menu
| {% endif %}
| {% if node.description %}

View File

@@ -94,6 +94,7 @@
| Download
| {% else %}
button.btn.btn-default.disabled.sorry(type="button")
i.pi-lock
| Download
| {% endif %}
| {% endfor %}