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>2021-10-25 12:06:02 +0200
commit82988aa6b41c76c27eeca77583841d732fffd2d4 (patch)
treee6652ed0473c05df9c7d98b9b30856e437f4878f /archaeological_files/templates
parent0447e9db6178cd7defa456e71654010ce56dd6d4 (diff)
downloadIshtar-82988aa6b41c76c27eeca77583841d732fffd2d4.tar.bz2
Ishtar-82988aa6b41c76c27eeca77583841d732fffd2d4.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>