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
d0aa75ed
Commit
d0aa75ed
authored
Feb 16, 2021
by
Simon Stieger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hide issue count and link in project list where issues disabled
parent
e23cf8b6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
app/views/shared/projects/_list.html.haml
app/views/shared/projects/_list.html.haml
+1
-2
changelogs/unreleased/321593-hide-issue-counts-in-project-list-where-issues-disabled.yml
...de-issue-counts-in-project-list-where-issues-disabled.yml
+5
-0
No files found.
app/views/shared/projects/_list.html.haml
View file @
d0aa75ed
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
-
stars
=
true
unless
local_assigns
[
:stars
]
==
false
-
stars
=
true
unless
local_assigns
[
:stars
]
==
false
-
forks
=
true
unless
local_assigns
[
:forks
]
==
false
-
forks
=
true
unless
local_assigns
[
:forks
]
==
false
-
merge_requests
=
true
unless
local_assigns
[
:merge_requests
]
==
false
-
merge_requests
=
true
unless
local_assigns
[
:merge_requests
]
==
false
-
issues
=
true
unless
local_assigns
[
:issues
]
==
false
-
pipeline_status
=
true
unless
local_assigns
[
:pipeline_status
]
==
false
-
pipeline_status
=
true
unless
local_assigns
[
:pipeline_status
]
==
false
-
skip_namespace
=
false
unless
local_assigns
[
:skip_namespace
]
==
true
-
skip_namespace
=
false
unless
local_assigns
[
:skip_namespace
]
==
true
-
user
=
local_assigns
[
:user
]
-
user
=
local_assigns
[
:user
]
...
@@ -41,7 +40,7 @@
...
@@ -41,7 +40,7 @@
=
render
"shared/projects/project"
,
project:
project
,
skip_namespace:
skip_namespace
,
=
render
"shared/projects/project"
,
project:
project
,
skip_namespace:
skip_namespace
,
avatar:
avatar
,
stars:
stars
,
css_class:
css_class
,
use_creator_avatar:
use_creator_avatar
,
avatar:
avatar
,
stars:
stars
,
css_class:
css_class
,
use_creator_avatar:
use_creator_avatar
,
forks:
forks
,
show_last_commit_as_description:
show_last_commit_as_description
,
user:
user
,
merge_requests:
merge_requests
,
forks:
forks
,
show_last_commit_as_description:
show_last_commit_as_description
,
user:
user
,
merge_requests:
merge_requests
,
issues:
issues
,
pipeline_status:
pipeline_status
,
compact_mode:
compact_mode
issues:
project
.
issues_enabled?
,
pipeline_status:
pipeline_status
,
compact_mode:
compact_mode
=
paginate_collection
(
projects
,
remote:
remote
)
unless
skip_pagination
=
paginate_collection
(
projects
,
remote:
remote
)
unless
skip_pagination
-
else
-
else
-
if
@contributed_projects
-
if
@contributed_projects
...
...
changelogs/unreleased/321593-hide-issue-counts-in-project-list-where-issues-disabled.yml
0 → 100644
View file @
d0aa75ed
---
title
:
Hide issue count and link in project list for projects with disabled issues
merge_request
:
54275
author
:
Simon Stieger @sim0
type
:
fixed
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