diff --git a/CHANGELOG.txt b/CHANGELOG.txt index a7b206dedb..3b1833e754 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -10,6 +10,7 @@ Changelog * Fix: Re-add 'Close Explorer' button on mobile viewports (Sævar Öfjörð Magnússon) * Fix: Add a more descriptive label to Password reset link for screen reader users (Casper Timmers, Martin Coote) * Fix: Improve Wagtail logo contrast by adding a background (Brian Edelman, Simon Evans, Ben Enright) + * Support the rel attribute on custom ModelAdmin buttons (Andy Chosak) 2.8 (xx.xx.xxxx) - IN DEVELOPMENT diff --git a/docs/releases/2.9.rst b/docs/releases/2.9.rst index 602b44799a..1fa1607df2 100644 --- a/docs/releases/2.9.rst +++ b/docs/releases/2.9.rst @@ -15,6 +15,7 @@ Other features ~~~~~~~~~~~~~~ * Reduced contrast of rich text toolbar (Jack Paine) + * Support the rel attribute on custom ModelAdmin buttons (Andy Chosak) Bug fixes diff --git a/wagtail/contrib/modeladmin/templates/modeladmin/includes/button.html b/wagtail/contrib/modeladmin/templates/modeladmin/includes/button.html index eabc958cd8..67854d728a 100644 --- a/wagtail/contrib/modeladmin/templates/modeladmin/includes/button.html +++ b/wagtail/contrib/modeladmin/templates/modeladmin/includes/button.html @@ -1 +1 @@ -{{ button.label }} +{{ button.label }}