debian-mirror-gitlab/app/views/layouts/nav/sidebar/_tracing_link.html.haml
2021-01-30 21:13:32 +05:30

7 lines
257 B
Text

- 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')