version beta
This commit is contained in:
parent
2f5614666f
commit
545c0c494f
18 changed files with 467 additions and 71 deletions
|
|
@ -2,8 +2,17 @@
|
|||
|
||||
{% block title %}EDS{% endblock %}
|
||||
|
||||
{% block branding %}<h1 id="site-name"><a href="{% url 'admin:index' %}">Formation EDS</a></h1>{% endblock %}
|
||||
{% block usertools %}<div id="user-tools"><a href="{% url 'admin:index' %}">Admin</a></div>{% endblock %}
|
||||
{% block branding %}<h1 id="site-name"><a href="{% url 'home' %}">Formation en Education sociale ES</a></h1>{% endblock %}
|
||||
{% block usertools %}
|
||||
<div id="user-tools">
|
||||
{% if user.is_authenticated %}
|
||||
{% block welcome-msg %}Bienvenue <strong>{% firstof user.username %}</strong>.{% endblock %}
|
||||
<a href="http://localhost:8000">Site public</a> <a href="{% url 'admin:index' %}">Admin</a>
|
||||
{% else %}
|
||||
<a href="{% url 'admin:index' %}">Admin</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% block nav-global %}{% endblock %}
|
||||
{% block breadcrumbs %}
|
||||
<div class="breadcrumbs">
|
||||
|
|
@ -12,7 +21,8 @@
|
|||
<li><a href="{% url 'domaine-list' %}">Domaines</a> </li>
|
||||
<li><a href="{% url 'processus-list' %}">Processus</a> </li>
|
||||
<li><a href="{% url 'module-list' %}">Modules</a> </li>
|
||||
<li><a href="#">Calendrier</a> </li>
|
||||
<li><a href="{% url 'periodes' %}">Périodes</a> </li>
|
||||
<!-- <li><a href="{% url 'pdf-view' %}">Calendrier</a> </li>-->
|
||||
{% if has_permission %}
|
||||
<li><a href="#">Calendrier</a> </li>
|
||||
{% endif %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue