From cf1057b71764c01e1fabd7de03ad643142f467ad Mon Sep 17 00:00:00 2001 From: Hugo LEVY-FALK Date: Mon, 23 Jul 2018 14:51:40 +0200 Subject: [PATCH] =?UTF-8?q?utilisation=20du=20filtre=20tick=20partout=20o?= =?UTF-8?q?=C3=B9=20des=20bool=C3=A9ens=20sont=20affich=C3=A9s.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../templates/cotisations/aff_article.html | 47 +++++++++++++------ .../templates/cotisations/aff_paiement.html | 40 +++++++++++----- .../templates/machines/aff_extension.html | 4 +- machines/templates/machines/aff_iptype.html | 5 +- machines/templates/machines/aff_nas.html | 4 +- machines/templates/machines/aff_servers.html | 6 ++- machines/templates/machines/aff_service.html | 1 + .../preferences/display_preferences.html | 12 ++--- 8 files changed, 78 insertions(+), 41 deletions(-) diff --git a/cotisations/templates/cotisations/aff_article.html b/cotisations/templates/cotisations/aff_article.html index 3ed4568c..bf2aa104 100644 --- a/cotisations/templates/cotisations/aff_article.html +++ b/cotisations/templates/cotisations/aff_article.html @@ -25,20 +25,10 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% load i18n %} {% load logs_extra %} +{% load design %} - - - - - - - - - - - - - {% for article in article_list %} +
{% trans "Article" %}{% trans "Price" %}{% trans "Cotisation type" %}{% trans "Duration (month)" %}{% trans "Concerned users" %}{% trans "Available for everyone" %}
+ @@ -54,7 +44,34 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} {% history_button article %} + + + + + + + - {% endfor %} -
{{ article.name }} {{ article.prix }}{% trans "Article" %}{% trans "Price" %}{% trans "Cotisation type" %}{% trans "Duration (month)" %}{% trans "Concerned users" %}{% trans "Available for everyone" %}
+ + {% for article in article_list %} + + {{ article.name }} + {{ article.prix }} + {{ article.type_cotisation }} + {{ article.duration }} + {{ article.type_user }} + {{ article.available_for_everyone|tick }} + + {% can_edit article %} + + + + {% acl_end %} + + + + + + {% endfor %} + diff --git a/cotisations/templates/cotisations/aff_paiement.html b/cotisations/templates/cotisations/aff_paiement.html index c07b7e3b..f85be9bb 100644 --- a/cotisations/templates/cotisations/aff_paiement.html +++ b/cotisations/templates/cotisations/aff_paiement.html @@ -25,17 +25,10 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% load i18n %} {% load logs_extra %} +{% load design %} - - - - - - - - - - {% for paiement in paiement_list %} +
{% trans "Payment type" %}{% trans "Is available for everyone" %}{% trans "Custom payment method" %}
+ @@ -50,7 +43,30 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} {% history_button paiement %} + + + + - {% endfor %} -
{{ paiement.moyen }} {{ paiement.available_for_everyone }}{% trans "Payment type" %}{% trans "Is available for everyone" %}{% trans "Custom payment method" %}
+ + {% for paiement in paiement_list %} + + {{ paiement.moyen }} + {{ paiement.available_for_everyone|tick }} + + {{paiement.get_payment_method_name}} + + + {% can_edit paiement %} + + + + {% acl_end %} + + + + + + {% endfor %} + diff --git a/machines/templates/machines/aff_extension.html b/machines/templates/machines/aff_extension.html index 0692a039..94550604 100644 --- a/machines/templates/machines/aff_extension.html +++ b/machines/templates/machines/aff_extension.html @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% load logs_extra %} +{% load design %}
@@ -42,7 +43,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% for extension in extension_list %} - + {% if ipv6_enabled %} @@ -53,6 +54,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% include 'buttons/edit.html' with href='machines:edit-extension' id=extension.id %} {% acl_end %} {% history_button extension %} + {% include 'buttons/history.html' with href='machines:history' name='extension' id=extension.id %} {% endfor %} diff --git a/machines/templates/machines/aff_iptype.html b/machines/templates/machines/aff_iptype.html index acf8260c..d0bff234 100644 --- a/machines/templates/machines/aff_iptype.html +++ b/machines/templates/machines/aff_iptype.html @@ -22,6 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} +{% load design %} + {% load acl %} {% load logs_extra %}
@@ -43,7 +45,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
- + @@ -53,6 +55,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% include 'buttons/edit.html' with href='machines:edit-iptype' id=type.id %} {% acl_end %} {% history_button type %} + {% include 'buttons/history.html' with href='machines:history' name='iptype' id=type.id %} {% endfor %} diff --git a/machines/templates/machines/aff_nas.html b/machines/templates/machines/aff_nas.html index 2c2cfd21..86e75c7d 100644 --- a/machines/templates/machines/aff_nas.html +++ b/machines/templates/machines/aff_nas.html @@ -24,6 +24,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load acl %} {% load logs_extra %} +{% load design %}
{{ extension.name }}{{ extension.need_infra }}{{ extension.need_infra|tick }} {{ extension.soa}} {{ extension.origin }}
{{ type.type }} {{ type.extension }}{{ type.need_infra }}{{ type.need_infra|tick }} {{ type.domaine_ip_start }}-{{ type.domaine_ip_stop }} {{ type.prefix_v6 }} {{ type.vlan }}
@@ -42,12 +43,13 @@ with this program; if not, write to the Free Software Foundation, Inc., - + {% endfor %} diff --git a/machines/templates/machines/aff_servers.html b/machines/templates/machines/aff_servers.html index 030afcea..90629e04 100644 --- a/machines/templates/machines/aff_servers.html +++ b/machines/templates/machines/aff_servers.html @@ -22,6 +22,8 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} +{% load design %} +
{{ nas.nas_type }} {{ nas.machine_type }} {{ nas.port_access_mode }}{{ nas.autocapture_mac }}{{ nas.autocapture_mac|tick }} {% can_edit nas %} {% include 'buttons/edit.html' with href='machines:edit-nas' id=nas.id %} {% acl_end %} {% history_button nas %} + {% include 'buttons/history.html' with href='machines:history' name='nas' id=nas.id %}
@@ -37,8 +39,8 @@ with this program; if not, write to the Free Software Foundation, Inc., - - + + diff --git a/machines/templates/machines/aff_service.html b/machines/templates/machines/aff_service.html index 6ca6278b..95705858 100644 --- a/machines/templates/machines/aff_service.html +++ b/machines/templates/machines/aff_service.html @@ -47,6 +47,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% include 'buttons/edit.html' with href='machines:edit-service' id=service.id %} {% acl_end %} {% history_button service %} + {% include 'buttons/history.html' with href='machines:history' name='service' id=service.id %} {% endfor %} diff --git a/preferences/templates/preferences/display_preferences.html b/preferences/templates/preferences/display_preferences.html index 10fd947f..34417695 100755 --- a/preferences/templates/preferences/display_preferences.html +++ b/preferences/templates/preferences/display_preferences.html @@ -30,7 +30,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% block title %}Création et modification des préférences{% endblock %} {% block content %} -

Préférences utilisateur

+

Préférences utilisateur

Editer @@ -56,12 +56,6 @@ with this program; if not, write to the Free Software Foundation, Inc., - - - - - -
{{ server.service }} {{ server.server }} {{ server.last_regen }}{{ server.asked_regen }}{{ server.need_regen }}{{ server.asked_regen| tick }}{{ server.need_regen | tick }}
Creations de clubs par tous {{ useroptions.all_can_create_club|tick }}
Auto inscription{{ useroptions.self_adhesion }}Shell par défaut des utilisateurs{{ useroptions.shell_default }}
@@ -75,7 +69,7 @@ with this program; if not, write to the Free Software Foundation, Inc., - + @@ -87,7 +81,7 @@ with this program; if not, write to the Free Software Foundation, Inc., - +
Mot de passe par machine{{ machineoptions.password_machine }}{{ machineoptions.password_machine|tick }} Machines/interfaces autorisées par utilisateurs {{ machineoptions.max_lambdauser_interfaces }}
Creation de machines{{ machineoptions.create_machine }}{{ machineoptions.create_machine|tick }}

Préférences topologie