Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/web_hooks/_hook.html.haml')
-rw-r--r--app/views/shared/web_hooks/_hook.html.haml14
1 files changed, 10 insertions, 4 deletions
diff --git a/app/views/shared/web_hooks/_hook.html.haml b/app/views/shared/web_hooks/_hook.html.haml
index a332fd9cce7..6c6ff5f7fc8 100644
--- a/app/views/shared/web_hooks/_hook.html.haml
+++ b/app/views/shared/web_hooks/_hook.html.haml
@@ -2,10 +2,13 @@
- sslBadgeText = _('SSL Verification:') + ' ' + sslStatus
%li.gl-border-b.gl-last-of-type-border-b-0
- .gl-display-flex.lgl-align-items-center.row.gl-mx-0
- .col-md-8.col-lg-7.gl-px-5
- .light-header.gl-mb-2
+ .row.gl-mx-0
+ .col-md-8.col-lg-5.gl-px-5
+ .light-header.gl-mb-1
+ = hook.name
+ .gl-font-sm
= hook.url
+
- if hook.rate_limited?
= gl_badge_tag(_('Disabled'), variant: :danger, size: :sm)
- elsif hook.permanently_disabled?
@@ -19,7 +22,10 @@
= gl_badge_tag(integration_webhook_event_human_name(trigger), size: :sm)
= gl_badge_tag(sslBadgeText, size: :sm)
- .col-md-4.col-lg-5.gl-mt-2.gl-px-5.gl-gap-3.gl-display-flex.gl-md-justify-content-end.gl-align-items-baseline
+ .col-md-2.col-lg-4.gl-px-5.gl-font-sm
+ = truncate(hook.description, length: 200)
+
+ .col-md-4.col-lg-3.gl-mt-2.gl-px-5.gl-gap-3.gl-display-flex.gl-md-justify-content-end.gl-align-items-baseline
= render 'shared/web_hooks/test_button', hook: hook, size: 'small'
= render Pajamas::ButtonComponent.new(href: edit_hook_path(hook), size: :small) do
= _('Edit')