Closes #10242: Redirect to filtered objects list after bulk import (#12001)

* Redirect user to filtered objects list after bulk import

* Remove obsolete table attribute from bulk import views
This commit is contained in:
Jeremy Stretch
2023-03-17 09:23:40 -04:00
committed by GitHub
parent 6e4c4c4342
commit 206d578bc3
15 changed files with 17 additions and 108 deletions

View File

@@ -1,17 +0,0 @@
{% extends 'base/layout.html' %}
{% load render_table from django_tables2 %}
{% block title %}Import Completed{% endblock %}
{% block content %}
<div class="table-responsive">
{% render_table table 'inc/table.html' %}
</div>
{% if return_url %}
<a href="{{ return_url }}" class="btn btn-outline-dark">View All</a>
{% endif %}
<a href="{{ request.path }}" class="btn btn-primary">
<span class="mdi mdi-database-import-outline" aria-hidden="true"></span>
Import More
</a>
{% endblock content %}