1
1
{{ $languageNames := .languageNames -}}
2
2
3
3
{{ with .value -}}
4
- {{
4
+ {{
5
5
$remoteRegistries := dict
6
- "npm" (dict
6
+ "npm" (dict
7
7
"urlPattern" "https://npmjs.com/package/%s"
8
8
"installTemplate" "ecosystem/registry/quickinstall/default.md"
9
9
"installLine" "npm install %s"
@@ -116,16 +116,19 @@ <h4 class="card-title mb-0 d-flex flex-row">
116
116
< span class ="badge rounded-pill text-bg-info "> < i class ="fa-regular fa-star "> </ i > new</ span >
117
117
{{ end -}}
118
118
{{ if $isNative -}}
119
- < span class ="badge rounded-pill text-bg-success text-white "> < i class ="fa-solid fa-puzzle-piece "> </ i > native</ span >
119
+ < a href ="/ecosystem/registry?flag=native " class ="badge rounded-pill text-bg-success text-white " title ="Click to filter by native flag ">
120
+ < i class ="fa-solid fa-puzzle-piece "> </ i > native</ a >
120
121
{{ end -}}
121
122
{{ if $isFirstParty -}}
122
- < span class ="badge rounded-pill text-bg-success text-white "> < i class ="fa-solid fa-heart "> </ i > first party integration</ span >
123
+ < a href ="/ecosystem/registry?flag=first_party " class ="badge rounded-pill text-bg-success text-white " title ="Click to filter by first party flag ">
124
+ < i class ="fa-solid fa-heart "> </ i > first party integration</ a >
123
125
{{ end -}}
124
126
{{ if $usedInDemo -}}
125
127
< span class ="badge rounded-pill text-bg-secondary text-white " title ="This package is used in the OpenTelemetry Demo! "> < i class ="fa-solid fa-shapes "> </ i > OTel Demo</ span >
126
128
{{ end -}}
127
129
{{ if $deprecated -}}
128
- < span class ="badge rounded-pill text-bg-danger text-white " title =""> < i class ="fa-solid fa-ban "> </ i > deprecated</ span >
130
+ < a href ="/ecosystem/registry?flag=deprecated " class ="badge rounded-pill text-bg-danger text-white " title ="Click to filter by deprecated flag ">
131
+ < i class ="fa-solid fa-ban "> </ i > deprecated</ a >
129
132
{{ end -}}
130
133
{{ if .cncfProjectLevel -}}
131
134
< span class ="badge rounded-pill text-bg-primary text-white " title ="CNCF {{ .cncfProjectLevel}} Project ">
@@ -136,7 +139,7 @@ <h4 class="card-title mb-0 d-flex flex-row">
136
139
</ h4 >
137
140
< p class ="card-text ">
138
141
< small class ="text-body-secondary ">
139
- by
142
+ by
140
143
{{ range $index, $author := .authors -}}
141
144
{{ if $index }}, {{ end }}
142
145
{{ if eq $author.name "OpenTelemetry Authors" -}}
@@ -191,7 +194,7 @@ <h6><i class="fa-solid fa-forward"></i> Quick Install</h6>
191
194
{{ .package.version }}
192
195
</ div >
193
196
< small > Version</ small >
194
- </ div >
197
+ </ div >
195
198
</ li >
196
199
{{- end -}}
197
200
{{ with .language -}}
@@ -201,7 +204,7 @@ <h6><i class="fa-solid fa-forward"></i> Quick Install</h6>
201
204
{{ $languageNames.Get . | default (humanize .) }}
202
205
</ div >
203
206
< small > Language</ small >
204
- </ div >
207
+ </ div >
205
208
</ li >
206
209
{{- end }}
207
210
{{ with .registryType -}}
@@ -211,7 +214,7 @@ <h6><i class="fa-solid fa-forward"></i> Quick Install</h6>
211
214
{{ . | humanize }}
212
215
</ div >
213
216
< small > Component</ small >
214
- </ div >
217
+ </ div >
215
218
</ li >
216
219
{{- end -}}
217
220
{{ with .license -}}
@@ -221,7 +224,7 @@ <h6><i class="fa-solid fa-forward"></i> Quick Install</h6>
221
224
{{ . }}
222
225
</ div >
223
226
< small > License</ small >
224
- </ div >
227
+ </ div >
225
228
</ li >
226
229
{{- end -}}
227
230
</ div >
0 commit comments