mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 00:39:46 +00:00
bitbake: toasterui: fix the h1 in the project builds page
It was not displaying the number of search results. (Bitbake rev: df8bdd357b126a0436c15cf66a13d398df273867) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
16c03f8541
commit
d2c9f704f2
@@ -7,21 +7,19 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block projectinfomain %}
|
{% block projectinfomain %}
|
||||||
<div class="page-header">
|
|
||||||
<h1>
|
|
||||||
{% if objects.paginator.count == 0 and request.GET.filter or request.GET.search %}
|
|
||||||
No builds found
|
|
||||||
|
|
||||||
{% else %}
|
<div class="page-header">
|
||||||
{% if request.GET.filter or request.GET.search %}
|
<h1>
|
||||||
{{objects.paginator.count}} builds found
|
{% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %}
|
||||||
{% else %}
|
{{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found
|
||||||
Project builds <small>({{objects.paginator.count}})</small>
|
{%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %}
|
||||||
{% endif %}
|
No builds found
|
||||||
{% endif %}
|
{%else%}
|
||||||
<i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i>
|
All builds
|
||||||
</h1>
|
{%endif%}
|
||||||
</div>
|
<i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{% if objects.paginator.count == 0 %}
|
{% if objects.paginator.count == 0 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user