From 83afd9f8822676409ce3d16f23492f03306e9d16 Mon Sep 17 00:00:00 2001 From: Ridhwana Date: Tue, 17 Jan 2023 17:07:09 +0200 Subject: [PATCH] Standardize (but also add consistent) headers on the admin (#18936) * feat: update rubocop to fix some erb_lint errors * standardize and add headers * feat: update gemfile * feat: revert change * feat: rename gdpr delete requests to gdpr actions * feat: remove the margin for consistency * feat: add a skeleton for the api/v1/followers/users spec * feat: add the operation block * feat: add two global schema parameters * feat: add a 'sort' parameter * feat: add a successful response * feat: add an unauthorized response * feat: generate the json * fix: indentation * fix: oops remove the spec --- app/views/admin/comments/index.html.erb | 2 ++ app/views/admin/display_ads/index.html.erb | 4 +++- app/views/admin/gdpr_delete_requests/index.html.erb | 8 ++++---- app/views/admin/html_variants/index.html.erb | 2 ++ app/views/admin/invitations/index.html.erb | 2 +- app/views/admin/moderator_actions/index.html.erb | 1 + app/views/admin/mods/index.html.erb | 6 ++++-- app/views/admin/navigation_links/index.html.erb | 2 +- app/views/admin/organizations/index.html.erb | 4 +++- app/views/admin/podcasts/index.html.erb | 4 +++- app/views/admin/privileged_reactions/index.html.erb | 2 ++ app/views/admin/profile_fields/index.html.erb | 1 + app/views/admin/tags/edit.html.erb | 2 +- app/views/admin/tags/index.html.erb | 2 ++ app/views/admin/tags/new.html.erb | 2 +- .../adminFlows/users/gdprDeleteRequests.spec.js | 12 ++++++------ 16 files changed, 37 insertions(+), 19 deletions(-) diff --git a/app/views/admin/comments/index.html.erb b/app/views/admin/comments/index.html.erb index ebd3e4ce9..4e726b85b 100644 --- a/app/views/admin/comments/index.html.erb +++ b/app/views/admin/comments/index.html.erb @@ -1,3 +1,5 @@ +

Comments

+ <%= paginate @comments %>
diff --git a/app/views/admin/display_ads/index.html.erb b/app/views/admin/display_ads/index.html.erb index 715356cb2..99ea6bb73 100644 --- a/app/views/admin/display_ads/index.html.erb +++ b/app/views/admin/display_ads/index.html.erb @@ -1,3 +1,5 @@ +

Display Ads

+