debian-mirror-gitlab/app/views/projects/environments/_metrics_button.html.haml

8 lines
259 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
- 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
2018-11-08 19:23:39 +05:30
= sprite_icon('chart')
2017-08-17 22:00:37 +05:30
Monitoring