'Join the conversation' wasn't accurate for subscribers without POST permission
This commit is contained in:
@@ -41,7 +41,7 @@
|
|||||||
|
|
||||||
| {% elif current_user.is_authenticated %}
|
| {% elif current_user.is_authenticated %}
|
||||||
|
|
||||||
| {# * User is authenticated, but has no 'POST' permission #}
|
| {# * User is authenticated, but has no subscription or 'POST' permission #}
|
||||||
.comment-reply-form
|
.comment-reply-form
|
||||||
.comment-reply-field.sign-in
|
.comment-reply-field.sign-in
|
||||||
textarea(
|
textarea(
|
||||||
@@ -50,7 +50,12 @@
|
|||||||
data-parent-id="{{ node_id }}",
|
data-parent-id="{{ node_id }}",
|
||||||
placeholder="")
|
placeholder="")
|
||||||
.sign-in
|
.sign-in
|
||||||
| Join the conversation! <a href="https://store.blender.org/product/membership/">Subscribe to Blender Cloud now.</a>
|
| {% if current_user.has_role('subscriber') %}
|
||||||
|
i.pi-lock
|
||||||
|
| Only project members can comment.
|
||||||
|
| {% else %}
|
||||||
|
| Join the conversation! <a href="https://store.blender.org/product/membership/">Subscribe to Blender Cloud</a> now.
|
||||||
|
| {% endif %}
|
||||||
|
|
||||||
| {% else %}
|
| {% else %}
|
||||||
| {# * User is not autenticated #}
|
| {# * User is not autenticated #}
|
||||||
|
Reference in New Issue
Block a user