debian-mirror-gitlab/app/views/shared/file_hooks/_index.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
736 B
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
- file_hooks = Gitlab::FileHook.files
2020-07-28 23:09:34 +05:30
.row.gl-mt-3
2020-03-13 15:44:24 +05:30
.col-lg-4
2020-06-23 00:09:42 +05:30
%h4.gl-mt-0
2020-03-13 15:44:24 +05:30
= _('File Hooks')
%p
= _('File hooks are similar to system hooks but are executed as files instead of sending data to a URL.')
= link_to _('For more information, see the File Hooks documentation.'), help_page_path('administration/file_hooks')
2020-07-28 23:09:34 +05:30
.col-lg-8.gl-mb-3
2020-03-13 15:44:24 +05:30
- if file_hooks.any?
.card
.card-header
= _('File Hooks (%{count})') % { count: file_hooks.count }
%ul.content-list
- file_hooks.each do |file|
%li
.monospace
= File.basename(file)
2020-05-24 23:13:21 +05:30
2020-03-13 15:44:24 +05:30
- else
.card.bg-light.text-center
.nothing-here-block= _('No file hooks found.')