Prépare la traduction de l'annuaire
This commit is contained in:
parent
a5fc8c20f2
commit
b6c956380e
1 changed files with 64 additions and 60 deletions
|
@ -2,6 +2,7 @@
|
|||
{% load staticfiles %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<meta charset="UTF-8">
|
||||
|
@ -12,16 +13,18 @@
|
|||
<link rel="stylesheet" type="text/css" href="{% static "fiches/css/normalize.css" %}" />
|
||||
<link rel="stylesheet" type="text/css" href="{% static "fiches/css/annuaire.css" %}" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="aside">
|
||||
<div id="menu">
|
||||
<div id="language_switch">
|
||||
<a class="language french current-language" href="/">Français</a><a class="language english" href="/">English</a><a class="language esperanto" href="/">Esperanto</a>
|
||||
<a class="language french {% if get_current_language == "fr" %}current-language{% endif %}" href="/fr{{ request.get_full_path|slice:'3:' }}">Français</a>
|
||||
<a class="language english {% if get_current_language == "en" %}current-language{% endif %}" href="/en{{ request.get_full_path|slice:'3:' }}">English</a>
|
||||
</div>
|
||||
|
||||
<form id="search-area">
|
||||
<input type="search" placeholder="Marc Mézard">
|
||||
<button type="submit">Rechercher</button>
|
||||
<button type="submit">{% trans "Rechercher" %}</button>
|
||||
</form>
|
||||
|
||||
<h1 id="title">
|
||||
|
@ -31,21 +34,21 @@
|
|||
|
||||
<div id="main-menu">
|
||||
<nav>
|
||||
<a href='{% url "home" %}'> Accueil </a>
|
||||
<a href='{% url "fiche_modif" %}'> Modifier sa fiche d'annuaire </a>
|
||||
<a href='{% url "fiche" request.user.profile.user %}'> Consulter sa fiche d'annuaire </a>
|
||||
<a href='{% url "birthday" %}'> Anniversaires à venir </a>
|
||||
<a href='{% url "home" %}'>{% trans "Accueil" %}</a>
|
||||
<a href='{% url "fiche_modif" %}'>{% trans "Modifier sa fiche d'annuaire" %}</a>
|
||||
{% if user.is_authenticated %}
|
||||
<a href='{% url "cas_ng_logout" %}'> Se déconnecter</a>
|
||||
{% else %}
|
||||
<a href='{% url "cas_ng_login" %}'> Se connecter</a>
|
||||
<a href='{% url "fiche" request.user.profile.user %}'>{% trans "Consulter sa fiche d'annuaire" %}</a>
|
||||
{% endif %}
|
||||
<a href='{% url "birthday" %}'>{% trans "Anniversaires à venir" %}</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div id="account-area">
|
||||
{% if user.is_authenticated %}
|
||||
{% blocktrans %}Connecté en tant que <tt>{{ user }}</tt>{% endblocktrans %}<br />
|
||||
<a href='{% url "cas_ng_logout" %}'>{% trans "Se déconnecter" %}</a>
|
||||
{% else %}
|
||||
<a href='{% url "cas_ng_login" %}'>{% trans "Se connecter" %}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -61,7 +64,7 @@
|
|||
<div id="footer">
|
||||
{% block footer %}
|
||||
<span class="thanks">
|
||||
Crée par KDENS · Propulsé par Django
|
||||
{% trans "Crée par KDENS · Propulsé par Django" %}
|
||||
</span>
|
||||
|
||||
[<a href="http://www.ens.fr/">ENS</a>]
|
||||
|
@ -71,4 +74,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue