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
39cbafd2
Commit
39cbafd2
authored
Mar 24, 2016
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change remaining usages of `has_toolitp` to `has-tooltip`
parent
57c26736
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
7 deletions
+7
-7
app/helpers/button_helper.rb
app/helpers/button_helper.rb
+1
-1
app/views/groups/show.html.haml
app/views/groups/show.html.haml
+1
-1
app/views/projects/_home_panel.html.haml
app/views/projects/_home_panel.html.haml
+1
-1
app/views/projects/branches/_branch.html.haml
app/views/projects/branches/_branch.html.haml
+1
-1
app/views/projects/buttons/_update_mirror.html.haml
app/views/projects/buttons/_update_mirror.html.haml
+2
-2
app/views/projects/commits/_mirror_status.html.haml
app/views/projects/commits/_mirror_status.html.haml
+1
-1
No files found.
app/helpers/button_helper.rb
View file @
39cbafd2
...
...
@@ -57,7 +57,7 @@ module ButtonHelper
def
kerberos_clone_button
(
project
)
klass
=
'btn js-protocol-switch'
klass
<<
' active'
if
default_clone_protocol
==
'kerberos'
klass
<<
' has
_
tooltip'
klass
<<
' has
-
tooltip'
content_tag
:button
,
'KRB5'
,
class:
klass
,
...
...
app/views/groups/show.html.haml
View file @
39cbafd2
...
...
@@ -17,7 +17,7 @@
.cover-title
%h1
=
@group
.
name
%span
.visibility-icon.has
_
tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@group
)
}
%span
.visibility-icon.has
-
tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@group
)
}
=
visibility_level_icon
(
@group
.
visibility_level
,
fw:
false
)
.cover-desc.username
...
...
app/views/projects/_home_panel.html.haml
View file @
39cbafd2
...
...
@@ -5,7 +5,7 @@
.cover-title.project-home-desc
%h1
=
@project
.
name
%span
.visibility-icon.has
_
tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@project
)}
%span
.visibility-icon.has
-
tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@project
)}
=
visibility_level_icon
(
@project
.
visibility_level
,
fw:
false
)
-
if
@project
.
description
.
present?
...
...
app/views/projects/branches/_branch.html.haml
View file @
39cbafd2
...
...
@@ -20,7 +20,7 @@
protected
-
if
@project
.
mirror_ever_updated_successfully?
&&
@repository
.
diverged_from_upstream?
(
branch
.
name
)
%span
.label.label-danger.has
_
tooltip
{
data:
{
html:
"true"
,
title:
branch_diverged_tooltip_message
}}
%span
.label.label-danger.has
-
tooltip
{
data:
{
html:
"true"
,
title:
branch_diverged_tooltip_message
}}
=
icon
(
'exclamation-triangle'
)
diverged from upstream
...
...
app/views/projects/buttons/_update_mirror.html.haml
View file @
39cbafd2
-
if
@project
.
mirror?
&&
can?
(
current_user
,
:push_code
,
@project
)
-
size
=
nil
unless
defined?
(
size
)
&&
size
-
if
@project
.
updating_mirror?
%span
.btn.disabled.update-mirror-button.has
_
tooltip
{
title:
"Updating from upstream..."
}
%span
.btn.disabled.update-mirror-button.has
-
tooltip
{
title:
"Updating from upstream..."
}
=
icon
(
'refresh'
)
-
else
=
link_to
update_now_namespace_project_mirror_path
(
@project
.
namespace
,
@project
),
method: :post
,
class:
"btn update-mirror-button has
_
tooltip"
,
title:
"Update from upstream"
do
=
link_to
update_now_namespace_project_mirror_path
(
@project
.
namespace
,
@project
),
method: :post
,
class:
"btn update-mirror-button has
-
tooltip"
,
title:
"Update from upstream"
do
=
icon
(
'refresh'
)
app/views/projects/commits/_mirror_status.html.haml
View file @
39cbafd2
...
...
@@ -10,6 +10,6 @@
=
render
"shared/mirror_status"
-
if
@ref
.
present?
&&
@project
.
mirror_ever_updated_successfully?
&&
@repository
.
diverged_from_upstream?
(
@ref
)
%span
.has
_
tooltip
{
data:
{
html:
"true"
,
title:
branch_diverged_tooltip_message
}}
%span
.has
-
tooltip
{
data:
{
html:
"true"
,
title:
branch_diverged_tooltip_message
}}
=
icon
(
'exclamation-triangle'
)
This branch has diverged from upstream.
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