Commit 23257e26 authored by Jens Langhammer's avatar Jens Langhammer

fix back/cancel button on claim confirmation not doing anything

parent 76d0f0ea
......@@ -12,7 +12,7 @@
<div class="modal-dialog {% if size %}modal-{{ size }}{% endif %}" role="dialog" aria-hidden="true">
<div class="modal-content">
<div class="modal-header">
<a href="{% back %}" aria-label="Close" class="close" >
<a href="{% back %}" aria-label="Close" class="close">
<clr-icon aria-hidden="true" shape="close"></clr-icon>
<h3 class="modal-title">{% trans "Attention" %}</h3>
......@@ -64,7 +64,7 @@
<h3>{% trans 'Actions' %}</h3>
{% if not upload.user or upload.user.is_superuser %}
<a class="btn btn-primary" href="{% url 'upload_claim' file_hash=upload.sha512 %}">{% trans 'Claim' %}</a>
<a class="btn btn-primary" href="{% url 'upload_claim' file_hash=upload.sha512 %}?back={{ request.get_full_path }}">{% trans 'Claim' %}</a>
{% endif %}
<form action="" method="POST">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment