diff options
author | Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com> | 2023-10-31 10:24:16 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-08 18:59:02 +0000 |
commit | 6eb23b311dadba262a0114abfbb1e164122e3d1b (patch) | |
tree | 51c3b17083e75363cc31a5d7f2d999dbe69ec17d /bitbake/lib/toaster/toastergui/templates/target.html | |
parent | 3d2d75119cedcbac8f9665c1ddc0b8975a55e12a (diff) | |
download | poky-6eb23b311dadba262a0114abfbb1e164122e3d1b.tar.gz |
bitbake: toaster: replace deprecated tags ifequal and ifnotequal
Tags ifequal and ifnotequal are deprecated and were removed on version 3.1
https://django.readthedocs.io/en/stable/releases/3.1.html#deprecated-features-3-1
(Bitbake rev: d6dd2d091c18a888a237d986ae2bd6dae068be5a)
Signed-off-by: Marlon Rodriguez Garcia <marlon.rodriguez-garcia@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/target.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/target.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ | |||
8 | 8 | ||
9 | {% block nav-target %} | 9 | {% block nav-target %} |
10 | {% for t in build.get_sorted_target_list %} | 10 | {% for t in build.get_sorted_target_list %} |
11 | {% ifequal target.pk t.pk %} | 11 | {% if target.pk == t.pk %} |
12 | <li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> | 12 | <li class="active"><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> |
13 | {% else %} | 13 | {% else %} |
14 | <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> | 14 | <li><a href="{% url 'target' build.pk t.pk %}">{{t.target}}</a><li> |
15 | {% endifequal %} | 15 | {% endif %} |
16 | {% endfor %} | 16 | {% endfor %} |
17 | {% endblock %} | 17 | {% endblock %} |
18 | 18 | ||