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
c0e614d1
Commit
c0e614d1
authored
Dec 02, 2015
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename variable
parent
d0166334
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/projects/branches/new.html.haml
app/views/projects/branches/new.html.haml
+2
-2
app/views/projects/tags/new.html.haml
app/views/projects/tags/new.html.haml
+2
-2
No files found.
app/views/projects/branches/new.html.haml
View file @
c0e614d1
...
...
@@ -24,9 +24,9 @@
=
link_to
'Cancel'
,
namespace_project_branches_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-cancel'
:javascript
var
available
Tag
s
=
#{
@project
.
repository
.
ref_names
.
to_json
}
;
var
available
Ref
s
=
#{
@project
.
repository
.
ref_names
.
to_json
}
;
$
(
"
#ref
"
).
autocomplete
({
source
:
available
Tag
s
,
source
:
available
Ref
s
,
minLength
:
1
});
app/views/projects/tags/new.html.haml
View file @
c0e614d1
...
...
@@ -38,9 +38,9 @@
=
link_to
'Cancel'
,
namespace_project_tags_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-cancel'
:javascript
var
available
Tag
s
=
#{
@project
.
repository
.
ref_names
.
to_json
}
;
var
available
Ref
s
=
#{
@project
.
repository
.
ref_names
.
to_json
}
;
$
(
"
#ref
"
).
autocomplete
({
source
:
available
Tag
s
,
source
:
available
Ref
s
,
minLength
:
1
});
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