diff --git a/app/views/settings/api_keys/created.html.erb b/app/views/settings/api_keys/created.html.erb index d0c4e7bcab..0d79d3a895 100644 --- a/app/views/settings/api_keys/created.html.erb +++ b/app/views/settings/api_keys/created.html.erb @@ -24,12 +24,22 @@
<%= @api_key.plain_key %>
- <%= render DS::Button.new(
- text: t(".copy_key"),
- variant: "ghost",
- icon: "copy",
- data: { action: "clipboard#copy" }
- ) %>
+
+ <%= render DS::Button.new(
+ text: t(".copy_key"),
+ variant: "ghost",
+ icon: "copy",
+ data: { action: "clipboard#copy" }
+ ) %>
+
+
+ <%= render DS::Button.new(
+ text: t(".copied"),
+ variant: "ghost",
+ icon: "check",
+ data: { action: "clipboard#copy" }
+ ) %>
+
<%= @current_api_key.plain_key %>
- <%= render DS::Button.new(
- text: t(".newly_created.copy_api_key"),
- variant: "ghost",
- icon: "copy",
- data: { action: "clipboard#copy" }
- ) %>
+
+ <%= render DS::Button.new(
+ text: t(".newly_created.copy_api_key"),
+ variant: "ghost",
+ icon: "copy",
+ data: { action: "clipboard#copy" }
+ ) %>
+
+
+ <%= render DS::Button.new(
+ text: t(".newly_created.copied"),
+ variant: "ghost",
+ icon: "check",
+ data: { action: "clipboard#copy" }
+ ) %>
+
<%= @current_api_key.plain_key %>
- <%= render DS::Button.new(
- text: t(".current_api_key.copy_api_key"),
- variant: "ghost",
- icon: "copy",
- data: { action: "clipboard#copy" }
- ) %>
+
+ <%= render DS::Button.new(
+ text: t(".current_api_key.copy_api_key"),
+ variant: "ghost",
+ icon: "copy",
+ data: { action: "clipboard#copy" }
+ ) %>
+
+
+ <%= render DS::Button.new(
+ text: t(".current_api_key.copied"),
+ variant: "ghost",
+ icon: "check",
+ data: { action: "clipboard#copy" }
+ ) %>
+