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:
Jan Dittberner 2015-02-01 19:37:13 +01:00
parent f9e4e67cf6
commit 52b6dd5845
2 changed files with 2 additions and 1 deletions

View file

@ -17,6 +17,7 @@ urlpatterns = patterns(
url(r'^mail/', include('managemails.urls')),
url(r'^osuser/', include('osusers.urls')),
url(r'^admin/', include(admin.site.urls)),
url(r'^contact/', include('contact_form.urls')),
)
urlpatterns += patterns(
'django.contrib.flatpages.views',

View file

@ -65,7 +65,7 @@
</ul>
</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 class="nav navbar-nav navbar-right">
{% if user.is_authenticated %}