Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[i18n] Move registry search-form alert into registry page #6336

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions content/en/ecosystem/registry/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,15 @@ redirects: [{ from: /ecosystem/registry*, to: '/ecosystem/registry?' }]

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

{{% alert color="info" %}}

The OpenTelemetry Registry allows you to search for instrumentation libraries,
collector components, utilities, and other useful projects in the OpenTelemetry
ecosystem. If you are a project maintainer, you can
[add your project to the OpenTelemetry Registry](adding/).

{{% /alert %}}

{{< ecosystem/registry/search-form >}}

{{< /blocks/section >}}
8 changes: 0 additions & 8 deletions layouts/shortcodes/ecosystem/registry/search-form.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

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


{{ $langs := slice -}}
{{ range $registry -}}
{{ $language := .language -}}
Expand Down Expand Up @@ -67,13 +66,6 @@
{{ end -}}
{{ $uniqueFlags := $allFlags | uniq | sort }}

<div class="alert alert-info">
The OpenTelemetry Registry allows you to search for instrumentation libraries,
collector components, utilities, and other useful projects in the OpenTelemetry
ecosystem. If you are a project maintainer, you can
<a href="{{ $registryUrl }}adding/">add your project to the OpenTelemetry Registry</a>
</div>

<div class="pb-4">
<form action="{{ $registryUrl }}" id="searchForm">
<div class="input-group">
Expand Down
Loading