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