summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2018-04-13 16:03:42 +1200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-05-04 23:57:53 +1200
commit2eedc873990a5571cbe98b525118d243bd313012 (patch)
tree10a4a63c0f5b4e9ca59545e20ab00039af48f3e9
parent71e3aac59d548c71b72cacfee2e95fdb1fadab95 (diff)
downloadopenembedded-core-contrib-2eedc873990a5571cbe98b525118d243bd313012.tar.gz
openembedded-core-contrib-2eedc873990a5571cbe98b525118d243bd313012.tar.bz2
openembedded-core-contrib-2eedc873990a5571cbe98b525118d243bd313012.zip
templates/rrs: replace use of = with ==
I can't quite tell which Django version broke this, but in any case based on what's in pagination.html it seems we ought to have been using == already. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--templates/rrs/base_toplevel.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/rrs/base_toplevel.html b/templates/rrs/base_toplevel.html
index 47bc71900f..13593a228e 100644
--- a/templates/rrs/base_toplevel.html
+++ b/templates/rrs/base_toplevel.html
@@ -25,9 +25,9 @@
<ul class="dropdown-menu">
{% for plan in all_maintplans %}
<li><a href="{% url this_url_name plan plan.get_default_release.name plan.get_default_release.get_default_milestone.name %}{{ extra_url_param }}">
- {% if plan.name = maintplan_name %}<b>{% endif %}
+ {% if plan.name == maintplan_name %}<b>{% endif %}
{{ plan.name }}
- {% if plan.name = maintplan_name %}</b>{% endif %}
+ {% if plan.name == maintplan_name %}</b>{% endif %}
</a></li>
{% endfor %}
</ul>
@@ -42,9 +42,9 @@
<ul class="dropdown-menu">
{% for r in all_releases %}
<li><a href="{% url this_url_name maintplan_name r.name r.get_default_milestone.name %}{{ extra_url_param }}">
- {% if r.name = release_name %}<b>{% endif %}
+ {% if r.name == release_name %}<b>{% endif %}
{{ r.name }}
- {% if r.name = release_name %}</b>{% endif %}
+ {% if r.name == release_name %}</b>{% endif %}
</a></li>
{% endfor %}
</ul>
@@ -59,9 +59,9 @@
<ul class="dropdown-menu">
{% for m in all_milestones %}
<li><a href="{% url this_url_name maintplan_name release_name m.name %}{{ extra_url_param }}">
- {% if m.name = milestone_name %}<b>{% endif %}
+ {% if m.name == milestone_name %}<b>{% endif %}
{{ m.name }}
- {% if m.name = milestone_name %}</b>{% endif %}
+ {% if m.name == milestone_name %}</b>{% endif %}
</a></li>
{% endfor %}
</ul>