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/shared/nav/_scope_menu.html.haml')
-rw-r--r--app/views/shared/nav/_scope_menu.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/shared/nav/_scope_menu.html.haml b/app/views/shared/nav/_scope_menu.html.haml
new file mode 100644
index 00000000000..270587f48a8
--- /dev/null
+++ b/app/views/shared/nav/_scope_menu.html.haml
@@ -0,0 +1,6 @@
+.context-header
+ = link_to scope_menu.link, **scope_menu.container_html_options do
+ .avatar-container.rect-avatar.s40.project-avatar
+ = source_icon(scope_menu.container, alt: scope_menu.title, class: 'avatar s40 avatar-tile', width: 40, height: 40)
+ .sidebar-context-title
+ = scope_menu.title