From f580dfcec1c71d5b2ded38bf7faf39147e01bec0 Mon Sep 17 00:00:00 2001 From: Antoine Vintache Date: Mon, 24 Sep 2018 19:55:13 +0200 Subject: [PATCH] Modification , utilisation de history button --- preferences/templates/preferences/aff_radiuskey.html | 3 ++- .../templates/preferences/aff_switchmanagementcred.html | 3 ++- topologie/templates/topologie/aff_vlanoptions.html | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/preferences/templates/preferences/aff_radiuskey.html b/preferences/templates/preferences/aff_radiuskey.html index 073aeea2..0d58efe3 100644 --- a/preferences/templates/preferences/aff_radiuskey.html +++ b/preferences/templates/preferences/aff_radiuskey.html @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load acl %} +{% load logs_extra %} @@ -48,7 +49,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} - {% include 'buttons/history.html' with href='preferences:history' name='radiuskey' id=radiuskey.id %} + {% history_button radiuskey %} {% endfor %} diff --git a/preferences/templates/preferences/aff_switchmanagementcred.html b/preferences/templates/preferences/aff_switchmanagementcred.html index d69a287a..ef8b0143 100644 --- a/preferences/templates/preferences/aff_switchmanagementcred.html +++ b/preferences/templates/preferences/aff_switchmanagementcred.html @@ -22,6 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. {% endcomment %} {% load acl %} +{% load logs_extra %}
@@ -46,7 +47,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% acl_end %} - {% include 'buttons/history.html' with href='preferences:history' name='switchmanagementcred' id=switchmanagementcred.id %} + {% history_button switchmanagementcred %} {% endfor %} diff --git a/topologie/templates/topologie/aff_vlanoptions.html b/topologie/templates/topologie/aff_vlanoptions.html index 7684e951..3810cb7f 100644 --- a/topologie/templates/topologie/aff_vlanoptions.html +++ b/topologie/templates/topologie/aff_vlanoptions.html @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endcomment %} {% load acl %} +{% load logs_extra %}
@@ -51,7 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit vlan %} {% include 'buttons/edit.html' with href='topologie:edit-vlanoptions' id=vlan.id %} {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='vlan' id=vlan.id %} + {% history_button vlan %} {% endfor %}