summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_new.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/header/_new.html.haml')
-rw-r--r--app/views/layouts/header/_new.html.haml7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/views/layouts/header/_new.html.haml b/app/views/layouts/header/_new.html.haml
index bee7291da45..4697d91724b 100644
--- a/app/views/layouts/header/_new.html.haml
+++ b/app/views/layouts/header/_new.html.haml
@@ -69,7 +69,7 @@
%li
= link_to "Settings", profile_path
%li
- = link_to "Turn off new nav", profile_preferences_path(anchor: "new-navigation")
+ = link_to "Turn off new navigation", profile_preferences_path(anchor: "new-navigation")
%li.divider
%li
= link_to "Sign out", destroy_user_session_path, method: :delete, class: "sign-out-link"
@@ -84,8 +84,3 @@
= icon('times', class: 'js-navbar-toggle-left', style: 'display: none;')
= render 'shared/outdated_browser'
-
-- if @project && !@project.empty_repo?
- - if ref = @ref || @project.repository.root_ref
- :javascript
- var findFileURL = "#{project_find_file_path(@project, ref)}";