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
Léo-Paul Géneau
gitlab-ce
Commits
3646eb16
Commit
3646eb16
authored
Jul 06, 2016
by
Serg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow everyone to sort tags, not only those who has access
parent
8e5bf157
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
14 deletions
+15
-14
CHANGELOG
CHANGELOG
+1
-0
app/views/projects/tags/index.html.haml
app/views/projects/tags/index.html.haml
+14
-14
No files found.
CHANGELOG
View file @
3646eb16
...
...
@@ -15,6 +15,7 @@ v 8.10.0 (unreleased)
- Make images fit to the size of the viewport !4810
- Fix check for New Branch button on Issue page !4630 (winniehell)
- Fix MR-auto-close text added to description. !4836
- Fix issue, preventing users w/o push access to sort tags !5105 (redetection)
- Add Spring EmojiOne updates.
- Fix pagination when sorting by columns with lots of ties (like priority)
- Updated project header design
...
...
app/views/projects/tags/index.html.haml
View file @
3646eb16
...
...
@@ -7,22 +7,22 @@
.nav-text
Tags give the ability to mark specific points in history as being important
-
if
can?
current_user
,
:push_code
,
@project
.nav-controls
.nav-controls
-
if
can?
current_user
,
:push_code
,
@project
=
link_to
new_namespace_project_tag_path
(
@project
.
namespace
,
@project
),
class:
'btn btn-create new-tag-btn'
do
New tag
.dropdown.inline
%button
.dropdown-toggle.btn
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%span
.light
=
@sort
.
humanize
%b
.caret
%ul
.dropdown-menu.dropdown-menu-align-right
%li
=
link_to
namespace_project_tags_path
(
sort:
nil
)
do
Name
=
link_to
namespace_project_tags_path
(
sort:
sort_value_recently_updated
)
do
=
sort_title_recently_updated
=
link_to
namespace_project_tags_path
(
sort:
sort_value_oldest_updated
)
do
=
sort_title_oldest_updated
.dropdown.inline
%button
.dropdown-toggle.btn
{
type:
'button'
,
data:
{
toggle:
'dropdown'
}
}
%span
.light
=
@sort
.
humanize
%b
.caret
%ul
.dropdown-menu.dropdown-menu-align-right
%li
=
link_to
namespace_project_tags_path
(
sort:
nil
)
do
Name
=
link_to
namespace_project_tags_path
(
sort:
sort_value_recently_updated
)
do
=
sort_title_recently_updated
=
link_to
namespace_project_tags_path
(
sort:
sort_value_oldest_updated
)
do
=
sort_title_oldest_updated
.tags
-
if
@tags
.
any?
...
...
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