From 2f4899dc1f07b8700467aa3a15142bb962bf72f2 Mon Sep 17 00:00:00 2001 From: Mouse Reeve Date: Thu, 30 Dec 2021 19:19:55 -0800 Subject: [PATCH] Remove old modal, new modal is our best friend now --- bookwyrm/templates/author/sync_modal.html | 2 +- bookwyrm/templates/book/cover_add_modal.html | 2 +- .../book/delete_readthrough_modal.html | 2 +- bookwyrm/templates/book/sync_modal.html | 2 +- bookwyrm/templates/components/modal.html | 45 ++++++++----------- bookwyrm/templates/components/new_modal.html | 33 -------------- .../templates/groups/delete_group_modal.html | 2 +- .../templates/lists/delete_list_modal.html | 2 +- .../snippets/reading_modals/layout.html | 2 +- bookwyrm/templates/snippets/report_modal.html | 2 +- 10 files changed, 27 insertions(+), 67 deletions(-) delete mode 100644 bookwyrm/templates/components/new_modal.html diff --git a/bookwyrm/templates/author/sync_modal.html b/bookwyrm/templates/author/sync_modal.html index f171e965..a6e032cb 100644 --- a/bookwyrm/templates/author/sync_modal.html +++ b/bookwyrm/templates/author/sync_modal.html @@ -1,4 +1,4 @@ -{% extends 'components/new_modal.html' %} +{% extends 'components/modal.html' %} {% load i18n %} {% block modal-title %} diff --git a/bookwyrm/templates/book/cover_add_modal.html b/bookwyrm/templates/book/cover_add_modal.html index 855e52f4..e8207ff4 100644 --- a/bookwyrm/templates/book/cover_add_modal.html +++ b/bookwyrm/templates/book/cover_add_modal.html @@ -1,4 +1,4 @@ -{% extends 'components/new_modal.html' %} +{% extends 'components/modal.html' %} {% load i18n %} {% block modal-title %} diff --git a/bookwyrm/templates/book/delete_readthrough_modal.html b/bookwyrm/templates/book/delete_readthrough_modal.html index 217d96d8..5b3a74cc 100644 --- a/bookwyrm/templates/book/delete_readthrough_modal.html +++ b/bookwyrm/templates/book/delete_readthrough_modal.html @@ -1,4 +1,4 @@ -{% extends 'components/new_modal.html' %} +{% extends 'components/modal.html' %} {% load i18n %} {% block modal-title %}{% trans "Delete these read dates?" %}{% endblock %} diff --git a/bookwyrm/templates/book/sync_modal.html b/bookwyrm/templates/book/sync_modal.html index b0a8cf48..6e5df0c0 100644 --- a/bookwyrm/templates/book/sync_modal.html +++ b/bookwyrm/templates/book/sync_modal.html @@ -1,4 +1,4 @@ -{% extends 'components/new_modal.html' %} +{% extends 'components/modal.html' %} {% load i18n %} {% block modal-title %} diff --git a/bookwyrm/templates/components/modal.html b/bookwyrm/templates/components/modal.html index 2eabd2e2..38cfc699 100644 --- a/bookwyrm/templates/components/modal.html +++ b/bookwyrm/templates/components/modal.html @@ -1,40 +1,33 @@ {% load i18n %} -