diff --git a/app/views/accounts/confirm_unlink.html.erb b/app/views/accounts/confirm_unlink.html.erb index 5b77c4808..e61cfd925 100644 --- a/app/views/accounts/confirm_unlink.html.erb +++ b/app/views/accounts/confirm_unlink.html.erb @@ -6,19 +6,15 @@ <%= t("accounts.confirm_unlink.description_html", account_name: @account.name, provider_name: @account.provider_name) %>
-<%= t("accounts.confirm_unlink.warning_title") %>
-+
<%= t("oidc_accounts.link.verify_description_html", provider: @pending_auth["provider"], email_suffix: email_suffix).html_safe %>
+ <% end %><%= t("oidc_accounts.link.verify_hint") %>
- <%= t("oidc_accounts.link.create_description_html", email: @pending_auth["email"], provider: @pending_auth["provider"]).html_safe %> -
+<%= t("oidc_accounts.link.create_description_html", email: @pending_auth["email"], provider: @pending_auth["provider"]).html_safe %>
+ <% end %>- <%= t("oidc_accounts.new_user.description", provider: @pending_auth["provider"]) %> -
+<%= t(".ai_cost_title") %>
- <% if @estimated_cost.present? %> -- <%= t(".ai_cost_with_estimate_html", count: affected_count, cost: sprintf("%.4f", @estimated_cost)) %> -
- <% else %> -- <%= t(".ai_cost_no_estimate_html", count: affected_count) %> - <% if @selected_model.present? %> - <%= t(".cost_unavailable_model", model: @selected_model) %> - <% else %> - <%= t(".cost_unavailable_no_provider") %> - <% end %> - <%= t(".cost_warning") %> -
- <% end %> -- <%= link_to t(".view_usage_history"), settings_llm_usage_path, class: "underline hover:text-blue-800" %> +
<%= t(".ai_cost_with_estimate_html", count: affected_count, cost: sprintf("%.4f", @estimated_cost)) %>
+ <% else %> ++ <%= t(".ai_cost_no_estimate_html", count: affected_count) %> + <% if @selected_model.present? %> + <%= t(".cost_unavailable_model", model: @selected_model) %> + <% else %> + <%= t(".cost_unavailable_no_provider") %> + <% end %> + <%= t(".cost_warning") %>
-+ <%= link_to t(".view_usage_history"), settings_llm_usage_path, class: "text-link underline" %> +
+ <% end %><%= t("rules.apply_all.ai_cost_title") %>
- <% if @estimated_cost.present? %> -- <%= t("rules.apply_all.ai_cost_message", transactions: @total_affected_count) %> - <%= t("rules.apply_all.estimated_cost", cost: sprintf("%.4f", @estimated_cost)) %> -
- <% else %> -- <%= t("rules.apply_all.ai_cost_message", transactions: @total_affected_count) %> - <% if @selected_model.present? %> - <%= t("rules.apply_all.cost_unavailable_model", model: @selected_model) %> - <% else %> - <%= t("rules.apply_all.cost_unavailable_no_provider") %> - <% end %> - <%= t("rules.apply_all.cost_warning") %> -
- <% end %> -- <%= link_to t("rules.apply_all.view_usage"), settings_llm_usage_path, class: "underline hover:text-blue-800" %> +
+ <%= t("rules.apply_all.ai_cost_message", transactions: @total_affected_count) %> + <%= t("rules.apply_all.estimated_cost", cost: sprintf("%.4f", @estimated_cost)) %>
-+ <%= t("rules.apply_all.ai_cost_message", transactions: @total_affected_count) %> + <% if @selected_model.present? %> + <%= t("rules.apply_all.cost_unavailable_model", model: @selected_model) %> + <% else %> + <%= t("rules.apply_all.cost_unavailable_no_provider") %> + <% end %> + <%= t("rules.apply_all.cost_warning") %> +
+ <% end %> ++ <%= link_to t("rules.apply_all.view_usage"), settings_llm_usage_path, class: "text-link underline" %> +
+ <% end %><%= t(".cost_estimates_title") %>
-- <%= t(".cost_estimates_description") %> -
-