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
Tatuya Kamada
gitlab-ce
Commits
0fd2fd65
Commit
0fd2fd65
authored
Mar 21, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update property names for tags
parent
167b8600
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
app/views/projects/protected_tags/_create_protected_tag.html.haml
...s/projects/protected_tags/_create_protected_tag.html.haml
+2
-2
app/views/projects/protected_tags/_dropdown.html.haml
app/views/projects/protected_tags/_dropdown.html.haml
+1
-1
app/views/projects/protected_tags/_index.html.haml
app/views/projects/protected_tags/_index.html.haml
+1
-1
No files found.
app/views/projects/protected_tags/_create_protected_tag.html.haml
View file @
0fd2fd65
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@protected_branch
]
do
|
f
|
=
form_for
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
@protected_branch
]
,
html:
{
class:
'new_protected_tag'
}
do
|
f
|
.panel.panel-default
.panel-heading
%h3
.panel-title
...
...
@@ -26,7 +26,7 @@
=
dropdown_tag
(
'Select'
,
options:
{
toggle_class:
'js-allowed-to-push wide'
,
dropdown_class:
'dropdown-menu-selectable'
,
data:
{
field_name:
'protected_
branch
[push_access_levels_attributes][0][access_level]'
,
input_id:
'push_access_levels_attributes'
}})
data:
{
field_name:
'protected_
tag
[push_access_levels_attributes][0][access_level]'
,
input_id:
'push_access_levels_attributes'
}})
.panel-footer
=
f
.
submit
'Protect'
,
class:
'btn-create btn'
,
disabled:
true
app/views/projects/protected_tags/_dropdown.html.haml
View file @
0fd2fd65
...
...
@@ -5,7 +5,7 @@
filter:
true
,
dropdown_class:
"dropdown-menu-selectable"
,
placeholder:
"Search protected tag"
,
footer_content:
true
,
data:
{
show_no:
true
,
show_any:
true
,
show_upcoming:
true
,
selected:
params
[
:protected_
branch
_name
],
selected:
params
[
:protected_
tag
_name
],
project_id:
@project
.
try
(
:id
)
}
})
do
%ul
.dropdown-footer-list
...
...
app/views/projects/protected_tags/_index.html.haml
View file @
0fd2fd65
-
content_for
:page_specific_javascripts
do
=
page_specific_javascript_bundle_tag
(
'protected_
branche
s'
)
=
page_specific_javascript_bundle_tag
(
'protected_
tag
s'
)
.row.prepend-top-default.append-bottom-default
.col-lg-3
...
...
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