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
3c227a7c
Commit
3c227a7c
authored
Nov 12, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix update mirror tooltip.
parent
5aeefc13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/projects/buttons/_update_mirror.html.haml
app/views/projects/buttons/_update_mirror.html.haml
+2
-2
No files found.
app/views/projects/buttons/_update_mirror.html.haml
View file @
3c227a7c
-
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
mirror
..."
}
%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
mirror
"
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'
)
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