bullet_train-api 1.2.20 → 1.2.21
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 +6 -8
- data/app/views/account/platform/access_tokens/_menu_item.html.erb +1 -1
- data/app/views/account/platform/access_tokens/edit.html.erb +5 -10
- data/app/views/account/platform/access_tokens/index.html.erb +3 -5
- data/app/views/account/platform/access_tokens/new.html.erb +5 -10
- data/app/views/account/platform/access_tokens/show.html.erb +9 -9
- data/app/views/account/platform/applications/_index.html.erb +5 -7
- data/app/views/account/platform/applications/_menu_item.html.erb +1 -1
- data/app/views/account/platform/applications/edit.html.erb +5 -10
- data/app/views/account/platform/applications/index.html.erb +3 -3
- data/app/views/account/platform/applications/new.html.erb +5 -10
- data/app/views/account/platform/applications/show.html.erb +7 -10
- data/app/views/account/platform/connections/new.html.erb +3 -3
- 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: 1f3e205a97ef3263b6f1ca2831e3605eadb1a17be395406be42b28c3bc1d5df1
|
4
|
+
data.tar.gz: d439c2e3684065f4dfe6cbb618f0b3b95f4b8782db5d2099bc5795f4a9a064e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0057a9c7f59b3a18d6f7d4f6bfe857caf7bf963453f58679d0f7a7c903bb5705b1837f0387f7ca68043ef2aee38ac07793f19468504497c42dec8545eff3d48b
|
7
|
+
data.tar.gz: 3eced895547cc8bd04668ee89f88a68404b31498db91f2e9d4b53c33d17ec15497deee45fbfcc9e599e41f93239facc04f7f8cfd6dde3b9034f5e34cd5f4e09d
|
@@ -9,13 +9,11 @@
|
|
9
9
|
|
10
10
|
<%= action_model_select_controller do %>
|
11
11
|
<%= updates_for context, collection do %>
|
12
|
-
<%= render 'account/shared/box', pagy: pagy do |
|
13
|
-
<%
|
14
|
-
<%
|
15
|
-
<%= t(".contexts.#{context.class.name.underscore}.description") %>
|
16
|
-
<% end %>
|
12
|
+
<%= render 'account/shared/box', pagy: pagy do |box| %>
|
13
|
+
<% box.title t(".contexts.#{context.class.name.underscore}.header") %>
|
14
|
+
<% box.description t(".contexts.#{context.class.name.underscore}.description") %>
|
17
15
|
|
18
|
-
<%
|
16
|
+
<% box.table do %>
|
19
17
|
<% if access_tokens.any? %>
|
20
18
|
<table class="table">
|
21
19
|
<thead>
|
@@ -58,7 +56,7 @@
|
|
58
56
|
<% end %>
|
59
57
|
<% end %>
|
60
58
|
|
61
|
-
<%
|
59
|
+
<% box.actions do %>
|
62
60
|
<% unless hide_actions %>
|
63
61
|
<% if context == application %>
|
64
62
|
<% if can? :create, Platform::AccessToken.new(application: application, provisioned: true) %>
|
@@ -76,7 +74,7 @@
|
|
76
74
|
<% end %>
|
77
75
|
<% end %>
|
78
76
|
|
79
|
-
<%
|
77
|
+
<% box.raw_footer do %>
|
80
78
|
<%# 🚅 super scaffolding will insert new action model index views above this line. %>
|
81
79
|
<% end %>
|
82
80
|
<% end %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
url: main_app.polymorphic_path([:account, current_team, :platform_access_tokens]),
|
4
4
|
label: t('platform/access_tokens.navigation.label'),
|
5
5
|
} do |p| %>
|
6
|
-
<% p.
|
6
|
+
<% p.icon do %>
|
7
7
|
<i class="<%= t('platform/access_tokens.navigation.icon') %>"></i>
|
8
8
|
<% end %>
|
9
9
|
<% end %>
|
@@ -1,12 +1,7 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
6
|
-
<% p.content_for :description, t('.description') %>
|
7
|
-
<% p.content_for :body do %>
|
8
|
-
<%= render 'form', access_token: @access_token %>
|
9
|
-
<% end %>
|
10
|
-
<% end %>
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body.render 'account/shared/box', divider: true do |box| %>
|
4
|
+
<% box.t :description, title: '.header' %>
|
5
|
+
<% box.body.render 'form', access_token: @access_token %>
|
11
6
|
<% end %>
|
12
7
|
<% end %>
|
@@ -1,6 +1,4 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
4
|
-
<%= render 'index', access_tokens: @access_tokens %>
|
5
|
-
<% end %>
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body.render 'index', access_tokens: @access_tokens %>
|
6
4
|
<% end %>
|
@@ -1,12 +1,7 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
6
|
-
<% p.content_for :description, t('.description') %>
|
7
|
-
<% p.content_for :body do %>
|
8
|
-
<%= render 'form', access_token: @access_token %>
|
9
|
-
<% end %>
|
10
|
-
<% end %>
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body.render 'account/shared/box', divider: true do |box| %>
|
4
|
+
<% box.t :description, title: t('.header') %>
|
5
|
+
<% box.body.render 'form', access_token: @access_token %>
|
11
6
|
<% end %>
|
12
7
|
<% end %>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body do %>
|
4
4
|
<%= updates_for @access_token do %>
|
5
|
-
<%= render 'account/shared/box', divider: true do |
|
6
|
-
<%
|
7
|
-
<%
|
5
|
+
<%= render 'account/shared/box', divider: true do |box| %>
|
6
|
+
<% box.title t('.header') %>
|
7
|
+
<% box.description do %>
|
8
8
|
<%= t('.description') %>
|
9
9
|
<%= t('.manage_description') if can? :manage, @access_token %>
|
10
10
|
<% end %>
|
11
11
|
|
12
|
-
<%
|
12
|
+
<% box.body do %>
|
13
13
|
<% with_attribute_settings object: @access_token, strategy: :label do %>
|
14
14
|
<%= render 'shared/attributes/text', attribute: :token %>
|
15
15
|
<%= render 'shared/attributes/date_and_time', attribute: :last_used_at %>
|
@@ -18,14 +18,14 @@
|
|
18
18
|
<% end %>
|
19
19
|
<% end %>
|
20
20
|
|
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
24
|
<%= button_to t('.buttons.destroy'), [:account, @access_token], method: :delete, class: first_button_primary, data: { 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
|
|
28
|
-
<%
|
28
|
+
<% box.raw_footer do %>
|
29
29
|
<%# 🚅 super scaffolding will insert new action model index views above this line. %>
|
30
30
|
<% end %>
|
31
31
|
<% end %>
|
@@ -4,13 +4,11 @@
|
|
4
4
|
<% hide_actions ||= false %>
|
5
5
|
<% hide_back ||= false %>
|
6
6
|
|
7
|
-
<%= render 'account/shared/box' do |
|
8
|
-
<%
|
9
|
-
<%
|
10
|
-
<%= t(".contexts.#{context.class.name.underscore}.description") %>
|
11
|
-
<% end %>
|
7
|
+
<%= render 'account/shared/box' do |box| %>
|
8
|
+
<% box.title t(".contexts.#{context.class.name.underscore}.header") %>
|
9
|
+
<% box.description t(".contexts.#{context.class.name.underscore}.description") %>
|
12
10
|
|
13
|
-
<%
|
11
|
+
<% box.table do %>
|
14
12
|
<% if applications.any? %>
|
15
13
|
<table class="table">
|
16
14
|
<thead>
|
@@ -46,7 +44,7 @@
|
|
46
44
|
<% end %>
|
47
45
|
<% end %>
|
48
46
|
|
49
|
-
<%
|
47
|
+
<% box.actions do %>
|
50
48
|
<% unless hide_actions %>
|
51
49
|
<% if context == team %>
|
52
50
|
<% if can? :create, Platform::Application.new(team: team) %>
|
@@ -3,7 +3,7 @@
|
|
3
3
|
url: main_app.polymorphic_path([:account, current_team, :platform_applications]),
|
4
4
|
label: t('platform/applications.navigation.label'),
|
5
5
|
} do |p| %>
|
6
|
-
<% p.
|
6
|
+
<% p.icon do %>
|
7
7
|
<i class="<%= t('platform/applications.navigation.icon') %>"></i>
|
8
8
|
<% end %>
|
9
9
|
<% end %>
|
@@ -1,12 +1,7 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
6
|
-
<% p.content_for :description, t('.description') %>
|
7
|
-
<% p.content_for :body do %>
|
8
|
-
<%= render 'form', application: @application %>
|
9
|
-
<% end %>
|
10
|
-
<% end %>
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body.render 'account/shared/box', divider: true do |box| %>
|
4
|
+
<% box.t :description, title: '.header' %>
|
5
|
+
<% box.body.render 'form', application: @application %>
|
11
6
|
<% end %>
|
12
7
|
<% end %>
|
@@ -1,6 +1,6 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body do %>
|
4
4
|
<%= render 'index', applications: @applications %>
|
5
5
|
<%= render 'account/platform/access_tokens/index', access_tokens: @team.platform_agent_access_tokens, context: @team %>
|
6
6
|
<% end %>
|
@@ -1,12 +1,7 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
4
|
-
|
5
|
-
|
6
|
-
<% p.content_for :description, t('.description') %>
|
7
|
-
<% p.content_for :body do %>
|
8
|
-
<%= render 'form', application: @application %>
|
9
|
-
<% end %>
|
10
|
-
<% end %>
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body.render 'account/shared/box', divider: true do |box| %>
|
4
|
+
<% box.t :description, title: '.header' %>
|
5
|
+
<% box.body.render 'form', application: @application %>
|
11
6
|
<% end %>
|
12
7
|
<% end %>
|
@@ -1,13 +1,10 @@
|
|
1
|
-
<%= render 'account/shared/page' do |
|
2
|
-
<%
|
3
|
-
<%
|
4
|
-
<%= render 'account/shared/box', divider: true do |
|
5
|
-
<%
|
6
|
-
<% p.content_for :description do %>
|
7
|
-
<%= t('.description') %>
|
8
|
-
<% end %>
|
1
|
+
<%= render 'account/shared/page' do |page| %>
|
2
|
+
<% page.title t('.section') %>
|
3
|
+
<% page.body do %>
|
4
|
+
<%= render 'account/shared/box', divider: true do |box| %>
|
5
|
+
<% box.t :description, title: '.header' %>
|
9
6
|
|
10
|
-
<%
|
7
|
+
<% box.body do %>
|
11
8
|
<% with_attribute_settings object: @application, strategy: :label do %>
|
12
9
|
<%= render 'shared/attributes/text', attribute: :name %>
|
13
10
|
<%= render 'shared/attributes/code', attribute: :uid %>
|
@@ -17,7 +14,7 @@
|
|
17
14
|
<% end %>
|
18
15
|
<% end %>
|
19
16
|
|
20
|
-
<%
|
17
|
+
<% box.actions do %>
|
21
18
|
<%= link_to t('.buttons.edit'), [:edit, :account, @application], class: first_button_primary if can? :edit, @application %>
|
22
19
|
<%= button_to t('.buttons.destroy'), [:account, @application], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@application)) } if can? :destroy, @application %>
|
23
20
|
<%= link_to t('global.buttons.back'), [:account, @team, :platform_applications], class: first_button_primary %>
|
@@ -1,6 +1,6 @@
|
|
1
|
-
<%= render 'account/shared/workflow/box' do |
|
2
|
-
<%
|
3
|
-
<%
|
1
|
+
<%= render 'account/shared/workflow/box' do |box| %>
|
2
|
+
<% box.title t('.header', application_name: @application.name) %>
|
3
|
+
<% box.body do %>
|
4
4
|
<ul class="space-y" data-turbo="false">
|
5
5
|
<% @teams.each do |team| %>
|
6
6
|
<li class="bg-white border overflow-hidden sm:rounded-md dark:bg-slate-400">
|