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
31ca2b3a
Commit
31ca2b3a
authored
Apr 07, 2017
by
Kushal Pandya
Committed by
Kushal Pandya
Apr 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show Flash message above Tags list
parent
67905201
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/protected_tags/protected_tag_edit.js
app/assets/javascripts/protected_tags/protected_tag_edit.js
+1
-1
app/assets/stylesheets/pages/projects.scss
app/assets/stylesheets/pages/projects.scss
+4
-0
app/views/projects/protected_tags/_tags_list.html.haml
app/views/projects/protected_tags/_tags_list.html.haml
+3
-1
No files found.
app/assets/javascripts/protected_tags/protected_tag_edit.js
View file @
31ca2b3a
...
...
@@ -43,7 +43,7 @@ export default class ProtectedTagEdit {
},
},
error
()
{
new
Flash
(
'
Failed to update tag!
'
);
new
Flash
(
'
Failed to update tag!
'
,
null
,
$
(
'
.js-protected-tags-list
'
)
);
},
}).
always
(()
=>
{
this
.
$allowedToCreateDropdownButton
.
enable
();
...
...
app/assets/stylesheets/pages/projects.scss
View file @
31ca2b3a
...
...
@@ -806,6 +806,10 @@ a.allowed-to-push {
width
:
100%
;
max-width
:
300px
;
}
.flash-container
{
padding
:
0
;
}
}
.custom-notifications-form
{
...
...
app/views/projects/protected_tags/_tags_list.html.haml
View file @
31ca2b3a
.panel.panel-default.protected-tags-list
.panel.panel-default.protected-tags-list
.js-protected-tags-list
-
if
@protected_tags
.
empty?
.panel-heading
%h3
.panel-title
...
...
@@ -21,6 +21,8 @@
-
if
can_admin_project
%th
%tbody
%tr
%td
.flash-container
{
colspan:
4
}
=
render
partial:
'projects/protected_tags/protected_tag'
,
collection:
@protected_tags
,
locals:
{
can_admin_project:
can_admin_project
}
=
paginate
@protected_tags
,
theme:
'gitlab'
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