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: 65abaf4408228bf2d988565ffe999aa329d93b7f (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: 'gl-button btn metrics-button' do
  = sprite_icon('chart', css_class: 'gl-mr-2')
  = _("Monitoring")