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

_rate_limit_row.html.haml « instance_configuration « help « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 85c165de7d4d47ec3a23615e01a92ccdf0842947 (plain)
1
2
3
4
5
6
7
- public_visible = local_assigns.fetch(:public_visible, false)

- if rate_limit && (public_visible || user_signed_in?)
  %tr
    %td= title
    %td= instance_configuration_cell_html(rate_limit[:enabled] ? rate_limit[:requests_per_period] : nil)
    %td= instance_configuration_cell_html(rate_limit[:enabled] ? rate_limit[:period_in_seconds] : nil)