bullet_train-api 1.20.0 → 1.21.1
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/platform/access_tokens/_index.html.erb +1 -1
- data/app/views/account/platform/access_tokens/show.html.erb +1 -1
- data/app/views/account/platform/applications/_index.html.erb +1 -1
- data/app/views/account/platform/applications/show.html.erb +1 -1
- data/lib/bullet_train/api/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: 0cc7361e38527a5ca7fbc9b6bf36fd988a16f0ccc2180f5f28c8657735fbd725
|
4
|
+
data.tar.gz: cedc02f621eea399406289cfe5dc05d34749796d3bcd665b49ec2d7075d7dd2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 889cc44e12f07d4eac3425f5fc8c94897e59ba136e8039eb6f9053933aed8be90ce29f0e985f2951b8044752112142c04b460b1bb71fabaff27e89897537502c
|
7
|
+
data.tar.gz: a9c14fd2d334dea0516e6807d0f2baff36d6a87039eff49152cfaa7015bf509efeb11e2f57b68ce5ab3f9a7e15330c105d829a6737315af192b4476fc1984f82
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<%= link_to t('.buttons.shorthand.edit'), [:edit, :account, access_token], class: 'button-secondary button-smaller' %>
|
44
44
|
<% end %>
|
45
45
|
<% if can? :destroy, access_token %>
|
46
|
-
<%= button_to t('.buttons.shorthand.destroy'), [:account, access_token], method: :delete, data: {
|
46
|
+
<%= button_to t('.buttons.shorthand.destroy'), [:account, access_token], method: :delete, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(access_token)) }, class: 'button-secondary button-smaller' %>
|
47
47
|
<% end %>
|
48
48
|
<%# 🚅 super scaffolding will insert new action model buttons above this line. %>
|
49
49
|
<% end %>
|
@@ -21,7 +21,7 @@
|
|
21
21
|
<% box.actions do %>
|
22
22
|
<%= link_to t('.buttons.edit'), [:edit, :account, @access_token], class: first_button_primary if can? :edit, @access_token %>
|
23
23
|
<%# 🚅 super scaffolding will insert new action model buttons above this line. %>
|
24
|
-
<%= button_to t('.buttons.destroy'), [:account, @access_token], method: :delete, class: first_button_primary, data: {
|
24
|
+
<%= button_to t('.buttons.destroy'), [:account, @access_token], method: :delete, class: first_button_primary, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(@access_token)) } if can? :destroy, @access_token %>
|
25
25
|
<%= link_to t('global.buttons.back'), [:account, @application, :access_tokens], class: first_button_primary %>
|
26
26
|
<% end %>
|
27
27
|
|
@@ -32,7 +32,7 @@
|
|
32
32
|
<%= link_to t('.buttons.shorthand.edit'), [:edit, :account, application], class: 'button-secondary button-smaller' %>
|
33
33
|
<% end %>
|
34
34
|
<% if can? :destroy, application %>
|
35
|
-
<%= button_to t('.buttons.shorthand.destroy'), [:account, application], method: :delete, data: {
|
35
|
+
<%= button_to t('.buttons.shorthand.destroy'), [:account, application], method: :delete, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(application)) }, class: 'button-secondary button-smaller' %>
|
36
36
|
<% end %>
|
37
37
|
<% end %>
|
38
38
|
</td>
|
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
<% box.actions do %>
|
18
18
|
<%= link_to t('.buttons.edit'), [:edit, :account, @application], class: first_button_primary if can? :edit, @application %>
|
19
|
-
<%= button_to t('.buttons.destroy'), [:account, @application], method: :delete, class: first_button_primary, data: {
|
19
|
+
<%= button_to t('.buttons.destroy'), [:account, @application], method: :delete, class: first_button_primary, data: { turbo_confirm: t('.buttons.confirmations.destroy', model_locales(@application)) } if can? :destroy, @application %>
|
20
20
|
<%= link_to t('global.buttons.back'), [:account, @team, :platform_applications], class: first_button_primary %>
|
21
21
|
<% end %>
|
22
22
|
<% end %>
|