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
Boxiang Sun
gitlab-ce
Commits
cad80263
Commit
cad80263
authored
Jul 25, 2017
by
Tim Zallmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes New Project Bug
parent
f149a76b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/projects/project_new.js
app/assets/javascripts/projects/project_new.js
+3
-3
app/views/projects/pipelines/charts/_pipelines.haml
app/views/projects/pipelines/charts/_pipelines.haml
+1
-1
app/views/projects/tree/_tree_content.html.haml
app/views/projects/tree/_tree_content.html.haml
+1
-1
No files found.
app/assets/javascripts/projects/project_new.js
View file @
cad80263
...
@@ -2,9 +2,9 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -2,9 +2,9 @@ document.addEventListener('DOMContentLoaded', () => {
const
importBtnTooltip
=
'
Please enter a valid project name.
'
;
const
importBtnTooltip
=
'
Please enter a valid project name.
'
;
const
$importBtnWrapper
=
$
(
'
.import_gitlab_project
'
);
const
$importBtnWrapper
=
$
(
'
.import_gitlab_project
'
);
$
(
'
.how_to_import_link
'
).
bind
(
'
click
'
,
function
(
e
)
{
$
(
'
.how_to_import_link
'
).
bind
(
'
click
'
,
(
e
)
=>
{
e
.
preventDefault
();
e
.
preventDefault
();
$
(
this
).
next
(
'
.modal
'
).
show
();
$
(
'
.how_to_import_link
'
).
next
(
'
.modal
'
).
show
();
});
});
$
(
'
.modal-header .close
'
).
bind
(
'
click
'
,
()
=>
{
$
(
'
.modal-header .close
'
).
bind
(
'
click
'
,
()
=>
{
...
@@ -25,7 +25,7 @@ document.addEventListener('DOMContentLoaded', () => {
...
@@ -25,7 +25,7 @@ document.addEventListener('DOMContentLoaded', () => {
});
});
$
(
'
#project_path
'
).
keyup
(()
=>
{
$
(
'
#project_path
'
).
keyup
(()
=>
{
if
(
$
(
this
).
val
().
trim
().
length
!==
0
)
{
if
(
$
(
'
#project_path
'
).
val
().
trim
().
length
!==
0
)
{
$
(
'
.btn_import_gitlab_project
'
).
attr
(
'
disabled
'
,
false
);
$
(
'
.btn_import_gitlab_project
'
).
attr
(
'
disabled
'
,
false
);
$importBtnWrapper
.
attr
(
'
title
'
,
''
);
$importBtnWrapper
.
attr
(
'
title
'
,
''
);
$importBtnWrapper
.
removeClass
(
'
has-tooltip
'
);
$importBtnWrapper
.
removeClass
(
'
has-tooltip
'
);
...
...
app/views/projects/pipelines/charts/_pipelines.haml
View file @
cad80263
app/views/projects/tree/_tree_content.html.haml
View file @
cad80263
.tree-content-holder.js-tree-content
{
'data-logs-path'
:
escape_javascript
(
@logs_path
)}
.tree-content-holder.js-tree-content
{
'data-logs-path'
:
escape_javascript
(
@logs_path
)
}
.table-holder
.table-holder
%table
.table
#tree-slider
{
class:
"table_#{@hex_path} tree-table"
}
%table
.table
#tree-slider
{
class:
"table_#{@hex_path} tree-table"
}
%thead
%thead
...
...
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