summaryrefslogtreecommitdiff
path: root/app/views/shared/plugins/_index.html.haml
blob: fc643c3ecc2b703362fa1614a5182957dbdfc7c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- 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 are executed as files instead of sending data to a URL.

  .col-lg-8.append-bottom-default
    - if plugins.any?
      .panel.panel-default
        .panel-heading
          Plugins (#{plugins.count})
        %ul.content-list
          - plugins.each do |file|
            %li
              .monospace
                = File.basename(file)
    - else
      %p.light-well.text-center
        No plugins found.