From c02ea8056cde5f2c86af4787cadd64498c5ebf0b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 5 Jul 2022 16:55:49 +0200 Subject: Preventive file - admin: copy job and costs from price agreement --- archaeological_files/templates/admin/copy_price.html | 14 ++++++++++++++ .../templates/admin/copy_price_change_list.html | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 archaeological_files/templates/admin/copy_price.html create mode 100644 archaeological_files/templates/admin/copy_price_change_list.html (limited to 'archaeological_files/templates') diff --git a/archaeological_files/templates/admin/copy_price.html b/archaeological_files/templates/admin/copy_price.html new file mode 100644 index 000000000..f66f9f7a1 --- /dev/null +++ b/archaeological_files/templates/admin/copy_price.html @@ -0,0 +1,14 @@ +{% extends "admin/base_site.html" %} + +{% block content %} + +
+{% csrf_token %} + +{{ file_form }} +
+ + +
+ +{% endblock %} diff --git a/archaeological_files/templates/admin/copy_price_change_list.html b/archaeological_files/templates/admin/copy_price_change_list.html new file mode 100644 index 000000000..1e3ae8585 --- /dev/null +++ b/archaeological_files/templates/admin/copy_price_change_list.html @@ -0,0 +1,14 @@ +{% extends "admin/gen_change_list.html" %} +{% load i18n admin_urls static admin_list %} + + {% block object-tools-items %} + {{ block.super }} + {% if has_add_permission %} +
  • + + {% trans "Copy price agreement" %} + +
  • + {% endif %} + {% endblock %} + -- cgit v1.2.3