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
0
Merge Requests
0
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
Tatuya Kamada
gitlab-ce
Commits
3f2f40aa
Commit
3f2f40aa
authored
Apr 23, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Items with tooltips don't need a 'data-original-title' attribute
Bootstrap's tooltip JS just uses the `title` attribute.
parent
66e23b55
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
app/views/layouts/_head_panel.html.haml
app/views/layouts/_head_panel.html.haml
+21
-22
No files found.
app/views/layouts/_head_panel.html.haml
View file @
3f2f40aa
...
@@ -2,48 +2,47 @@
...
@@ -2,48 +2,47 @@
.navbar-inner
.navbar-inner
.container
.container
%div
.app_logo
%div
.app_logo
=
link_to
root_path
,
class:
"home has_bottom_tooltip"
,
title:
"Dashboard"
do
=
link_to
root_path
,
class:
'home has_bottom_tooltip'
,
title:
'Dashboard'
do
=
brand_header_logo
=
brand_header_logo
%h3
GitLab
%h3
GitLab
%h1
.title
=
title
%h1
.title
=
title
%button
.navbar-toggle
{
"data-target"
=>
".navbar-collapse"
,
"data-toggle"
=>
"collapse"
,
type:
"button"
}
%button
.navbar-toggle
{
type:
'button'
,
data:
{
target:
'.navbar-collapse'
,
toggle:
'collapse'
}
}
%span
.sr-only
Toggle navigation
%span
.sr-only
Toggle navigation
%i
.fa.fa-bars
=
icon
(
'bars'
)
.navbar-collapse.collapse
.navbar-collapse.collapse
%ul
.nav.navbar-nav
%ul
.nav.navbar-nav
%li
.hidden-sm.hidden-xs
%li
.hidden-sm.hidden-xs
=
render
"layouts/search"
=
render
'layouts/search'
%li
.visible-sm.visible-xs
%li
.visible-sm.visible-xs
=
link_to
search_path
,
title:
"Search"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Search area
'
do
=
link_to
search_path
,
title:
'Search'
,
class:
'has_bottom_tooltip
'
do
%i
.fa.fa-search
=
icon
(
'search'
)
%li
%li
=
link_to
help_path
,
title:
'Help'
,
class:
'has_bottom_tooltip'
,
=
link_to
help_path
,
title:
'Help'
,
class:
'has_bottom_tooltip'
do
'data-original-title'
=>
'Help'
do
=
icon
(
'question-circle'
)
%i
.fa.fa-question-circle
%li
%li
=
link_to
explore_root_path
,
title:
"Explore"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Public area
'
do
=
link_to
explore_root_path
,
title:
'Explore'
,
class:
'has_bottom_tooltip
'
do
%i
.fa.fa-globe
=
icon
(
'globe'
)
%li
%li
=
link_to
user_snippets_path
(
current_user
),
title:
"Your snippets"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Your snippets
'
do
=
link_to
user_snippets_path
(
current_user
),
title:
'Your snippets'
,
class:
'has_bottom_tooltip
'
do
%i
.fa.fa-clipboard
=
icon
(
'clipboard'
)
-
if
current_user
.
is_admin?
-
if
current_user
.
is_admin?
%li
%li
=
link_to
admin_root_path
,
title:
"Admin area"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Admin area
'
do
=
link_to
admin_root_path
,
title:
'Admin area'
,
class:
'has_bottom_tooltip
'
do
%i
.fa.fa-cogs
=
icon
(
'cogs'
)
-
if
current_user
.
can_create_project?
-
if
current_user
.
can_create_project?
%li
%li
=
link_to
new_project_path
,
title:
"New project"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'New project'
do
=
link_to
new_project_path
,
title:
'New project'
,
class:
'has_bottom_tooltip'
do
%i
.fa.fa-plus
=
icon
(
'plus'
)
%li
%li
=
link_to
profile_path
,
title:
"Profile settings"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Profile settings"'
do
=
link_to
profile_path
,
title:
'Profile settings'
,
class:
'has_bottom_tooltip'
do
%i
.fa.fa-user
=
icon
(
'user'
)
%li
%li
=
link_to
destroy_user_session_path
,
class:
"logout"
,
method: :delete
,
title:
"Sign out"
,
class:
'has_bottom_tooltip'
,
'data-original-title'
=>
'Sign out'
do
=
link_to
destroy_user_session_path
,
class:
'logout'
,
method: :delete
,
title:
'Sign out'
,
class:
'has_bottom_tooltip'
do
%i
.fa.fa-sign-out
=
icon
(
'sign-out'
)
%li
.hidden-xs
%li
.hidden-xs
=
link_to
current_user
,
class:
"profile-pic has_bottom_tooltip"
,
id:
'profile-pic'
,
'data-original-title'
=>
'Your profile
'
do
=
link_to
current_user
,
class:
'profile-pic has_bottom_tooltip'
,
id:
'profile-pic
'
do
=
image_tag
avatar_icon
(
current_user
.
email
,
60
),
alt:
'User activity'
=
image_tag
avatar_icon
(
current_user
.
email
,
60
),
alt:
'User activity'
=
render
'shared/outdated_browser'
=
render
'shared/outdated_browser'
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