Don't show "Join the conversation" to demo users
And minor style tweaks
This commit is contained in:
@@ -18,11 +18,8 @@ $comments-width-max: 710px
|
|||||||
#comments-list-header
|
#comments-list-header
|
||||||
#comments-list-title
|
#comments-list-title
|
||||||
padding: 15px 0 10px 0
|
padding: 15px 0 10px 0
|
||||||
margin: 0
|
font-size: 1.3em
|
||||||
font:
|
font-weight: 300
|
||||||
size: 1.5em
|
|
||||||
weight: 300
|
|
||||||
family: $font-body
|
|
||||||
color: $color-text-dark-primary
|
color: $color-text-dark-primary
|
||||||
|
|
||||||
#comments-list-items-loading
|
#comments-list-items-loading
|
||||||
@@ -416,19 +413,13 @@ $comments-width-max: 710px
|
|||||||
border-color: $color-danger
|
border-color: $color-danger
|
||||||
|
|
||||||
&.sign-in
|
&.sign-in
|
||||||
textarea
|
display: block
|
||||||
margin: 0
|
padding: 10px
|
||||||
|
border-radius: 3px
|
||||||
.sign-in
|
border: thin solid $color-background
|
||||||
position: absolute
|
|
||||||
top: 0
|
|
||||||
left: 0
|
|
||||||
right: 0
|
|
||||||
bottom: 0
|
|
||||||
background-color: rgba(white, .5)
|
background-color: rgba(white, .5)
|
||||||
display: flex
|
color: $color-text-dark-primary
|
||||||
align-items: center
|
cursor: default
|
||||||
padding-left: 15px
|
|
||||||
|
|
||||||
a
|
a
|
||||||
margin-right: 4px
|
margin-right: 4px
|
||||||
|
@@ -44,13 +44,7 @@
|
|||||||
| {# * User is authenticated, but has no subscription or '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(
|
| {% if current_user.has_role('subscriber') or current_user.has_role('demo') %}
|
||||||
disabled,
|
|
||||||
id="comment_field",
|
|
||||||
data-parent-id="{{ node_id }}",
|
|
||||||
placeholder="")
|
|
||||||
.sign-in
|
|
||||||
| {% if current_user.has_role('subscriber') %}
|
|
||||||
i.pi-lock
|
i.pi-lock
|
||||||
| Only project members can comment.
|
| Only project members can comment.
|
||||||
| {% else %}
|
| {% else %}
|
||||||
|
Reference in New Issue
Block a user