diff --git a/devplacepy/static/css/base.css b/devplacepy/static/css/base.css index 45d207ae..d1dc8265 100644 --- a/devplacepy/static/css/base.css +++ b/devplacepy/static/css/base.css @@ -517,7 +517,8 @@ img { .comment-vote-btn.is-loading, .comment-action-btn.is-loading, .comment-form-submit.is-loading, -.vote-star.is-loading { +.vote-star.is-loading, +.poll-option.is-loading { pointer-events: none; } @@ -525,7 +526,8 @@ img { .comment-vote-btn.is-loading .btn-spinner, .comment-action-btn.is-loading .btn-spinner, .comment-form-submit.is-loading .btn-spinner, -.vote-star.is-loading .btn-spinner { +.vote-star.is-loading .btn-spinner, +.poll-option.is-loading .btn-spinner { display: inline-block; } diff --git a/devplacepy/templates/_comment.html b/devplacepy/templates/_comment.html index 8fcbb83d..2c8c8ef4 100644 --- a/devplacepy/templates/_comment.html +++ b/devplacepy/templates/_comment.html @@ -25,11 +25,11 @@ {% include "_attachment_display.html" %} {% endif %}
- + {% if owns(item.comment, user) %} - +
- +
{% endif %} {% set _type = "comment" %}{% set _uid = item.comment['uid'] %}{% set _reactions = item.reactions %}{% include "_reaction_bar.html" %} diff --git a/devplacepy/templates/_poll.html b/devplacepy/templates/_poll.html index 9da0d8f2..82753c09 100644 --- a/devplacepy/templates/_poll.html +++ b/devplacepy/templates/_poll.html @@ -4,6 +4,7 @@
{% for opt in _poll.options %} + {{ _count }}
- +