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">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="{% url 'index' %}">{% trans 'Map' %}</a></li>
|
||||
{% get_flatpages as flatpages %}
|
||||
{% for page in flatpages %}
|
||||
<li class="dropdown">
|
||||
<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>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li class="form-group">
|
||||
<form class="navbar-form navbar-left">
|
||||
|
Loading…
Reference in New Issue
Block a user