BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
71377c1a
Commit
71377c1a
authored
Feb 17, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'remove-issue-and-mr-counts-from-labels-page' into 'master'
Remove issue and MR counts from label index Closes #25413 See merge request !9332
parents
bb94c3bf
bf93a9f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
_label.html.haml
app/views/shared/_label.html.haml
+4
-6
remove-issue-and-mr-counts-from-labels-page.yml
...nreleased/remove-issue-and-mr-counts-from-labels-page.yml
+4
-0
No files found.
app/views/shared/_label.html.haml
View file @
71377c1a
-
label_css_id
=
dom_id
(
label
)
-
open_issues_count
=
label
.
open_issues_count
(
current_user
)
-
open_merge_requests_count
=
label
.
open_merge_requests_count
(
current_user
)
-
status
=
label_subscription_status
(
label
,
@project
).
inquiry
if
current_user
-
subject
=
local_assigns
[
:subject
]
...
...
@@ -15,10 +13,10 @@
%ul
%li
=
link_to_label
(
label
,
subject:
subject
,
type: :merge_request
)
do
=
pluralize
open_merge_requests_count
,
'merge request'
view merge requests
%li
=
link_to_label
(
label
,
subject:
subject
)
do
=
pluralize
open_issues_count
,
'open issue'
view open issues
-
if
current_user
&&
defined?
(
@project
)
%li
.label-subscription
-
if
label
.
is_a?
(
ProjectLabel
)
...
...
@@ -40,9 +38,9 @@
.pull-right.hidden-xs.hidden-sm.hidden-md
=
link_to_label
(
label
,
subject:
subject
,
type: :merge_request
,
css_class:
'btn btn-transparent btn-action'
)
do
=
pluralize
open_merge_requests_count
,
'merge request'
view merge requests
=
link_to_label
(
label
,
subject:
subject
,
css_class:
'btn btn-transparent btn-action'
)
do
=
pluralize
open_issues_count
,
'open issue'
view open issues
-
if
current_user
&&
defined?
(
@project
)
.label-subscription.inline
...
...
changelogs/unreleased/remove-issue-and-mr-counts-from-labels-page.yml
0 → 100644
View file @
71377c1a
---
title
:
Remove issue and MR counts from labels index
merge_request
:
author
:
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