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

_metrics_button.html.haml « environments « projects « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c4f19ea79e75010b692e0cfa803dab6f49f4bd15 (plain)
1
2
3
4
5
6
7
- environment = local_assigns.fetch(:environment)

- return unless can?(current_user, :read_environment, environment)

= link_to environment_metrics_path(environment), title: _('See metrics'), class: 'btn metrics-button' do
  = sprite_icon('chart')
  = _("Monitoring")