UI: fixes based on Actionable Feedback from devtalk and frontend changes #40
@ -279,9 +279,11 @@
|
||||
{% endif %}
|
||||
{% for rating in extension.ratings.listed_texts|slice:":3" %}
|
||||
{% include "ratings/components/review.html" %}
|
||||
{% empty %}
|
||||
<a href="{{ extension.get_rate_url }}">{% trans "Be the first to review." %}</a>
|
||||
{% endfor %}
|
||||
|
||||
{% if not extension.ratings.listed.count and not my_rating %}
|
||||
<a href="{{ extension.get_rate_url }}">{% trans "Be the first to review." %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
{# Rating #}
|
||||
|
@ -32,8 +32,9 @@
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% elif not my_rating %}
|
||||
<span class="text-muted">Be the first to review.</span>
|
||||
{% else %}
|
||||
<span class="text-muted">Be the first to review.</span>
|
||||
{% endif %}
|
||||
|
||||
<div class="mt-3">
|
||||
|
@ -27,9 +27,11 @@
|
||||
{% endif %}
|
||||
{% for rating in object_list %}
|
||||
{% include "ratings/components/review.html" %}
|
||||
{% empty %}
|
||||
{% trans "Be the first to review." %}
|
||||
{% endfor %}
|
||||
|
||||
{% if not extension.ratings.listed.count and not my_rating %}
|
||||
{% trans "Be the first to review." %}
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user