bullet_train-outgoing_webhooks 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/webhooks/outgoing/deliveries/_index.html.erb +5 -7
- data/app/views/account/webhooks/outgoing/deliveries/_menu_item.html.erb +1 -1
- data/app/views/account/webhooks/outgoing/deliveries/edit.html.erb +5 -10
- data/app/views/account/webhooks/outgoing/deliveries/index.html.erb +3 -5
- data/app/views/account/webhooks/outgoing/deliveries/new.html.erb +5 -10
- data/app/views/account/webhooks/outgoing/deliveries/show.html.erb +8 -8
- data/app/views/account/webhooks/outgoing/delivery_attempts/_index.html.erb +5 -7
- data/app/views/account/webhooks/outgoing/delivery_attempts/_menu_item.html.erb +1 -1
- data/app/views/account/webhooks/outgoing/delivery_attempts/edit.html.erb +5 -10
- data/app/views/account/webhooks/outgoing/delivery_attempts/index.html.erb +3 -5
- data/app/views/account/webhooks/outgoing/delivery_attempts/new.html.erb +5 -10
- data/app/views/account/webhooks/outgoing/delivery_attempts/show.html.erb +8 -8
- data/app/views/account/webhooks/outgoing/endpoints/_index.html.erb +5 -7
- data/app/views/account/webhooks/outgoing/endpoints/_menu_item.html.erb +1 -1
- data/app/views/account/webhooks/outgoing/endpoints/edit.html.erb +5 -10
- data/app/views/account/webhooks/outgoing/endpoints/index.html.erb +3 -5
- data/app/views/account/webhooks/outgoing/endpoints/new.html.erb +5 -10
- data/app/views/account/webhooks/outgoing/endpoints/show.html.erb +8 -8
- data/lib/bullet_train/outgoing_webhooks/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: 4a1893efb4249f57ea9ce43205fd8e1a85167498e528c99f03a7dbd5da60a910
         | 
| 4 | 
            +
              data.tar.gz: d6a8b69ec8547ba89927ae45b1f3a630a0dc293fcf6f5e1a21a066fdf65a6834
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: a98a312db63031ae377ef21aa111ff8590423020f76004c74823ceb6b9ef2e3f8e86e52e51f66ffb322fb649c29a9b7d24daec79298ce034e4e4790e0907206d
         | 
| 7 | 
            +
              data.tar.gz: a7816aafb5c507a87c902e9cd931c3f75843b6b4da51e8a37f38e2ee7defbc0b80cf3a6e6631511cb46ba6528ee2aec11eac472e3a95d7d517b0c8fbc24bb879
         | 
| @@ -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 deliveries.any? %>
         | 
| 15 13 | 
             
                  <table class="table">
         | 
| 16 14 | 
             
                    <thead>
         | 
| @@ -57,7 +55,7 @@ | |
| 57 55 | 
             
                <% end %>
         | 
| 58 56 | 
             
              <% end %>
         | 
| 59 57 |  | 
| 60 | 
            -
              <%  | 
| 58 | 
            +
              <% box.actions do %>
         | 
| 61 59 | 
             
                <% unless hide_actions %>
         | 
| 62 60 | 
             
                  <% if context == endpoint %>
         | 
| 63 61 | 
             
                    <% if can? :create, Webhooks::Outgoing::Delivery.new(endpoint: endpoint) %>
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
                url: main_app.polymorphic_path([:account, send(BulletTrain::OutgoingWebhooks.current_parent_method), :webhooks_outgoing_deliveries]),
         | 
| 4 4 | 
             
                label: t('webhooks/outgoing/deliveries.navigation.label'),
         | 
| 5 5 | 
             
              } do |p| %>
         | 
| 6 | 
            -
                <% p. | 
| 6 | 
            +
                <% p.icon do %>
         | 
| 7 7 | 
             
                  <i class="<%= t('webhooks/outgoing/deliveries.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', delivery: @delivery %>
         | 
| 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', delivery: @delivery %>
         | 
| 11 6 | 
             
              <% end %>
         | 
