Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
79f94c8d
Commit
79f94c8d
authored
Jul 28, 2017
by
Luke "Jared" Bennett
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add user_dropdown_link to prompt users to turn on new repo
parent
2a6f1b32
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
app/views/layouts/header/_default.html.haml
app/views/layouts/header/_default.html.haml
+1
-0
app/views/layouts/header/_new.html.haml
app/views/layouts/header/_new.html.haml
+1
-0
app/views/shared/repo/_user_dropdown_link.html.haml
app/views/shared/repo/_user_dropdown_link.html.haml
+1
-0
No files found.
app/views/layouts/header/_default.html.haml
View file @
79f94c8d
...
...
@@ -76,6 +76,7 @@
=
link_to
"Settings"
,
profile_path
%li
=
link_to
"Turn on new navigation"
,
profile_preferences_path
(
anchor:
"new-navigation"
)
=
render
'shared/repo/user_dropdown_link'
%li
.divider
%li
=
link_to
"Sign out"
,
destroy_user_session_path
,
method: :delete
,
class:
"sign-out-link"
...
...
app/views/layouts/header/_new.html.haml
View file @
79f94c8d
...
...
@@ -70,6 +70,7 @@
=
link_to
"Settings"
,
profile_path
%li
=
link_to
"Turn off new navigation"
,
profile_preferences_path
(
anchor:
"new-navigation"
)
=
render
'shared/repo/user_dropdown_link'
%li
.divider
%li
=
link_to
"Sign out"
,
destroy_user_session_path
,
method: :delete
,
class:
"sign-out-link"
...
...
app/views/shared/repo/_user_dropdown_link.html.haml
0 → 100644
View file @
79f94c8d
%li
=
link_to
"Turn
#{
show_new_repo?
?
'off'
:
'on'
}
new repository"
,
profile_preferences_path
(
anchor:
"new-repository"
)
Alain Takoudjou
@alain.takoudjou
mentioned in commit
0b9e9ffc
·
Aug 21, 2018
mentioned in commit
0b9e9ffc
mentioned in commit 0b9e9ffc5ac34f014fe2fe82c2a759cc83c7dd21
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment