debian-mirror-gitlab/app/views/layouts/nav/sidebar/_tracing_link.html.haml

8 lines
257 B
Text
Raw Normal View History

2021-01-03 14:25:43 +05:30
- return unless can?(current_user, :read_environment, @project)
- if project_nav_tab? :settings
= nav_link(controller: :tracings, action: [:show]) do
= link_to project_tracing_path(@project), title: _('Tracing') do
%span
= _('Tracing')