Add about menu on navbar, closing #64
This commit is contained in:
parent
fad8b8bffc
commit
e9915e4f4f
@ -72,11 +72,17 @@
|
|||||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||||
<ul class="nav navbar-nav">
|
<ul class="nav navbar-nav">
|
||||||
<li><a href="{% url 'index' %}">{% trans 'Map' %}</a></li>
|
<li><a href="{% url 'index' %}">{% trans 'Map' %}</a></li>
|
||||||
{% get_flatpages as flatpages %}
|
<li class="dropdown">
|
||||||
{% for page in flatpages %}
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">About <span class="caret"></span></a>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
{% get_flatpages '/about/' as about_pages %}
|
||||||
|
{% for page in about_pages %}
|
||||||
<li><a class="nav-link" href="{{page.url}}">{{page.title}}</a></li>
|
<li><a class="nav-link" href="{{page.url}}">{{page.title}}</a></li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
<li class="form-group">
|
<li class="form-group">
|
||||||
<form class="navbar-form navbar-left">
|
<form class="navbar-form navbar-left">
|
||||||
|
Loading…
Reference in New Issue
Block a user