Commit 7e7f552c authored by Gabriel Mazetto's avatar Gabriel Mazetto

Added Geo icon to the top right header area linking back to primary node

parent 34547732
......@@ -30,6 +30,10 @@
- unless todos_pending_count == 0
%span.badge.todos-pending-count
= todos_pending_count
- if Gitlab::Geo.secondary?
%li
= link_to Gitlab::Geo.primary_node.url, title: 'Go to primary node', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
=icon('globe fw')
- if current_user.can_create_project?
%li
= link_to new_project_path, title: 'New project', data: {toggle: 'tooltip', placement: 'bottom', container: 'body'} do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment