Skip to content

Commit fd873ed

Browse files
authored
[i18n] Move registry search-form alert into registry page (#6336)
1 parent eaee0d7 commit fd873ed

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

content/en/ecosystem/registry/_index.md

+9
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,15 @@ redirects: [{ from: /ecosystem/registry*, to: '/ecosystem/registry?' }]
3939

4040
{{< blocks/section color="white" type="container-lg" >}}
4141

42+
{{% alert color="info" %}}
43+
44+
The OpenTelemetry Registry allows you to search for instrumentation libraries,
45+
collector components, utilities, and other useful projects in the OpenTelemetry
46+
ecosystem. If you are a project maintainer, you can
47+
[add your project to the OpenTelemetry Registry](adding/).
48+
49+
{{% /alert %}}
50+
4251
{{< ecosystem/registry/search-form >}}
4352

4453
{{< /blocks/section >}}

layouts/shortcodes/ecosystem/registry/search-form.html

-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
{{ $officialLanguages := slice "collector" "cpp" "erlang" "elixir" "dotnet" "go" "java" "js" "php" "python" "ruby" "rust" "swift" -}}
1111

12-
1312
{{ $langs := slice -}}
1413
{{ range $registry -}}
1514
{{ $language := .language -}}
@@ -67,13 +66,6 @@
6766
{{ end -}}
6867
{{ $uniqueFlags := $allFlags | uniq | sort }}
6968

70-
<div class="alert alert-info">
71-
The OpenTelemetry Registry allows you to search for instrumentation libraries,
72-
collector components, utilities, and other useful projects in the OpenTelemetry
73-
ecosystem. If you are a project maintainer, you can
74-
<a href="{{ $registryUrl }}adding/">add your project to the OpenTelemetry Registry</a>
75-
</div>
76-
7769
<div class="pb-4">
7870
<form action="{{ $registryUrl }}" id="searchForm">
7971
<div class="input-group">

0 commit comments

Comments
 (0)