add contact_form link in top navigation
- add contact_form URLs to gnuviechadmin.urls - set href of contact link to 'contact_form'
This commit is contained in:
parent
f9e4e67cf6
commit
52b6dd5845
2 changed files with 2 additions and 1 deletions
|
@ -17,6 +17,7 @@ urlpatterns = patterns(
|
||||||
url(r'^mail/', include('managemails.urls')),
|
url(r'^mail/', include('managemails.urls')),
|
||||||
url(r'^osuser/', include('osusers.urls')),
|
url(r'^osuser/', include('osusers.urls')),
|
||||||
url(r'^admin/', include(admin.site.urls)),
|
url(r'^admin/', include(admin.site.urls)),
|
||||||
|
url(r'^contact/', include('contact_form.urls')),
|
||||||
)
|
)
|
||||||
urlpatterns += patterns(
|
urlpatterns += patterns(
|
||||||
'django.contrib.flatpages.views',
|
'django.contrib.flatpages.views',
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li{% if active_item == 'imprint' %} class="active"{% endif %}><a href="{% url 'imprint' %}">{% trans "Imprint" %}</a></li>
|
<li{% if active_item == 'imprint' %} class="active"{% endif %}><a href="{% url 'imprint' %}">{% trans "Imprint" %}</a></li>
|
||||||
<li{% if active_item == 'contact' %} class="active"{% endif %}><a href="#contact">{% trans "Contact" %}</a></li>
|
<li{% if active_item == 'contact' %} class="active"{% endif %}><a href="{% url 'contact_form' %}">{% trans "Contact" %}</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<ul class="nav navbar-nav navbar-right">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
|
|
Loading…
Reference in a new issue