Generic template for node preview when not subscribed
This commit is contained in:
17
src/templates/nodes/custom/_node_preview_forbidden.pug
Normal file
17
src/templates/nodes/custom/_node_preview_forbidden.pug
Normal file
@@ -0,0 +1,17 @@
|
||||
section.node-preview-forbidden
|
||||
| {% if node.picture %}
|
||||
img(src="{{ node.picture.thumbnail('t', api=api) }}")
|
||||
| {% endif %}
|
||||
div
|
||||
div Available to Blender Cloud subscribers
|
||||
div
|
||||
small Support Blender and get awesome stuff!
|
||||
hr
|
||||
| {% if current_user.has_cap('can-renew-subscription') %}
|
||||
a.btn(href="/renew") You have a subscription, it just needs to be renewed. Renew your subscription now!
|
||||
| {% else %}
|
||||
a.btn(href="{{ url_for('cloud.join') }}") Get a Subscription
|
||||
| {% endif %}
|
||||
| {% if current_user.is_anonymous %}
|
||||
a(href="{{ url_for('users.login') }}") Already a subscriber? Log in
|
||||
| {% endif %}
|
Reference in New Issue
Block a user