4751 Enable plugins to inject content within object list views (#10901)

* 4751 add plugin buttons to list templates

* 4751 add plugin buttons to list templates

* 4751 add documentation

* 4751 fix object reference

* 4751 update docs
This commit is contained in:
Arthur Hanson
2022-11-14 10:51:58 -08:00
committed by GitHub
parent a57c937aaa
commit 27bf7b4a9a
5 changed files with 28 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
{% extends 'base/layout.html' %}
{% load buttons %}
{% load helpers %}
{% load plugins %}
{% load render_table from django_tables2 %}
{% load static %}
@@ -24,6 +25,8 @@ Context:
{% block controls %}
<div class="controls">
<div class="control-group">
{% plugin_list_buttons model %}
{% block extra_controls %}{% endblock %}
{% if 'add' in actions %}
{% add_button model %}