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
6f15e89a
Commit
6f15e89a
authored
Apr 07, 2017
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show Flash message above Tags list
parent
72419f3a
Changes
3
Show 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 @
6f15e89a
...
...
@@ -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 @
6f15e89a
...
...
@@ -782,6 +782,10 @@ pre.light-well {
width
:
100%
;
max-width
:
300px
;
}
.flash-container
{
padding
:
0
;
}
}
.custom-notifications-form
{
...
...
app/views/projects/protected_tags/_tags_list.html.haml
View file @
6f15e89a
.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