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
Jérome Perrin
gitlab-ce
Commits
aa637e69
Commit
aa637e69
authored
Mar 28, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update export button tooltip
parent
625af168
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
app/views/projects/new.html.haml
app/views/projects/new.html.haml
+4
-2
No files found.
app/views/projects/new.html.haml
View file @
aa637e69
...
...
@@ -109,6 +109,8 @@
%p
Please wait a moment, this page will automatically refresh when ready.
:javascript
var
importBtnTooltip
=
"
Please enter a valid project name.
"
;
$
(
'
.how_to_import_link
'
).
bind
(
'
click
'
,
function
(
e
)
{
e
.
preventDefault
();
var
import_modal
=
$
(
this
).
next
(
"
.modal
"
).
show
();
...
...
@@ -124,7 +126,7 @@
});
$
(
'
.btn_import_gitlab_project
'
).
attr
(
'
disabled
'
,
$
(
'
#project_path
'
).
val
().
trim
().
length
===
0
);
$
(
'
.import_gitlab_project
'
).
attr
(
'
title
'
,
'
Project path and name required.
'
);
$
(
'
.import_gitlab_project
'
).
attr
(
'
title
'
,
importBtnTooltip
);
$
(
'
#new_project
'
).
submit
(
function
(){
var
$path
=
$
(
'
#project_path
'
);
...
...
@@ -138,7 +140,7 @@
$
(
"
.flash-container
"
).
html
(
""
)
}
else
{
$
(
'
.btn_import_gitlab_project
'
).
attr
(
'
disabled
'
,
true
);
$
(
'
.import_gitlab_project
'
).
attr
(
'
title
'
,
'
Project path and name required.
'
);
$
(
'
.import_gitlab_project
'
).
attr
(
'
title
'
,
importBtnTooltip
);
}
});
...
...
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