From 5bf6e72d56b8da69701029b2f5c836babb5629d3 Mon Sep 17 00:00:00 2001 From: B_Rass Date: Wed, 23 Oct 2024 12:04:17 +0200 Subject: [PATCH] Clean action_buttons --- app/views/rooms/_action_buttons.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/rooms/_action_buttons.html.erb b/app/views/rooms/_action_buttons.html.erb index 46b86b191..d1746af96 100644 --- a/app/views/rooms/_action_buttons.html.erb +++ b/app/views/rooms/_action_buttons.html.erb @@ -34,17 +34,17 @@ <% if view_side == Frame::VIEW_SIDES[:both] %> - <%= content_tag :div, class: 'btn btn-sm btn-primary disabled' do %> + <%= content_tag :div, class: 'btn btn-sm btn-outline-primary disabled' do %> <%= Frame.human_attribute_name("view_sides.both") %> <% end %> <% else %> - <%= link_to url_for(params.except(:controller, :action).permit(:view, :islet, :id, :bg, :format).merge({view: (view_side == Frame::VIEW_SIDES[:back] ? Frame::VIEW_SIDES[:front] : Frame::VIEW_SIDES[:back]), islet: params['islet'], id: params['id']})), class: "btn btn-sm btn-primary align-items-center", remote: true do %> + <%= link_to url_for(params.except(:controller, :action).permit(:view, :islet, :id, :bg, :format).merge({view: (view_side == Frame::VIEW_SIDES[:back] ? Frame::VIEW_SIDES[:front] : Frame::VIEW_SIDES[:back]), islet: params['islet'], id: params['id']})), class: "btn btn-sm btn-outline-primary align-items-center", remote: true do %> <%= Frame.human_attribute_name("view_sides.#{view_side}") %> <% end %> <% end %> - <%= link_to "#", class: 'btn btn-sm btn-primary align-items-center', id: 'drag-n-drop-switcher' do %> + <%= link_to "#", class: 'btn btn-sm btn-outline-primary align-items-center', id: 'drag-n-drop-switcher' do %> <%= t(".dragn_drop.enable") %> <% end %>