From 42bbdb67c7e5296e587bdf5c669b50b03a18223d Mon Sep 17 00:00:00 2001 From: Grizzly Date: Sat, 1 Dec 2018 16:11:17 +0000 Subject: [PATCH] =?UTF-8?q?Accord=C3=A9on=20complet=20et=20suppression=20d?= =?UTF-8?q?e=20la=20sidebar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../preferences/display_preferences.html | 43 ++++++++++++++++--- .../templates/preferences/sidebar.html | 42 ------------------ 2 files changed, 38 insertions(+), 47 deletions(-) diff --git a/preferences/templates/preferences/display_preferences.html b/preferences/templates/preferences/display_preferences.html index a5ee9f8d..05bbc1bd 100644 --- a/preferences/templates/preferences/display_preferences.html +++ b/preferences/templates/preferences/display_preferences.html @@ -276,8 +276,13 @@ with this program; if not, write to the Free Software Foundation, Inc., - -

{% trans "Information about the organisation" %}

+
+ + +
+ +
+ + +
+ +
+ +
{% can_create preferences.Reminder%} Ajouter un rappel {% acl_end %} @@ -344,7 +367,16 @@ with this program; if not, write to the Free Software Foundation, Inc., {% trans "Edit" %} -

{% trans "List of contact email addresses" %}

+
+
+ +
+ +
{% can_create preferences.MailContact %} {% trans "Add an address" %} {% acl_end %} @@ -364,6 +396,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {{ homeoptions.facebook_url }} +
{% endblock %} diff --git a/preferences/templates/preferences/sidebar.html b/preferences/templates/preferences/sidebar.html index 41a11df0..98b597ea 100644 --- a/preferences/templates/preferences/sidebar.html +++ b/preferences/templates/preferences/sidebar.html @@ -27,46 +27,4 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block sidebar %} - {% if request.user.is_authenticated %} - - - {% trans "Générale" %} - - - - {% trans "Association" %} - - - - {% trans "Utilisateurs" %} - - - - {% trans "Machines" %} - - - - {% trans "Topologie" %} - - - - {% trans "Switchs" %} - - - - {% trans "Mail" %} - - - - {% trans "Rappels" %} - - - - {% trans "Services" %} - - - - {% trans "Adresses de contact" %} - - {% endif %} {% endblock %}