mirror of https://github.com/docker/docs.git
fix: hugo includes rendering bug (#21943)
## Description - There is a bug in Hugo that is not parsing includes that begin with a shortcode correctly - The fix here replaces the admin-early-access.md include with our summary bar solution - Summary bar shortcode updated to support text in the `availability` field, this will allow us more flexibility with customizing this field while still supporting the iconography - NOTE: We will not be able to add the summary bar inside {{tab}}/{{tabs}} layouts because it messes up the rendering ## Related issues or tickets ## Reviews <!-- Notes for reviewers here --> <!-- List applicable reviews (optionally @tag reviewers) --> - [ ] Technical review - [ ] Editorial review - [ ] Product review
This commit is contained in:
parent
1a7d135ded
commit
61fa434aea
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
---
|
||||
|
||||
{{% restricted title="Early Access" %}}
|
||||
The Docker Admin Console is an [early access](/release-lifecycle#early-access-ea) product.
|
||||
|
||||
It's available to all company owners and organization owners. You can still manage organizations in Docker Hub, but the Admin Console includes company-level management and enhanced features for organization management.
|
||||
{{% /restricted %}}
|
|
@ -12,10 +12,10 @@ You can create a new company in the Docker Admin Console. Before you begin, you
|
|||
- Be the owner of the organization you want to add to your company
|
||||
- Have a Docker Business subscription
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
## Create a company
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
To create a new company:
|
||||
|
||||
1. Sign in to the [Admin Console](https://app.docker.com/admin).
|
||||
|
|
|
@ -8,10 +8,10 @@ title: Manage company organizations
|
|||
|
||||
You can manage the organizations in a company in the Docker Admin Console.
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
## View all organizations
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
1. Sign in to the [Admin Console](https://admin.docker.com).
|
||||
2. Select your company on the **Choose profile** page.
|
||||
3. Under **Organizations**, select **Overview**.
|
||||
|
@ -26,6 +26,8 @@ For more information about adding seats, see [Manage seats](/manuals/subscriptio
|
|||
|
||||
## Add organizations to a company
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
You must be a company owner to add an organization to a company. You must also be an organization owner of the organization you want to add. There is no limit to the number of organizations you can have under a company layer. All organizations must have a Business subscription.
|
||||
|
||||
> [!IMPORTANT]
|
||||
|
@ -41,6 +43,8 @@ You must be a company owner to add an organization to a company. You must also b
|
|||
|
||||
## Manage an organization
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
1. Sign in to the [Admin Console](https://admin.docker.com).
|
||||
2. Select your company on the **Choose profile** page.
|
||||
3. Select the organization that you want to manage.
|
||||
|
|
|
@ -15,10 +15,10 @@ owners for all associated organizations. Unlike organization owners, company
|
|||
owners don't need to be member of an organization. When company owners aren't a
|
||||
member in an organization, they don't occupy a seat.
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
## Add a company owner
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
1. Sign in to the [Admin Console](https://admin.docker.com).
|
||||
2. Select your company on the **Choose profile** page.
|
||||
3. Select **Company owners**.
|
||||
|
@ -28,6 +28,8 @@ member in an organization, they don't occupy a seat.
|
|||
|
||||
## Remove a company owner
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
1. Sign in to the [Admin Console](https://admin.docker.com).
|
||||
2. Select your company on the **Choose profile** page.
|
||||
3. Select **Company owners**.
|
||||
|
|
|
@ -10,8 +10,6 @@ You can manage users at the company-level in the Docker Admin Console.
|
|||
|
||||
{{% admin-users product="admin" layer="company" %}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
## Manage members on a team
|
||||
|
||||
Use Docker Hub to add a member to a team or remove a member from a team. For more details, see [Manage members in Docker Hub](../organization/members.md#manage-members-on-a-team).
|
||||
|
|
|
@ -31,6 +31,8 @@ Before deactivating an organization, complete the following:
|
|||
|
||||
## Deactivate
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
Once you have completed all the previous steps, you can deactivate your organization.
|
||||
|
||||
> [!WARNING]
|
||||
|
|
|
@ -22,6 +22,8 @@ Owners can also see the activity logs for their repository if the repository is
|
|||
|
||||
## Manage activity logs
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -30,8 +32,6 @@ Owners can also see the activity logs for their repository if the repository is
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-org-audit-log product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
|
@ -5,7 +5,7 @@ description: Learn how to manage settings for organizations using Docker Admin C
|
|||
keywords: organization, settings, Admin Console
|
||||
---
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
This section describes how to manage organization settings in the Docker Admin Console.
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ Key benefits include:
|
|||
|
||||
## View Insights for organization users
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
To access Insights, you must contact your Customer Success Manager to have the
|
||||
feature enabled. Once the feature is enabled, access Insights using the following
|
||||
|
|
|
@ -34,6 +34,8 @@ The organization owner can also add additional organization owners to help them
|
|||
|
||||
## Create a team
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -46,8 +48,6 @@ The organization owner can also add additional organization owners to help them
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
1. In Admin Console, select your organization.
|
||||
2. In the **User management** section, select **Teams**.
|
||||
3. Select **Create team**.
|
||||
|
@ -117,6 +117,8 @@ To view a team's permissions across all repositories:
|
|||
|
||||
## Delete a team
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
Organization owners can delete a team in Docker Hub or Admin Console. When you remove a team from your organization, this action revokes the members' access to the team's permitted resources. It won't remove users from other teams that they belong to, nor will it delete any resources.
|
||||
|
||||
{{< tabs >}}
|
||||
|
@ -133,8 +135,6 @@ Organization owners can delete a team in Docker Hub or Admin Console. When you r
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
1. In the [Admin Console](https://app.docker.com/admin), select your organization.
|
||||
2. In the **User management** section, select **Teams**.
|
||||
3. Select the **Actions** icon next to the name of the team you want to delete.
|
||||
|
|
|
@ -11,6 +11,8 @@ Learn how to manage members for your organization in Docker Hub and the Docker A
|
|||
|
||||
## Invite members
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -19,8 +21,6 @@ Learn how to manage members for your organization in Docker Hub and the Docker A
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-users product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -52,6 +52,8 @@ After inviting members, you can resend or remove invitations as needed.
|
|||
|
||||
### Resend an invitation
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -66,8 +68,6 @@ To resend an invitation from Docker Hub:
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To resend an invitation from the Admin Console:
|
||||
|
||||
1. In the [Admin Console](https://app.docker.com/admin), select your organization.
|
||||
|
@ -80,6 +80,8 @@ To resend an invitation from the Admin Console:
|
|||
|
||||
### Remove an invitation
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -93,8 +95,6 @@ To remove a member's invitation from Docker Hub:
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To remove an invitation from the Admin Console:
|
||||
|
||||
1. In the [Admin Console](https://app.docker.com/admin), select your organization.
|
||||
|
@ -111,6 +111,8 @@ Use Docker Hub or the Admin Console to add or remove team members. Organization
|
|||
|
||||
### Add a member to a team
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -132,8 +134,6 @@ To add a member to a team with Docker Hub:
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To add a member to a team with the Admin Console:
|
||||
|
||||
1. In the [Admin Console](https://app.docker.com/admin), select your organization.
|
||||
|
@ -149,6 +149,8 @@ To add a member to a team with the Admin Console:
|
|||
|
||||
### Remove a member from a team
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
Organization owners can remove a member from a team in Docker Hub or Admin Console. Removing the member from the team will revoke their access to the permitted resources.
|
||||
|
||||
{{< tabs >}}
|
||||
|
@ -164,8 +166,6 @@ To remove a member from a specific team with Docker Hub:
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To remove a member from a specific team with the Admin Console:
|
||||
|
||||
1. In the [Admin Console](https://app.docker.com/admin), select your organization.
|
||||
|
@ -219,8 +219,6 @@ To export a CSV file of your members:
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To export a CSV file of your members:
|
||||
|
||||
1. In the [Admin Console](https://app.docker.com/admin), select your organization.
|
||||
|
|
|
@ -13,8 +13,6 @@ aliases:
|
|||
|
||||
{{< summary-bar feature_name="Admin orgs" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
Learn how to onboard your organization using Docker Hub or the Docker Admin Console.
|
||||
|
||||
Onboarding your organization lets administrators gain visibility into user activity and enforce security settings. In addition, members of your organization receive increased pull limits and other organization wide benefits. For more details, see [Docker subscriptions and features](../../subscription/details.md).
|
||||
|
|
|
@ -17,6 +17,8 @@ This section describes how to create an organization. Before you begin:
|
|||
|
||||
## Create an organization
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
There are multiple ways to create an organization. You can either:
|
||||
- Create a new organization using the **Create Organization** option in Docker Hub
|
||||
- Convert an existing user account to an organization
|
||||
|
@ -53,8 +55,6 @@ You've now created an organization.
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To create an organization:
|
||||
|
||||
1. Sign in to [Docker Home](https://app.docker.com/).
|
||||
|
@ -85,6 +85,8 @@ You've now created an organization.
|
|||
|
||||
## View an organization
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -138,8 +140,6 @@ configure your organization.
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
To view an organization in the Admin Console:
|
||||
|
||||
1. Sign in to [Docker Home](https://app.docker.com).
|
||||
|
|
|
@ -44,6 +44,8 @@ Before you audit your domains, review the following required prerequisites:
|
|||
|
||||
## Audit your domains for uncaptured users
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -52,8 +54,6 @@ Before you audit your domains, review the following required prerequisites:
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-domain-audit product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
|
@ -23,6 +23,8 @@ You first need to [enforce sign-in](/manuals/security/for-admins/enforce-sign-in
|
|||
|
||||
## Configure
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -31,8 +33,6 @@ You first need to [enforce sign-in](/manuals/security/for-admins/enforce-sign-in
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-image-access product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
|
@ -38,6 +38,8 @@ feature always takes effect.
|
|||
|
||||
## Configure Registry Access Management permissions
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Docker Hub" >}}
|
||||
|
||||
|
@ -46,8 +48,6 @@ feature always takes effect.
|
|||
{{< /tab >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-registry-access product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
|
@ -48,13 +48,13 @@ For additional details about supported attributes and SCIM, see [Docker Hub API
|
|||
|
||||
## Enable SCIM in Docker
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
You must [configure SSO](../single-sign-on/configure/_index.md) before you enable SCIM. Enforcing SSO isn't required to use SCIM.
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-scim product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -240,13 +240,13 @@ See the documentation for your IdP for additional details:
|
|||
|
||||
## Disable SCIM
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
If SCIM is disabled, any user provisioned through SCIM will remain in the organization. Future changes for your users will not sync from your IdP. User de-provisioning is only possible when manually removing the user from the organization.
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-scim-disable product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
|
|
@ -18,11 +18,11 @@ Get started creating a single sign-on (SSO) connection for your organization or
|
|||
|
||||
## Step one: Add your domain
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
1. Sign in to the [Admin Console](https://admin.docker.com/).
|
||||
2. Select your organization or company from the **Choose profile** page. Note that when an organization is part of a company, you must select the company and configure the domain for the organization at the company level.
|
||||
3. Under **Security and access**, select **Domain management**.
|
||||
|
@ -45,13 +45,13 @@ Get started creating a single sign-on (SSO) connection for your organization or
|
|||
|
||||
## Step two: Verify your domain
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
Verifying your domain ensures Docker knows you own it. Domain verification is done by adding your Docker TXT Record Value to your domain host. The TXT Record Value proves ownership, which signals the Domain Name System (DNS) to add this record. It can take up to 72 hours for DNS to recognize the change. When the change is reflected in DNS, Docker will automatically check the record to confirm your ownership.
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
1. Navigate to your domain host, create a new TXT record, and paste the **TXT Record Value** from Docker.
|
||||
2. TXT record verification can take 72 hours. Once you have waited for TXT record verification, return to the **Domain management** page of the Admin Console and select **Verify** next to your domain name.
|
||||
|
||||
|
|
|
@ -23,6 +23,8 @@ Make sure you have completed the following before you begin:
|
|||
|
||||
## Step one: Create an SSO connection in Docker
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
>[!NOTE]
|
||||
>
|
||||
> Before creating an SSO connection in Docker, you must verify at least one domain.
|
||||
|
@ -30,8 +32,6 @@ Make sure you have completed the following before you begin:
|
|||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
1. Sign in to the [Admin Console](https://admin.docker.com/).
|
||||
2. Select your organization or company from the **Choose profile** page. Note that when an organization is part of a company, you must select the company and configure the domain for the organization at the company level.
|
||||
3. Under Security and access, select **SSO and SCIM**.
|
||||
|
|
|
@ -12,21 +12,21 @@ aliases:
|
|||
|
||||
## Manage organizations
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
> [!NOTE]
|
||||
>
|
||||
> You must have a [company](/admin/company/) to manage more than one organization.
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-sso-management-orgs product="admin" %}}
|
||||
|
||||
## Manage domains
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-sso-management product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -39,11 +39,11 @@ aliases:
|
|||
|
||||
## Manage SSO connections
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
{{< tabs >}}
|
||||
{{< tab name="Admin Console" >}}
|
||||
|
||||
{{% include "admin-early-access.md" %}}
|
||||
|
||||
{{% admin-sso-management-connections product="admin" %}}
|
||||
|
||||
{{< /tab >}}
|
||||
|
@ -70,6 +70,8 @@ aliases:
|
|||
|
||||
### Add guest users when SSO is enabled
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
To add a guest that isn't verified through your IdP:
|
||||
|
||||
1. Sign in to the [Admin Console](https://app.docker.com/admin).
|
||||
|
@ -79,6 +81,8 @@ To add a guest that isn't verified through your IdP:
|
|||
|
||||
### Remove users from the SSO company
|
||||
|
||||
{{< summary-bar feature_name="Admin console early access" >}}
|
||||
|
||||
To remove a user:
|
||||
|
||||
1. Sign in to [Admin Console](https://app.docker.com/admin).
|
||||
|
|
|
@ -3,8 +3,10 @@ Activity logs:
|
|||
for: Administrators
|
||||
Admin Console:
|
||||
subscription: [Business]
|
||||
availability: Early access
|
||||
availability: Early Access
|
||||
for: Administrators
|
||||
Admin console early access:
|
||||
availability: The Admin Console is in Early Access
|
||||
Admin orgs:
|
||||
subscription: [Team, Business]
|
||||
for: Administrators
|
||||
|
@ -120,9 +122,8 @@ Docker Desktop CLI:
|
|||
requires: Docker Desktop [4.37](/manuals/desktop/release-notes.md#4370) and later
|
||||
Docker Desktop CLI update:
|
||||
requires: Docker Desktop 4.38 and later
|
||||
requires:
|
||||
Docker GitHub Copilot:
|
||||
availability: Early access
|
||||
availability: Early Access
|
||||
Docker Scout exceptions:
|
||||
availability: Experimental
|
||||
requires: Docker Scout CLI [1.15.0](/manuals/scout/release-notes/cli.md#1150) and later
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
{{ $availabilityIcons := dict
|
||||
"Experimental" "science"
|
||||
"Beta" "bolt"
|
||||
"Early access" "rocket_launch"
|
||||
"Early Access" "rocket_launch"
|
||||
"GA" "check_circle"
|
||||
"Retired" "package_2"
|
||||
}}
|
||||
|
@ -40,19 +40,19 @@
|
|||
{{ end }}
|
||||
|
||||
{{ with $feature.availability }}
|
||||
{{ $availabilityText := . }}
|
||||
<div class="flex items-center gap-1">
|
||||
<span class="font-bold">Availability:</span>
|
||||
<span>{{ . }}</span>
|
||||
<span class="icon-svg">
|
||||
{{ $icon := index $availabilityIcons . }}
|
||||
{{ if $icon }}
|
||||
{{ partial "icon" $icon }}
|
||||
{{ else }}
|
||||
{{ partial "icon" "default_icon" }}
|
||||
<span>
|
||||
{{ $availabilityText }}
|
||||
{{ range $key, $icon := $availabilityIcons }}
|
||||
{{ if in $availabilityText $key }}
|
||||
<span class="icon-svg">{{ partial "icon" $icon }}</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ with $feature.requires }}
|
||||
<div class="flex items-center gap-1">
|
||||
|
|
Loading…
Reference in New Issue