mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-02 13:45:10 -05:00
Added download link on document edit form
This commit is contained in:
parent
4b20d5d4b9
commit
99bfcd4d67
9
src/documents/templates/admin/documents/document/change_form.html
Executable file → Normal file
9
src/documents/templates/admin/documents/document/change_form.html
Executable file → Normal file
@ -1,5 +1,14 @@
|
||||
{% extends 'admin/change_form.html' %}
|
||||
|
||||
{% block object-tools-items %}
|
||||
<li>
|
||||
<a href="{{download_url}}">
|
||||
Download file
|
||||
</a>
|
||||
</li>
|
||||
{{ block.super }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{{ block.super }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user