| 12 7 | 
             
            <% end %>
         | 
| @@ -1,6 +1,4 @@ | |
| 1 | 
            -
            <%= render 'account/shared/page' do | | 
| 2 | 
            -
              <%  | 
| 3 | 
            -
              <%  | 
| 4 | 
            -
                <%= render 'index', deliveries: @deliveries %>
         | 
| 5 | 
            -
              <% end %>
         | 
| 1 | 
            +
            <%= render 'account/shared/page' do |page| %>
         | 
| 2 | 
            +
              <% page.title t('.section') %>
         | 
| 3 | 
            +
              <% page.body.render 'index', deliveries: @deliveries %>
         | 
| 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', delivery: @delivery %>
         | 
| 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', delivery: @delivery %>
         | 
| 11 6 | 
             
              <% end %>
         | 
| 12 7 | 
             
            <% end %>
         | 
| @@ -1,14 +1,14 @@ | |
| 1 | 
            -
            <%= render 'account/shared/page' do | | 
| 2 | 
            -
              <%  | 
| 3 | 
            -
              <%  | 
| 4 | 
            -
                <%= render 'account/shared/box', divider: true do | | 
| 5 | 
            -
                  <%  | 
| 6 | 
            -
                  <%  | 
| 1 | 
            +
            <%= render 'account/shared/page' do |page| %>
         | 
| 2 | 
            +
              <% page.title t('.section').html_safe %>
         | 
| 3 | 
            +
              <% page.body do %>
         | 
| 4 | 
            +
                <%= render 'account/shared/box', divider: true do |box| %>
         | 
| 5 | 
            +
                  <% box.title t('.header') %>
         | 
| 6 | 
            +
                  <% box.description do %>
         | 
| 7 7 | 
             
                    <%= t('.description').html_safe %>
         | 
| 8 8 | 
             
                    <%= t('.manage_description') if can? :manage, @delivery %>
         | 
| 9 9 | 
             
                  <% end %>
         | 
| 10 10 |  | 
| 11 | 
            -
                  <%  | 
| 11 | 
            +
                  <% box.body do %>
         | 
| 12 12 | 
             
                    <% with_attribute_settings object: @delivery, strategy: :label do %>
         | 
| 13 13 | 
             
                      <% with_attribute_settings object: @delivery.event do %>
         | 
| 14 14 | 
             
                        <%= render 'shared/attributes/code', attribute: :uuid %>
         | 
| @@ -24,7 +24,7 @@ | |
| 24 24 | 
             
                    <% end %>
         | 
| 25 25 | 
             
                  <% end %>
         | 
| 26 26 |  | 
| 27 | 
            -
                  <%  | 
| 27 | 
            +
                  <% box.actions do %>
         | 
| 28 28 | 
             
                    <%= link_to t('.buttons.edit'), [:edit, :account, @delivery], class: first_button_primary if can? :edit, @delivery %>
         | 
| 29 29 | 
             
                    <%= button_to t('.buttons.destroy'), [:account, @delivery], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@delivery)) } if can? :destroy, @delivery %>
         | 
| 30 30 | 
             
                    <%= link_to t('global.buttons.back'), [:account, @endpoint, :deliveries], class: first_button_primary %>
         | 
| @@ -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 delivery_attempts.any? %>
         | 
| 15 13 | 
             
                  <table class="table">
         | 
| 16 14 | 
             
                    <thead>
         | 
| @@ -53,7 +51,7 @@ | |
| 53 51 | 
             
                <% end %>
         | 
| 54 52 | 
             
              <% end %>
         | 
| 55 53 |  | 
| 56 | 
            -
              <%  | 
| 54 | 
            +
              <% box.actions do %>
         | 
| 57 55 | 
             
                <% unless hide_actions %>
         | 
| 58 56 | 
             
                  <% if context == delivery %>
         | 
| 59 57 | 
             
                    <% if can? :create, Webhooks::Outgoing::DeliveryAttempt.new(delivery: delivery) %>
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
                url: main_app.polymorphic_path([:account, send(BulletTrain::OutgoingWebhooks.current_parent_method), :webhooks_outgoing_delivery_attempts]),
         | 
