layerindex-web/templates/base_toplevel.html
Paul Eggleton e3afa843f4 templates: 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>
2018-04-24 10:15:47 +12:00

59 lines
2.1 KiB
HTML

{% extends "base.html" %}
{% load i18n %}
{% comment %}
layerindex-web - top level page template
Copyright (C) 2013 Intel Corporation
Licensed under the MIT license, see COPYING.MIT for details
{% endcomment %}
{% block content %}
<div class="container-fluid">
<div class="row-fluid">
<div class="navbar">
<div class="navbar-inner">
<ul class="nav">
{% block branch_selector %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Branch: <b>{{ url_branch }}</b>
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
{% for branch in all_branches %}
<li><a href="{% url this_url_name branch.name %}{{ extra_url_param }}">
{% if branch.name == url_branch %}<b>{% endif %}
{{ branch.name }}
{% if branch.short_description %}
({{ branch.short_description }})
{% endif %}
{% if branch.name == url_branch %}</b>{% endif %}
</a></li>
{% endfor %}
{% if oe_classic %}
<li class="divider"></li>
<li><a href="{% url 'classic' %}">OE-Classic</a></li>
{% endif %}
</ul>
</li>
{% endblock %}
</ul>
<ul class="nav">
{% block navs %}{% endblock %}
</ul>
</div>
</div>
{% block content_inner %}{% endblock %}
</div>
</div>
{% endblock %}