bullet_train-integrations-stripe 1.20.0 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/views/account/integrations/stripe_installations/_index.html.erb +1 -1
- data/app/views/account/integrations/stripe_installations/_list.html.erb +1 -1
- data/app/views/account/integrations/stripe_installations/show.html.erb +1 -1
- data/app/views/account/oauth/stripe_accounts/_index.html.erb +1 -1
- data/app/views/account/oauth/stripe_accounts/show.html.erb +1 -1
- data/lib/bullet_train/integrations/stripe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38e9fbcc337da1e11f67819a72be198d909352a8617bfc9b953cabc779e291c4
|
4
|
+
data.tar.gz: 85dfe7726a30e2835cd49710bc99809bfd0cbfa9d0e14058e9ae6db621c86377
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d131db857e8e9593198e6e0c0f4b040273325aa913aba51b7a6c13aea73b83ba601a3c77759dfa6bf782037e2dd1e4777894a122432aa60c06acdfd2fc8335de
|
7
|
+
data.tar.gz: aa3bf7bb329c790d0a7019dc7d331a62bd8106eb70a62d4e7d83cdfbd7cf6062b2defada0f8542a7776d9213eef224caed0c80c8d354198928420b491135bf63
|
@@ -22,7 +22,7 @@
|
|
22
22
|
<% end %>
|
23
23
|
|
24
24
|
<% if can? :destroy, stripe_installation %>
|
25
|
-
<%= link_to [:account, stripe_installation, return_to: request.path],
|
25
|
+
<%= link_to [:account, stripe_installation, return_to: request.path], data: { turbo_method: :delete, turbo_confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline text-lg' do %>
|
26
26
|
<i class="ti ti-close"></i>
|
27
27
|
<% end %>
|
28
28
|
<% end %>
|
@@ -19,7 +19,7 @@
|
|
19
19
|
</div>
|
20
20
|
<div class="flex-0 min-w-0 space-x-2 text-lg">
|
21
21
|
<% if can? :destroy, stripe_installation %>
|
22
|
-
<%= link_to [:account, stripe_installation, return_to: request.path],
|
22
|
+
<%= link_to [:account, stripe_installation, return_to: request.path], data: { turbo_method: :delete, turbo_confirm: t('.buttons.confirmations.destroy_from_user', team_name: stripe_installation.team.label_string) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %>
|
23
23
|
<i class="ti ti-close"></i>
|
24
24
|
<% end %>
|
25
25
|
<% end %>
|
@@ -17,7 +17,7 @@
|
|
17
17
|
|
18
18
|
<% box.actions do %>
|
19
19
|
<%= link_to t('.buttons.edit'), [:edit, :account, @stripe_installation], class: first_button_primary if can? :edit, @stripe_installation %>
|
20
|
-
<%= button_to t('.buttons.destroy'), [:account, @stripe_installation], method: :delete, class: first_button_primary, data: {
|
20
|
+
<%= button_to t('.buttons.destroy'), [:account, @stripe_installation], method: :delete, class: first_button_primary, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(@stripe_installation)) } if can? :destroy, @stripe_installation %>
|
21
21
|
<%= link_to t('global.buttons.back'), [:account, @team, :integrations_stripe_installations], class: first_button_primary %>
|
22
22
|
<% end %>
|
23
23
|
<% end %>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
</div>
|
22
22
|
<div class="flex-0 min-w-0 space-x-2 text-lg">
|
23
23
|
<% if can? :destroy, stripe_account %>
|
24
|
-
<%= link_to [:account, stripe_account],
|
24
|
+
<%= link_to [:account, stripe_account], data: { turbo_method: :delete, turbo_confirm: t('.buttons.confirmations.destroy', model_locales(stripe_account)) }, class: 'inline-block text-slate-300 hover:text-slate-400 hover:no-underline' do %>
|
25
25
|
<i class="ti ti-close"></i>
|
26
26
|
<% end %>
|
27
27
|
<% end %>
|
@@ -5,7 +5,7 @@
|
|
5
5
|
<% box.t :description, title: '.header' %>
|
6
6
|
<% box.actions do %>
|
7
7
|
<%= link_to t('.buttons.edit'), [:edit, :account, @stripe_account], class: first_button_primary if can? :edit, @stripe_account %>
|
8
|
-
<%= button_to t('.buttons.destroy'), [:account, @stripe_account], method: :delete, class: first_button_primary, data: {
|
8
|
+
<%= button_to t('.buttons.destroy'), [:account, @stripe_account], method: :delete, class: first_button_primary, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(@stripe_account)) } if can? :destroy, @stripe_account %>
|
9
9
|
<%= link_to t('global.buttons.back'), [:account, @user, :oauth_stripe_accounts], class: first_button_primary %>
|
10
10
|
<% end %>
|
11
11
|
<% end %>
|