From 2912e59c4f035cb32cc2d639b00e454c9e263ab5 Mon Sep 17 00:00:00 2001 From: Miroslav Hettes Date: Mon, 16 Oct 2023 18:42:16 +0200 Subject: [PATCH] Use different color --- app/components/message_threads_bulk_actions_component.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/message_threads_bulk_actions_component.html.erb b/app/components/message_threads_bulk_actions_component.html.erb index bd7f39db2..de50acb24 100644 --- a/app/components/message_threads_bulk_actions_component.html.erb +++ b/app/components/message_threads_bulk_actions_component.html.erb @@ -7,7 +7,7 @@

Správy v schránke

<% if @ids.present? %> - <%= submit_tag 'Spojiť vlákna', name: 'merge', title: (@ids.length < 2 ? "Označte aspoň dve vlákna" : "Spojiť označené vlákna do jedného"), disabled: @ids.length < 2, data: { turbo_confirm: 'Naozaj chcete spojiť označené vlákna do jedného?' }, class: "flex justify-center items-center gap-2.5 px-3.5 py-2.5 rounded-md #{@ids.length < 2 ? "bg-gray-400" : "bg-blue-600"} text-base font-medium text-left text-white hover:cursor-pointer" %> + <%= submit_tag 'Spojiť vlákna', name: 'merge', title: (@ids.length < 2 ? "Označte aspoň dve vlákna" : "Spojiť označené vlákna do jedného"), disabled: @ids.length < 2, data: { turbo_confirm: 'Naozaj chcete spojiť označené vlákna do jedného?' }, class: "flex justify-center items-center gap-2.5 px-3.5 py-2.5 rounded-md #{@ids.length < 2 ? "bg-gray-300" : "bg-blue-600"} text-base font-medium text-left text-white hover:cursor-pointer" %> <% end %> <% end %>