repository.html.haml 1.4 KB
Newer Older
Martin Wortschack's avatar
Martin Wortschack committed
1 2
- breadcrumb_title _("Repository")
- page_title _("Repository")
3 4
- @content_class = "limit-container-width" unless fluid_layout

5
%section.settings.as-mirror.no-animate#js-mirror-settings{ class: ('expanded' if expanded_by_default?) }
6 7 8 9
  .settings-header
    %h4
      = _('Repository mirror')
    %button.btn.js-settings-toggle{ type: 'button' }
10
      = expanded_by_default? ? 'Collapse' : 'Expand'
11 12 13 14 15
    %p
      = _('Configure push mirrors.')
  .settings-content
    = render partial: 'repository_mirrors_form'

16
%section.settings.qa-repository-storage-settings.as-repository-storage.no-animate#js-repository-storage-settings{ class: ('expanded' if expanded_by_default?) }
17 18 19 20
  .settings-header
    %h4
      = _('Repository storage')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
21
      = expanded_by_default? ? _('Collapse') : _('Expand')
22 23 24 25 26
    %p
      = _('Configure storage path and circuit breaker settings.')
  .settings-content
    = render 'repository_storage'

27
%section.settings.as-repository-check.no-animate#js-repository-check-settings{ class: ('expanded' if expanded_by_default?) }
28 29 30 31
  .settings-header
    %h4
      = _('Repository maintenance')
    %button.btn.btn-default.js-settings-toggle{ type: 'button' }
32
      = expanded_by_default? ? _('Collapse') : _('Expand')
33 34 35 36
    %p
      = _('Configure automatic git checks and housekeeping on repositories.')
  .settings-content
    = render 'repository_check'