Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
drupalorg
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
drupalorg
Commits
a6733737
Commit
a6733737
authored
9 months ago
by
Neil Drumm
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3505375
: Remove Drupal 7 from contributor links block
parent
1361e6fd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
drupalorg_project/drupalorg_project.module
+4
-17
4 additions, 17 deletions
drupalorg_project/drupalorg_project.module
with
4 additions
and
17 deletions
drupalorg_project/drupalorg_project.module
+
4
−
17
View file @
a6733737
...
...
@@ -1390,13 +1390,6 @@ function drupalorg_project_block_view($delta = '') {
* Output helpful links.
*/
function
drupalorg_project_bingo_block_output
()
{
$main_versions
=
array_map
(
function
(
$major
)
{
return
'any_'
.
$major
.
'.'
;
},
range
(
8
,
drupalorg_highest_core_major_version
()));
$both_versions
=
array_merge
([
'any_7.'
],
$main_versions
);
$both_names
=
'7.x & 8.x+'
;
$main_name
=
'8.x+'
;
// Include active, postponed, NR, NW, RTBC, and PTBP issues for thresholds.
$threshold_statuses
=
[
1
,
4
,
8
,
13
,
14
,
15
];
...
...
@@ -1415,36 +1408,30 @@ function drupalorg_project_bingo_block_output() {
'issue_tags_op'
=>
'='
,
'issue_tags'
=>
'Novice'
,
]]),
l
(
t
(
'Critical issues (!main_name)'
,
[
'!main_name'
=>
$main_name
]),
'project/issues/search/drupal'
,
[
'query'
=>
[
'version'
=>
$main_versions
,
l
(
t
(
'Critical issues'
),
'project/issues/search/drupal'
,
[
'query'
=>
[
'status'
=>
$threshold_statuses
,
'priorities'
=>
[
400
],
'categories'
=>
[
1
,
2
,
3
,
5
],
]]),
l
(
t
(
'Major issues (!main_name)'
,
[
'!main_name'
=>
$main_name
]),
'project/issues/search/drupal'
,
[
'query'
=>
[
'version'
=>
$main_versions
,
l
(
t
(
'Major issues'
),
'project/issues/search/drupal'
,
[
'query'
=>
[
'status'
=>
$threshold_statuses
,
'priorities'
=>
[
300
],
'categories'
=>
[
1
,
2
,
3
,
5
],
]]),
l
(
t
(
'Patch queue (!main_name)'
,
[
'!main_name'
=>
$main_name
]),
'project/issues/search/drupal'
,
[
'query'
=>
[
'version'
=>
$main_versions
,
l
(
t
(
'Patch queue'
),
'project/issues/search/drupal'
,
[
'query'
=>
[
'status'
=>
[
8
,
13
,
14
],
]]),
l
(
t
(
'Pending bugs (!both_names)'
,
[
'!both_names'
=>
$both_names
]),
'project/issues/search/drupal'
,
[
'query'
=>
[
'version'
=>
$both_versions
,
l
(
t
(
'Pending bugs'
),
'project/issues/search/drupal'
,
[
'query'
=>
[
'status'
=>
[
1
,
8
,
13
,
14
,
15
],
'categories'
=>
[
1
],
]]),
l
(
t
(
'Issues needing triage'
),
'project/issues/search/drupal'
,
[
'query'
=>
[
'version'
=>
$both_versions
,
'status'
=>
[
1
,
8
,
13
],
'categories'
=>
[
1
,
2
],
'order'
=>
'comment_count'
,
'sort'
=>
'asc'
,
]]),
l
(
t
(
'Issues needing review'
),
'project/issues/search/drupal'
,
[
'query'
=>
[
'version'
=>
$both_versions
,
'status'
=>
[
8
],
'sort'
=>
'asc'
,
]]),
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment