Commit d05e9757 authored by Carl Schwan's avatar Carl Schwan 🚴

Don't display more release then there is no release

parent 0b348541
Pipeline #26504 passed with stage
in 2 minutes and 47 seconds
......@@ -208,7 +208,9 @@ AppStream application stores. You can also use your distribution's package manag
{% endif %}
</div>
{% endfor %}
<a class="show-more-release learn-more" href="#">{% trans %}Show more releases...{% endtrans %}</a>
{% if application.releases | length > 1 %}
<a class="show-more-release learn-more" href="#">{% trans %}Show more releases...{% endtrans %}</a>
{% endif %}
</section>
<aside class="details col-12 col-md-4 col-lg-3">
<h3>{% trans %}Details for %name%{% endtrans %}</h3>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment