Skip to content

Commit 8b396c5

Browse files
authored
Merge pull request #531 from darkdoc/fix_ci_urls
Fix the urls being generated for patterns on the CI status page
2 parents 96fad72 + 97289f6 commit 8b396c5

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

static/js/dashboard.v2.js

+14-4
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ function pattern_url (key) {
100100
if (key == 'devsecops') {
101101
return '/patterns/devsecops/'
102102
}
103-
if (key == 'manuela') {
103+
if (key == 'industrialedge') {
104104
return '/patterns/industrial-edge/'
105105
}
106106
if (key == 'mcgitops') {
@@ -109,6 +109,16 @@ function pattern_url (key) {
109109
if (key == 'medicaldiag') {
110110
return '/patterns/medical-diagnosis/'
111111
}
112+
if (key == 'ragllm') {
113+
return '/patterns/rag-llm-gitops/'
114+
}
115+
if (key == 'openshiftai') {
116+
return '/patterns/openshift-ai/'
117+
}
118+
if (key == 'agof') {
119+
return '/patterns/ansible-gitops-framework/'
120+
}
121+
112122
return '/patterns/' + key + '/'
113123
}
114124

@@ -431,7 +441,7 @@ function processBadges (badges, options) {
431441
if ( options.get('sets').includes('all') || options.get('sets').includes('early')) {
432442
htmlText += createFilteredHorizontalTable(badges, 'operator', null, true, links)
433443
}
434-
444+
435445
}
436446
document.getElementById(options.get('target')).innerHTML = htmlText
437447
}
@@ -448,7 +458,7 @@ function getBucketOptions (input) {
448458
}
449459
options.set('links', 'public')
450460
options.set('target', 'dataset')
451-
461+
452462
buckets = []
453463
const bucket = input['bucket']
454464
if (bucket != null) {
@@ -508,7 +518,7 @@ function fetchBucketBadges(bucket, inputs) {
508518
function obtainBadges (inputs) {
509519
const options = getBucketOptions(inputs);
510520
const buckets = options.get('buckets')
511-
521+
512522
// Create an array to store promises for each bucket's badges
513523
const badgePromises = [];
514524

0 commit comments

Comments
 (0)