| 4 4 | 
             
                label: t('webhooks/outgoing/delivery_attempts.navigation.label'),
         | 
| 5 5 | 
             
              } do |p| %>
         | 
| 6 | 
            -
                <% p. | 
| 6 | 
            +
                <% p.icon do %>
         | 
| 7 7 | 
             
                  <i class="<%= t('webhooks/outgoing/delivery_attempts.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', delivery_attempt: @delivery_attempt %>
         | 
| 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', delivery_attempt: @delivery_attempt %>
         | 
| 11 6 | 
             
              <% end %>
         | 
| 12 7 | 
             
            <% end %>
         | 
| @@ -1,6 +1,4 @@ | |
| 1 | 
            -
            <%= render 'account/shared/page' do | | 
| 2 | 
            -
              <%  | 
| 3 | 
            -
              <%  | 
| 4 | 
            -
                <%= render 'index', delivery_attempts: @delivery_attempts %>
         | 
| 5 | 
            -
              <% end %>
         | 
| 1 | 
            +
            <%= render 'account/shared/page' do |page| %>
         | 
| 2 | 
            +
              <% page.title t('.section') %>
         | 
| 3 | 
            +
              <% page.body.render 'index', delivery_attempts: @delivery_attempts %>
         | 
| 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', delivery_attempt: @delivery_attempt %>
         | 
| 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', delivery_attempt: @delivery_attempt %>
         | 
| 11 6 | 
             
              <% end %>
         | 
| 12 7 | 
             
            <% end %>
         | 
| @@ -1,14 +1,14 @@ | |
| 1 | 
            -
            <%= render 'account/shared/page' do | | 
| 2 | 
            -
              <%  | 
| 3 | 
            -
              <%  | 
| 4 | 
            -
                <%= render 'account/shared/box', divider: true do | | 
| 5 | 
            -
                  <%  | 
| 6 | 
            -
                  <%  | 
| 1 | 
            +
            <%= render 'account/shared/page' do |page| %>
         | 
| 2 | 
            +
              <% page.title t('.section').html_safe %>
         | 
| 3 | 
            +
              <% page.body do %>
         | 
| 4 | 
            +
                <%= render 'account/shared/box', divider: true do |box| %>
         | 
| 5 | 
            +
                  <% box.title t('.header') %>
         | 
| 6 | 
            +
                  <% box.description do %>
         | 
| 7 7 | 
             
                    <%= t('.description') %>
         | 
| 8 8 | 
             
                    <%= t('.manage_description') if can? :manage, @delivery_attempt %>
         | 
| 9 9 | 
             
                  <% end %>
         | 
| 10 10 |  | 
| 11 | 
            -
                  <%  | 
| 11 | 
            +
                  <% box.body do %>
         | 
| 12 12 | 
             
                    <% with_attribute_settings object: @delivery_attempt, strategy: :label do %>
         | 
| 13 13 | 
             
                      <%= render 'shared/attributes/text', attribute: :attempt_number %>
         | 
| 14 14 | 
             
                      <%= render 'shared/attributes/attempt', attribute: :status, success_method: :successful?, attempting_method: :still_attempting?, failure_method: :failed? %>
         | 
| @@ -20,7 +20,7 @@ | |
| 20 20 | 
             
                    <% end %>
         | 
| 21 21 | 
             
                  <% end %>
         | 
| 22 22 |  | 
| 23 | 
            -
                  <%  | 
| 23 | 
            +
                  <% box.actions do %>
         | 
| 24 24 | 
             
                    <%= link_to t('.buttons.edit'), [:edit, :account, @delivery_attempt], class: first_button_primary if can? :edit, @delivery_attempt %>
         | 
| 25 25 | 
             
                    <%= button_to t('.buttons.destroy'), [:account, @delivery_attempt], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@delivery_attempt)) } if can? :destroy, @delivery_attempt %>
         | 
| 26 26 | 
             
                    <%= link_to t('global.buttons.back'), [:account, @delivery, :delivery_attempts], class: first_button_primary %>
         | 
| @@ -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 endpoints.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, Webhooks::Outgoing::Endpoint.new(BulletTrain::OutgoingWebhooks.parent_association => @parent) %>
         | 
| @@ -3,7 +3,7 @@ | |
| 3 3 | 
             
                url: main_app.polymorphic_path([:account, send(BulletTrain::OutgoingWebhooks.current_parent_method), :webhooks_outgoing_endpoints]),
         | 
| 4 4 | 
             
                label: t('webhooks/outgoing/endpoints.navigation.label'),
         | 
| 5 5 | 
             
              } do |p| %>
         | 
| 6 | 
            -
                <% p. | 
| 6 | 
            +
                <% p.icon do %>
         | 
| 7 7 | 
             
                  <i class="<%= t('webhooks/outgoing/endpoints.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', endpoint: @endpoint %>
         | 
| 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', endpoint: @endpoint %>
         | 
| 11 6 | 
             
              <% end %>
         | 
| 12 7 | 
             
            <% end %>
         | 
| @@ -1,6 +1,4 @@ | |
| 1 | 
            -
            <%= render 'account/shared/page' do | | 
| 2 | 
            -
              <%  | 
| 3 | 
            -
              <%  | 
| 4 | 
            -
                <%= render 'index', endpoints: @endpoints %>
         | 
| 5 | 
            -
              <% end %>
         | 
| 1 | 
            +
            <%= render 'account/shared/page' do |page| %>
         | 
| 2 | 
            +
              <% page.title t('.section') %>
         | 
| 3 | 
            +
              <% page.body.render 'index', endpoints: @endpoints %>
         | 
| 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', endpoint: @endpoint %>
         | 
| 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', endpoint: @endpoint %>
         | 
| 11 6 | 
             
              <% end %>
         | 
| 12 7 | 
             
            <% end %>
         | 
| @@ -1,14 +1,14 @@ | |
| 1 | 
            -
            <%= render 'account/shared/page' do | | 
| 2 | 
            -
              <%  | 
| 3 | 
            -
              <%  | 
| 4 | 
            -
                <%= render 'account/shared/box', divider: true do | | 
| 5 | 
            -
                  <%  | 
| 6 | 
            -
                  <%  | 
| 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.title t('.header') %>
         | 
| 6 | 
            +
                  <% box.description do %>
         | 
| 7 7 | 
             
                    <%= t('.description') %>
         | 
| 8 8 | 
             
                    <%= t('.manage_description') if can? :manage, @endpoint %>
         | 
| 9 9 | 
             
                  <% end %>
         | 
| 10 10 |  | 
| 11 | 
            -
                  <%  | 
| 11 | 
            +
                  <% box.body do %>
         | 
| 12 12 | 
             
                    <% with_attribute_settings object: @endpoint, strategy: :label do %>
         | 
| 13 13 | 
             
                      <%= render 'shared/attributes/text', attribute: :name %>
         | 
| 14 14 | 
             
                      <%= render 'shared/attributes/code', attribute: :url %>
         | 
| @@ -32,7 +32,7 @@ | |
| 32 32 | 
             
                    <% end %>
         | 
| 33 33 | 
             
                  <% end %>
         | 
| 34 34 |  | 
| 35 | 
            -
                  <%  | 
| 35 | 
            +
                  <% box.actions do %>
         | 
| 36 36 | 
             
                    <%= link_to t('.buttons.edit'), [:edit, :account, @endpoint], class: first_button_primary if can? :edit, @endpoint %>
         | 
| 37 37 | 
             
                    <%= button_to t('.buttons.destroy'), [:account, @endpoint], method: :delete, class: first_button_primary, data: { confirm: t('.buttons.confirmations.destroy', model_locales(@endpoint)) } if can? :destroy, @endpoint %>
         | 
| 38 38 | 
             
                    <%= link_to t('global.buttons.back'), [:account, @parent, :webhooks_outgoing_endpoints], class: first_button_primary %>
         |