From bbd4d3e62df13194106eecb35464253d4a789237 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sun, 29 Jan 2023 04:19:04 +0100 Subject: [PATCH] Render components instead of partials in headers We were using partials to render components in order to ease the transition of custom code from earlier versions of Consul. However, that was back in Consul 1.4, and now these views looked a bit messy since they sometimes rendered components and sometimes they rendered partials. --- app/components/layout/admin_header_component.html.erb | 2 +- app/views/layouts/_header.html.erb | 6 +++--- app/views/shared/_locale_switcher.html.erb | 1 - app/views/shared/_top_links.html.erb | 1 - 4 files changed, 4 insertions(+), 6 deletions(-) delete mode 100644 app/views/shared/_locale_switcher.html.erb delete mode 100644 app/views/shared/_top_links.html.erb diff --git a/app/components/layout/admin_header_component.html.erb b/app/components/layout/admin_header_component.html.erb index 457594448..9975ed46d 100644 --- a/app/components/layout/admin_header_component.html.erb +++ b/app/components/layout/admin_header_component.html.erb @@ -1,6 +1,6 @@