Minor tweaks to layout when able to re-new subscriptions

This commit is contained in:
Pablo Vazquez 2018-03-28 12:17:11 +02:00
parent ab6b277293
commit 5eb464a1f3
3 changed files with 17 additions and 9 deletions

View File

@ -2,16 +2,24 @@ 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!
p Available to Blender Cloud subscribers
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!
p
small You have a subscription, it just needs to be renewed.
a.btn(href="/renew")
| #[i.pi-heart] Renew Subscription
| {% else %}
a.btn(href="{{ url_for('cloud.join') }}") Get a Subscription
p
small Support Blender and get awesome stuff!
a.btn(href="{{ url_for('cloud.join') }}")
| #[i.pi-heart] Get a Subscription
| {% endif %}
| {% if current_user.is_anonymous %}
a(href="{{ url_for('users.login') }}") Already a subscriber? Log in
p
small Already a subscriber?
a.btn(href="{{ url_for('users.login') }}") Log In
| {% endif %}

View File

@ -55,9 +55,9 @@
| Only project members can comment.
| {% elif current_user.has_cap('can-renew-subscription') %}
i.pi-heart
a(href='/renew', target='_blank') Renew your subscription to join the conversation!
| Join the conversation! #[a(href='/renew', target='_blank') Renew your subscription] to comment.
| {% else %}
| Join the conversations!&nbsp;<a href="https://store.blender.org/product/membership/">Subscribe to Blender Cloud</a> now.
| Join the conversation! #[a(href="https://store.blender.org/product/membership/") Subscribe to Blender Cloud] to comment.
| {% endif %}
| {% else %}

View File

@ -104,7 +104,7 @@
target="_blank",
href="/renew")
i.pi-heart
| Renew subscription to download
| Renew Subscription
| {% elif current_user.is_authenticated %}
.btn.disabled