diff --git a/app/views/DS/category_select/_option.html.erb b/app/views/DS/category_select/_option.html.erb index 8f2a36ce2..157afb49c 100644 --- a/app/views/DS/category_select/_option.html.erb +++ b/app/views/DS/category_select/_option.html.erb @@ -25,7 +25,7 @@ <%= view_helpers.render partial: "categories/badge", - formats: [ :html ], + formats: [ :html ], locals: { category: category } %> diff --git a/app/views/impersonation_sessions/_approval_bar.html.erb b/app/views/impersonation_sessions/_approval_bar.html.erb index 818fd4ec6..90821b2fa 100644 --- a/app/views/impersonation_sessions/_approval_bar.html.erb +++ b/app/views/impersonation_sessions/_approval_bar.html.erb @@ -1,12 +1,12 @@ <% pending_session = Current.true_user.impersonated_support_sessions.pending.first %> <% in_progress_session = Current.true_user.impersonated_support_sessions.in_progress.first %> -
+
<%= icon "alert-triangle", size: "lg", color: "current", class: "mr-2" %> Access <%= in_progress_session.present? ? "Session" : "Request" %>
-
+
<% if pending_session.present? %>

Sure support staff has requested access to your account (likely to help you with a support request). If you approve the request, all activity they take will be logged for security and audit purposes.

<%= button_to "Approve", approve_impersonation_session_path(pending_session), method: :put, class: "inline-flex items-center px-3 py-1.5 border border-transparent text-sm font-medium rounded-md text-white bg-green-600 hover:bg-green-700 focus:outline-hidden focus:ring-2 focus:ring-offset-2 focus:ring-green-500" %> diff --git a/app/views/impersonation_sessions/_super_admin_bar.html.erb b/app/views/impersonation_sessions/_super_admin_bar.html.erb index a401e3871..9db78f2e3 100644 --- a/app/views/impersonation_sessions/_super_admin_bar.html.erb +++ b/app/views/impersonation_sessions/_super_admin_bar.html.erb @@ -1,4 +1,4 @@ -
+
<%= icon "alert-triangle", size: "lg", color: "current", class: "mr-2" %> <%= t(".super_admin") %> @@ -9,9 +9,9 @@
<% end %> -
+
<% if Current.session.active_impersonator_session.present? %> -
+
<%= t(".impersonating") %>: <%= Current.impersonated_user.email %>
diff --git a/app/views/layouts/print.html.erb b/app/views/layouts/print.html.erb index 582f139bc..b11b75c96 100644 --- a/app/views/layouts/print.html.erb +++ b/app/views/layouts/print.html.erb @@ -10,7 +10,7 @@ - + diff --git a/app/views/pages/changelog.html.erb b/app/views/pages/changelog.html.erb index a31cba62e..524c44849 100644 --- a/app/views/pages/changelog.html.erb +++ b/app/views/pages/changelog.html.erb @@ -9,7 +9,7 @@ <%= image_tag @release_notes[:avatar], class: "rounded-full w-full h-full object-cover" %>
<% else %> -
+
<%= @release_notes[:username]&.first&.upcase || "?" %>
<% end %> diff --git a/app/views/settings/_user_avatar_field.html.erb b/app/views/settings/_user_avatar_field.html.erb index 64f23d9b1..4e3dcad9b 100644 --- a/app/views/settings/_user_avatar_field.html.erb +++ b/app/views/settings/_user_avatar_field.html.erb @@ -5,7 +5,7 @@ diff --git a/app/views/trading212_items/setup_accounts.html.erb b/app/views/trading212_items/setup_accounts.html.erb index 2db6088e2..caca4f17f 100644 --- a/app/views/trading212_items/setup_accounts.html.erb +++ b/app/views/trading212_items/setup_accounts.html.erb @@ -136,7 +136,7 @@ <% end %> <% if @linked_accounts.any? %> -
+
">

<%= t(".linked_accounts.title") %>

<% @linked_accounts.each do |t212_account| %>