summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-05-13 15:12:04 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-05-13 15:12:04 (GMT)
commitef558cf61f85cb09abc466e1fc40f0de2bc22f0c (patch)
treee9b030d91640c6e51afe63cf5679882e96e577b9
parentf793b4d8557aeeb3425894c4bb7519dbacd721d3 (diff)
downloadcompte-agglo-montpellier-0.1.zip
compte-agglo-montpellier-0.1.tar.gz
compte-agglo-montpellier-0.1.tar.bz2
templates: add admin-links placeholderv0.1
-rw-r--r--compte_agglo_montpellier/templates/base.html3
-rw-r--r--compte_agglo_montpellier/templates/base_one_column.html4
-rw-r--r--compte_agglo_montpellier/templates/base_two_columns.html4
3 files changed, 11 insertions, 0 deletions
diff --git a/compte_agglo_montpellier/templates/base.html b/compte_agglo_montpellier/templates/base.html
index ac931c3..3e176d6 100644
--- a/compte_agglo_montpellier/templates/base.html
+++ b/compte_agglo_montpellier/templates/base.html
@@ -19,6 +19,9 @@
title="Montpellier agglomération" /></a>
<div class="region-header">
{% if user.is_authenticated %}
+ <div id="admin-links">
+ {% block admin-links %}{% endblock %}
+ </div>
<div id="logout-block">
<span>{{ user.first_name }} {{ user.last_name }}</span>
<a href="{% url 'logout' %}">{% trans "Logout" %}</a>
diff --git a/compte_agglo_montpellier/templates/base_one_column.html b/compte_agglo_montpellier/templates/base_one_column.html
index 19dd4e0..abe9e5e 100644
--- a/compte_agglo_montpellier/templates/base_one_column.html
+++ b/compte_agglo_montpellier/templates/base_one_column.html
@@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load cms_tags %}
+{% block admin-links %}
+ {% placeholder "admin-links" %}
+{% endblock %}
+
{% block content %}
<div id="center">
{% block center %}
diff --git a/compte_agglo_montpellier/templates/base_two_columns.html b/compte_agglo_montpellier/templates/base_two_columns.html
index b8ac9b9..e7d3eea 100644
--- a/compte_agglo_montpellier/templates/base_two_columns.html
+++ b/compte_agglo_montpellier/templates/base_two_columns.html
@@ -1,6 +1,10 @@
{% extends "base.html" %}
{% load cms_tags %}
+{% block admin-links %}
+ {% placeholder "admin-links" %}
+{% endblock %}
+
{% block content %}
<div id="left">
{% block left %}