diff options
-rw-r--r-- | app/templates/macros/reviews.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/app/templates/macros/reviews.html b/app/templates/macros/reviews.html index 2c7f293..d4869c6 100644 --- a/app/templates/macros/reviews.html +++ b/app/templates/macros/reviews.html @@ -51,7 +51,8 @@ </a> {% endif %} - <a class="btn btn-secondary" href="{{ url_for('threads.view', id=review.thread.id) }}"> + <a class="btn {% if review.thread.replies.count() > 1 %} btn-primary {% else %} btn-secondary {% endif %}" + href="{{ url_for('threads.view', id=review.thread.id) }}"> <i class="fas fa-comments mr-2"></i> {{ _("%(num)d comments", num=review.thread.replies.count() - 1) }} </a> |