Commit 9c50f96c authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show plugins list on project integrations page

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 8a0052c0
...@@ -3,3 +3,4 @@ ...@@ -3,3 +3,4 @@
- page_title 'Integrations' - page_title 'Integrations'
= render 'projects/hooks/index' = render 'projects/hooks/index'
= render 'projects/services/index' = render 'projects/services/index'
= render 'shared/plugins/index'
- plugins = Gitlab::Plugin.files
.row.prepend-top-default
.col-lg-4
%h4.prepend-top-0
Plugins
%p
#{link_to 'Plugins', help_page_path('administration/plugins')} are similar to
system hooks but can be are executed as files instead of URL.
.col-lg-8.append-bottom-default
- if plugins.any?
%ul.content-list
- plugins.each do |file|
%li
%span.title
= File.basename(file)
- else
%p.settings-message.text-center.append-bottom-0
No plugins found.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment