From 65b7a320ea603bb7ad03ea1360dfaad5e228b7a3 Mon Sep 17 00:00:00 2001 From: Basirat Kareem <101411132+basiratkareem@users.noreply.github.com> Date: Fri, 22 Nov 2024 11:50:26 +0100 Subject: [PATCH] Implement clickable flag buttons to filter records without updating search term (#5611) Co-authored-by: Severin Neumann --- .../partials/ecosystem/registry/entry.html | 23 +++++++++++-------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/layouts/partials/ecosystem/registry/entry.html b/layouts/partials/ecosystem/registry/entry.html index 27b17cc83014..ba87a52671fc 100644 --- a/layouts/partials/ecosystem/registry/entry.html +++ b/layouts/partials/ecosystem/registry/entry.html @@ -1,9 +1,9 @@ {{ $languageNames := .languageNames -}} {{ with .value -}} - {{ + {{ $remoteRegistries := dict - "npm" (dict + "npm" (dict "urlPattern" "https://npmjs.com/package/%s" "installTemplate" "ecosystem/registry/quickinstall/default.md" "installLine" "npm install %s" @@ -116,16 +116,19 @@

new {{ end -}} {{ if $isNative -}} - native + + native {{ end -}} {{ if $isFirstParty -}} - first party integration + + first party integration {{ end -}} {{ if $usedInDemo -}} OTel Demo {{ end -}} {{ if $deprecated -}} - deprecated + + deprecated {{ end -}} {{ if .cncfProjectLevel -}} @@ -136,7 +139,7 @@

- by + by {{ range $index, $author := .authors -}} {{ if $index }}, {{ end }} {{ if eq $author.name "OpenTelemetry Authors" -}} @@ -191,7 +194,7 @@

Quick Install
{{ .package.version }} Version - + {{- end -}} {{ with .language -}} @@ -201,7 +204,7 @@
Quick Install
{{ $languageNames.Get . | default (humanize .) }} Language - + {{- end }} {{ with .registryType -}} @@ -211,7 +214,7 @@
Quick Install
{{ . | humanize }} Component - + {{- end -}} {{ with .license -}} @@ -221,7 +224,7 @@
Quick Install
{{ . }} License - + {{- end -}}