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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/nav/sidebar/_tracing_link.html.haml')
-rw-r--r--app/views/layouts/nav/sidebar/_tracing_link.html.haml7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/layouts/nav/sidebar/_tracing_link.html.haml b/app/views/layouts/nav/sidebar/_tracing_link.html.haml
new file mode 100644
index 00000000000..7a31a20f5f0
--- /dev/null
+++ b/app/views/layouts/nav/sidebar/_tracing_link.html.haml
@@ -0,0 +1,7 @@
+- 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')