Video: Fix Download button
This commit is contained in:
parent
5e0e71aa1c
commit
54b5e8e3d4
@ -36,7 +36,7 @@
|
|||||||
span Public
|
span Public
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if node.file and node.file.link %}
|
| {% if node.file and current_user.has_cap('subscriber') %}
|
||||||
li.download
|
li.download
|
||||||
| {% if node.properties.content_type == 'video' %}
|
| {% if node.properties.content_type == 'video' %}
|
||||||
| {% if node.file_variations %}
|
| {% if node.file_variations %}
|
||||||
@ -73,6 +73,13 @@
|
|||||||
| Download
|
| Download
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
|
| {% elif current_user.is_authenticated %}
|
||||||
|
li.download
|
||||||
|
a.btn(
|
||||||
|
title="Join Blender Cloud",
|
||||||
|
href="{{ url_for('cloud.join') }}")
|
||||||
|
i.pi-lock
|
||||||
|
| Download
|
||||||
| {% else %}
|
| {% else %}
|
||||||
li.download
|
li.download
|
||||||
a.btn(
|
a.btn(
|
||||||
@ -80,7 +87,6 @@
|
|||||||
href="{{ url_for('users.login') }}")
|
href="{{ url_for('users.login') }}")
|
||||||
i.pi-lock
|
i.pi-lock
|
||||||
| Download
|
| Download
|
||||||
|
|
||||||
| {% endif %}
|
| {% endif %}
|
||||||
|
|
||||||
| {% if node.properties.license_type %}
|
| {% if node.properties.license_type %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user