horizon/openstack_dashboard/templates/header/_header_sections.html
Akihiro Motoki 6c45c47e4b Drop unnecessary executable flags
This patch also adds checks for executable files in
pep8 job.

nose ignores executable files by default, so it is important
to ensure executable flag is not set for test files [1].
openstack_dashboard/test/test_plugins/panel_tests.py was not
tested actually and it was broken. This commit fixes it too.
[1] http://nose.readthedocs.io/en/latest/usage.html#cmdoption-exe

Co-Authored-By: Ivan Kolodyazhny <e0ne@e0ne.info>
Change-Id: I3a124fa2f9f0676b2b43a094e32e3d8b18fa6005
2017-12-27 21:32:48 +00:00

29 lines
946 B
HTML

{% load i18n %}
<li id="primary-extensible-header" class="dropdown extensible-header">
{% for header in header_sections%}
{% if forloop.first %}
<a id="{{ header.0 }}" class="extensible-header-section"> {% autoescape off %}{{ header.1 }}{% endautoescape %} </a>
{% endif %}
{% endfor %}
</li>
{% if header_sections|length > 1 %}
<li class="dropdown header-overflow">
<a data-toggle="dropdown" href="#" class="dropdown-toggle" role="button" aria-expanded="false">
<span>{% trans "More" %}</span>
<span class="fa fa-caret-down"></span>
</a>
<ul id="header-list" class="dropdown-menu dropdown-menu-right selection-menu">
{% for header in header_sections%}
{% if not forloop.first %}
<li>
<a id="{{ header.0 }}" class="extensible-header-section"> {% autoescape off %}{{ header.1 }}{% endautoescape %} </a>
</li>
{% endif %}
{% endfor %}
</ul>
</li>
{% endif %}