From c503192e1473a4cf2a3bf5c137ed80ab350452cc Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 3 Jul 2023 15:56:18 +0200 Subject: [PATCH] remove hard coded text for theme on dashboard --- app/views/admin/dashboard/index.html.erb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/app/views/admin/dashboard/index.html.erb b/app/views/admin/dashboard/index.html.erb index ef07a75c9..ce3bd0889 100644 --- a/app/views/admin/dashboard/index.html.erb +++ b/app/views/admin/dashboard/index.html.erb @@ -12,19 +12,6 @@ <div class="row mb-5"> <div class="col-md-6 pb-4"> <%= osuny_panel t('hello', name: current_user.first_name) do %> - <% if current_admin_theme == 'appstack' %> - <p> - Vous utilisez l'ancien thème d'administration, "Appstack". - Voulez-vous utiliser le nouveau thème, "Pure" ? - <%= link_to 'Changer de thème', admin_set_theme_path(theme: 'pure'), method: :put %> - </p> - <% else %> - <p> - Vous utilisez le thème "Pure" pour l'administration. - Voulez-vous utiliser l'ancien thème, "Appstack" ? - <%= link_to 'Changer de thème', admin_set_theme_path(theme: 'appstack'), method: :put %> - </p> - <% end %> <% end %> </div> <div class="col-md-6 pb-4"> -- GitLab