diff --git a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html index a5d5893571..2493954deb 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_built_dependencies.html @@ -18,7 +18,7 @@
- {% ifequal runtime_deps|length 0 %} + {% if runtime_deps|length == 0 %}
{{package.fullpackagespec}} has no runtime dependencies.
@@ -54,8 +54,8 @@ {% endfor %} - {% endifequal %} - {% ifnotequal other_deps|length 0 %} + {% endif %} + {% if other_deps|length != 0 %}

Other runtime relationships

@@ -93,7 +93,7 @@ {% endfor %}
- {% endifnotequal %} + {% endif %}
{% endblock tabcontent %} diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html index 95e56ded26..1f5ed6d913 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_dependencies.html @@ -14,7 +14,7 @@ {% include "package_included_tabs.html" with active_tab="dependencies" %}
- {% ifnotequal runtime_deps|length 0 %} + {% if runtime_deps|length != 0 %} @@ -48,9 +48,9 @@
{{package.fullpackagespec}} has no runtime dependencies.
- {% endifnotequal %} + {% endif %} - {% ifnotequal other_deps|length 0 %} + {% if other_deps|length != 0 %}

Other runtime relationships

@@ -103,7 +103,7 @@ {% endfor %}
- {% endifnotequal %} + {% endif %}
{% endwith %} diff --git a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html index fb310c7fc7..dae4549e21 100644 --- a/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html +++ b/bitbake/lib/toaster/toastergui/templates/package_included_reverse_dependencies.html @@ -15,7 +15,7 @@
- {% ifequal reverse_count 0 %} + {% if reverse_count == 0 %}
{{package.fullpackagespec}} has no reverse runtime dependencies.
@@ -43,7 +43,7 @@ {% endfor %} - {% endifequal %} + {% endif %}
{% endwith %} diff --git a/bitbake/lib/toaster/toastergui/templates/recipe.html b/bitbake/lib/toaster/toastergui/templates/recipe.html index 3f76e656fe..4b5301b548 100644 --- a/bitbake/lib/toaster/toastergui/templates/recipe.html +++ b/bitbake/lib/toaster/toastergui/templates/recipe.html @@ -186,9 +186,9 @@ - {% ifnotequal task.sstate_result task.SSTATE_NA %} + {% if task.sstate_result != task.SSTATE_NA %} {{task.get_sstate_result_display}} - {% endifnotequal %} + {% endif %} diff --git a/bitbake/lib/toaster/toastergui/templates/target.html b/bitbake/lib/toaster/toastergui/templates/target.html index 1924a0dad7..d5f60e77a8 100644 --- a/bitbake/lib/toaster/toastergui/templates/target.html +++ b/bitbake/lib/toaster/toastergui/templates/target.html @@ -8,11 +8,11 @@ {% block nav-target %} {% for t in build.get_sorted_target_list %} - {% ifequal target.pk t.pk %} + {% if target.pk == t.pk %}
  • {{t.target}}
  • {% else %}
  • {{t.target}}
  • - {% endifequal %} + {% endif %} {% endfor %} {% endblock %}