mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-05-01 11:19:32 -05:00

- Debug mode is now configurable in the configuration file. This way, we don't have to edit versioned files to disable it on production systems. - Recent correspondents filter (enable in configuration file) - Document actions: Edit tags and correspondents on multiple documents at once - Replaced month list filter with date drilldown - Sortable document count columns on Tag and Correspondent admin - Last correspondence column on Correspondent admin - Save and edit next functionality for document editing
30 lines
712 B
HTML
30 lines
712 B
HTML
{% extends 'admin/change_form.html' %}
|
|
|
|
{% block content %}
|
|
|
|
{{ block.super }}
|
|
|
|
{% if next_object %}
|
|
<script type="text/javascript">//<![CDATA[
|
|
(function($){
|
|
$('<input type="submit" value="Save and edit next" name="_saveandeditnext" />')
|
|
.prependTo('div.submit-row');
|
|
$('<input type="hidden" value="{{next_object}}" name="_next_object" />')
|
|
.prependTo('div.submit-row');
|
|
})(django.jQuery);
|
|
//]]></script>
|
|
{% endif %}
|
|
|
|
{% endblock content %}
|
|
|
|
{% block footer %}
|
|
|
|
{{ block.super }}
|
|
|
|
{# Hack to force Django to make the created date a date input rather than `text` (the default) #}
|
|
<script>
|
|
django.jQuery(".field-created input").first().attr("type", "date")
|
|
</script>
|
|
|
|
{% endblock footer %}
|