UI: fixes based on Actionable Feedback from devtalk and frontend changes #40

Merged
Pablo Vazquez merged 15 commits from martonlente/extensions-website:ui-alpha-launch-actionable-feedback into main 2024-02-27 16:05:54 +01:00
3 changed files with 10 additions and 5 deletions
Showing only changes of commit b1c541e7e6 - Show all commits

View File

@ -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 #}

View File

@ -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">

View File

@ -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>