diff options
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projectbuilds.html | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html index afcf5191b5..07595f2376 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html +++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |||
| @@ -7,21 +7,19 @@ | |||
| 7 | {% endblock %} | 7 | {% endblock %} |
| 8 | 8 | ||
| 9 | {% block projectinfomain %} | 9 | {% block projectinfomain %} |
| 10 | <div class="page-header"> | ||
| 11 | <h1> | ||
| 12 | {% if objects.paginator.count == 0 and request.GET.filter or request.GET.search %} | ||
| 13 | No builds found | ||
| 14 | 10 | ||
| 15 | {% else %} | 11 | <div class="page-header"> |
| 16 | {% if request.GET.filter or request.GET.search %} | 12 | <h1> |
| 17 | {{objects.paginator.count}} builds found | 13 | {% if request.GET.filter and objects.paginator.count > 0 or request.GET.search and objects.paginator.count > 0 %} |
| 18 | {% else %} | 14 | {{objects.paginator.count}} build{{objects.paginator.count|pluralize}} found |
| 19 | Project builds <small>({{objects.paginator.count}})</small> | 15 | {%elif request.GET.filter and objects.paginator.count == 0 or request.GET.search and objects.paginator.count == 0 %} |
| 20 | {% endif %} | 16 | No builds found |
| 21 | {% endif %} | 17 | {%else%} |
| 22 | <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i> | 18 | All builds |
| 23 | </h1> | 19 | {%endif%} |
| 24 | </div> | 20 | <i class="icon-question-sign get-help heading-help" title="This page lists all the builds for the current project"></i> |
| 21 | </h1> | ||
| 22 | </div> | ||
| 25 | 23 | ||
| 26 | 24 | ||
| 27 | {% if objects.paginator.count == 0 %} | 25 | {% if objects.paginator.count == 0 %} |
