summaryrefslogtreecommitdiff
path: root/archaeological_files/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2021-08-02 17:19:16 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2022-07-08 09:58:48 +0200
commitab48e1850c5a797d55515d0794f6efe8687a01d8 (patch)
tree9e4f111ce19af56381aee5954d258323c4a4f61a /archaeological_files/templates
parent585f2a1e3e0576ce7fe0bf8efd973a9d419a7691 (diff)
downloadIshtar-ab48e1850c5a797d55515d0794f6efe8687a01d8.tar.bz2
Ishtar-ab48e1850c5a797d55515d0794f6efe8687a01d8.zip
Preventive file: copy planned, add default cost - tests - fixtures
Diffstat (limited to 'archaeological_files/templates')
-rw-r--r--archaeological_files/templates/ishtar/forms/preventive_detail.html10
1 files changed, 8 insertions, 2 deletions
diff --git a/archaeological_files/templates/ishtar/forms/preventive_detail.html b/archaeological_files/templates/ishtar/forms/preventive_detail.html
index cc27e26f3..3c58053ba 100644
--- a/archaeological_files/templates/ishtar/forms/preventive_detail.html
+++ b/archaeological_files/templates/ishtar/forms/preventive_detail.html
@@ -17,10 +17,16 @@
</div>
</div>
<div class="w-100 pb-3 text-center form-group">
- <button class="btn btn-secondary btn-sm form-planned" type="button">{% trans "Add default costs" %}</button>
+ <a class="btn btn-secondary btn-sm form-planned" type="button"
+ href="{% url 'file-edit-preventive-default-cost' file.pk %}">
+ {% trans "Add default costs" %}
+ </a>
</div>
<div class="w-100 pb-3 text-center form-group">
- <button class="btn btn-secondary btn-sm form-worked" type="button">{% trans "Copy planned costs" %}</button>
+ <a class="btn btn-secondary btn-sm form-worked" type="button"
+ href="{% url 'file-edit-preventive-copy-planned' file.pk %}">
+ {% trans "Copy planned costs" %}
+ </a>
</div>
{% for inline in inline_forms %}
<h4>{{inline.form_label}}</h4>