From 4d93c6db6accc18be88eb596b5303cc746493e75 Mon Sep 17 00:00:00 2001 From: Gabriel Detraz Date: Sun, 29 Jul 2018 20:11:53 +0200 Subject: [PATCH] Fix history et i18n --- machines/templates/machines/aff_dname.html | 3 ++- machines/templates/machines/index_extension.html | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/machines/templates/machines/aff_dname.html b/machines/templates/machines/aff_dname.html index 8ee3280e..8797be72 100644 --- a/machines/templates/machines/aff_dname.html +++ b/machines/templates/machines/aff_dname.html @@ -21,6 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% endcomment %} {% load acl %} +{% load logs_extra %} @@ -38,7 +39,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% can_edit dname %} {% include 'buttons/edit.html' with href='machines:edit-dname' id=dname.id %} {% acl_end %} - {% include 'buttons/history.html' with href='machines:history' name='dname' id=dname.id %} + {% history_button dname %} {% endfor %} diff --git a/machines/templates/machines/index_extension.html b/machines/templates/machines/index_extension.html index 19a0fca4..29c5a0bd 100644 --- a/machines/templates/machines/index_extension.html +++ b/machines/templates/machines/index_extension.html @@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc., {% load bootstrap3 %} {% load acl %} +{% load i18n %} {% block title %}Machines{% endblock %}