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 %}
|
{% load staticfiles %}
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||||
<meta 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/normalize.css" %}" />
|
||||||
<link rel="stylesheet" type="text/css" href="{% static "fiches/css/annuaire.css" %}" />
|
<link rel="stylesheet" type="text/css" href="{% static "fiches/css/annuaire.css" %}" />
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="aside">
|
<div id="aside">
|
||||||
<div id="menu">
|
<div id="menu">
|
||||||
<div id="language_switch">
|
<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>
|
</div>
|
||||||
|
|
||||||
<form id="search-area">
|
<form id="search-area">
|
||||||
<input type="search" placeholder="Marc Mézard">
|
<input type="search" placeholder="Marc Mézard">
|
||||||
<button type="submit">Rechercher</button>
|
<button type="submit">{% trans "Rechercher" %}</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<h1 id="title">
|
<h1 id="title">
|
||||||
|
@ -31,21 +34,21 @@
|
||||||
|
|
||||||
<div id="main-menu">
|
<div id="main-menu">
|
||||||
<nav>
|
<nav>
|
||||||
<a href='{% url "home" %}'> Accueil </a>
|
<a href='{% url "home" %}'>{% trans "Accueil" %}</a>
|
||||||
<a href='{% url "fiche_modif" %}'> Modifier sa fiche d'annuaire </a>
|
<a href='{% url "fiche_modif" %}'>{% trans "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>
|
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
<a href='{% url "cas_ng_logout" %}'> Se déconnecter</a>
|
<a href='{% url "fiche" request.user.profile.user %}'>{% trans "Consulter sa fiche d'annuaire" %}</a>
|
||||||
{% else %}
|
|
||||||
<a href='{% url "cas_ng_login" %}'> Se connecter</a>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<a href='{% url "birthday" %}'>{% trans "Anniversaires à venir" %}</a>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="account-area">
|
<div id="account-area">
|
||||||
{% if user.is_authenticated %}
|
{% if user.is_authenticated %}
|
||||||
{% blocktrans %}Connecté en tant que <tt>{{ user }}</tt>{% endblocktrans %}<br />
|
{% 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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -61,7 +64,7 @@
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
<span class="thanks">
|
<span class="thanks">
|
||||||
Crée par KDENS · Propulsé par Django
|
{% trans "Crée par KDENS · Propulsé par Django" %}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
[<a href="http://www.ens.fr/">ENS</a>]
|
[<a href="http://www.ens.fr/">ENS</a>]
|
||||||
|
@ -71,4 +74,5 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
Reference in a new issue