From 808f248782177f630cad946cfb1d9ffce450d767 Mon Sep 17 00:00:00 2001 From: Ben Thorner Date: Thu, 24 Mar 2022 12:58:08 +0000 Subject: [PATCH] Rename "page-footer-delete-link" class This doesn't set any deletion-specific attributes so it's valid to just call it "page-footer-link". --- app/assets/stylesheets/components/page-footer.scss | 2 +- app/templates/components/page-footer.html | 2 +- app/templates/views/find-users/user-information.html | 2 +- app/templates/views/jobs/job.html | 2 +- app/templates/views/service-settings.html | 9 +++++---- app/templates/views/templates/template.html | 4 ++-- .../views/uploads/contact-list/contact-list.html | 2 +- .../service_settings/test_service_setting_permissions.py | 2 +- tests/app/main/views/test_service_settings.py | 2 +- 9 files changed, 14 insertions(+), 13 deletions(-) diff --git a/app/assets/stylesheets/components/page-footer.scss b/app/assets/stylesheets/components/page-footer.scss index c1874c397..7d0552d14 100644 --- a/app/assets/stylesheets/components/page-footer.scss +++ b/app/assets/stylesheets/components/page-footer.scss @@ -3,7 +3,7 @@ position: relative; margin-bottom: 30px; - &-delete-link { + &-link { line-height: 40px; padding: 1px 0 0 15px; diff --git a/app/templates/components/page-footer.html b/app/templates/components/page-footer.html index 789318ae7..c4948e4e6 100644 --- a/app/templates/components/page-footer.html +++ b/app/templates/components/page-footer.html @@ -31,7 +31,7 @@ {% endif %} {% if delete_link %} - + {{ delete_link_text }} {% endif %} diff --git a/app/templates/views/find-users/user-information.html b/app/templates/views/find-users/user-information.html index c488856e7..fcc46266e 100644 --- a/app/templates/views/find-users/user-information.html +++ b/app/templates/views/find-users/user-information.html @@ -71,7 +71,7 @@

{% endif %} {% if user.state == 'active' %} - + Archive user diff --git a/app/templates/views/jobs/job.html b/app/templates/views/jobs/job.html index 131ee6b74..19277d36c 100644 --- a/app/templates/views/jobs/job.html +++ b/app/templates/views/jobs/job.html @@ -30,7 +30,7 @@ {% if job.letter_job_can_be_cancelled %}