chore: replace docs links (#4843)

* chore: replace docs links

* Update index.js

* prettier
This commit is contained in:
Florian Forster
2022-12-07 00:09:50 +01:00
committed by GitHub
parent a1dfe02cf2
commit 5c6971a6a4
18 changed files with 58 additions and 72 deletions

View File

@@ -170,7 +170,7 @@
<span class="fill-space"></span>
<a class="doc-link" href="https://docs.zitadel.com" mat-stroked-button target="_blank">
<a class="doc-link" href="https://zitadel.com/docs" mat-stroked-button target="_blank">
{{ 'MENU.DOCUMENTATION' | translate }}
</a>

View File

@@ -5,7 +5,7 @@
>
<p class="subinfo" sub>
<span class="cnsl-secondary-text">{{ 'PROJECT.MEMBER.DESCRIPTION' | translate }}</span>
<a mat-icon-button href="https://docs.zitadel.com/docs/concepts/structure/managers" target="_blank">
<a mat-icon-button href="https://zitadel.com/docs/concepts/structure/managers" target="_blank">
<i class="las la-info-circle"></i>
</a>
</p>

View File

@@ -6,7 +6,7 @@
<h1>{{ 'ORG.DOMAINS.TITLE' | translate }}</h1>
<a
mat-icon-button
href="https://docs.zitadel.com/docs/guides/manage/console/organizations#how-zitadel-handles-usernames"
href="https://zitadel.com/docs/guides/manage/console/organizations#how-zitadel-handles-usernames"
rel="noreferrer"
target="_blank"
>

View File

@@ -10,26 +10,21 @@
<span class="fill-space"></span>
<div class="home-grid-container">
<a href="https://docs.zitadel.com" target="_blank" rel="noreferrer" class="grid-item blue">
<a href="https://zitadel.com/docs" target="_blank" rel="noreferrer" class="grid-item blue">
<div class="grid-item-avatar blue">
<i class="icon las la-file-alt"></i>
</div>
<span>{{ 'HOME.DOCUMENTATION.TITLE' | translate }}</span>
</a>
<a
href="https://docs.zitadel.com/docs/guides/start/quickstart"
target="_blank"
rel="noreferrer"
class="grid-item green"
>
<a href="https://zitadel.com/docs/guides/start/quickstart" target="_blank" rel="noreferrer" class="grid-item green">
<div class="grid-item-avatar green">
<i class="icon las la-play"></i>
</div>
<span>{{ 'HOME.GETSTARTED.TITLE' | translate }}</span>
</a>
<a href="https://docs.zitadel.com/docs/examples/introduction" target="_blank" rel="noreferrer" class="grid-item green">
<a href="https://zitadel.com/docs/examples/introduction" target="_blank" rel="noreferrer" class="grid-item green">
<div class="grid-item-avatar green">
<i class="icon las la-play"></i>
</div>

View File

@@ -1,7 +1,7 @@
<cnsl-detail-layout [hasBackButton]="true" title="{{ 'IAM.MEMBER.TITLE' | translate }}">
<p class="subinfo" sub>
<span class="cnsl-secondary-text">{{ 'IAM.MEMBER.DESCRIPTION' | translate }}</span>
<a mat-icon-button href="https://docs.zitadel.com/docs/concepts/structure/managers" target="_blank">
<a mat-icon-button href="https://zitadel.com/docs/concepts/structure/managers" target="_blank">
<i class="las la-info-circle"></i>
</a>
</p>

View File

@@ -1,7 +1,7 @@
<cnsl-detail-layout title="{{ org?.name }} {{ 'ORG.MEMBER.TITLE' | translate }}">
<p class="subinfo" sub>
<span class="cnsl-secondary-text">{{ 'ORG.MEMBER.DESCRIPTION' | translate }}</span>
<a mat-icon-button href="https://docs.zitadel.com/docs/concepts/structure/managers" target="_blank">
<a mat-icon-button href="https://zitadel.com/docs/concepts/structure/managers" target="_blank">
<i class="las la-info-circle"></i>
</a>
</p>

View File

@@ -1,7 +1,7 @@
<cnsl-top-view
title="{{ app?.name }}"
[hasActions]="isZitadel === false && (['project.app.write:' + projectId, 'project.app.write'] | hasRole | async)"
docLink="https://docs.zitadel.com/docs/guides/manage/console/projects"
docLink="https://zitadel.com/docs/guides/manage/console/projects"
[sub]="app?.oidcConfig ? ('APP.OIDC.APPTYPE.' + app?.oidcConfig?.appType | translate) : app?.apiConfig ? 'API' : 'SAML'"
[isActive]="app?.state === AppState.APP_STATE_ACTIVE"
[isInactive]="app?.state === AppState.APP_STATE_INACTIVE"

View File

@@ -1,7 +1,7 @@
<cnsl-top-view
title="{{ project?.projectName }}"
[hasActions]="false"
docLink="https://docs.zitadel.com/docs/guides/manage/console/projects#what-is-a-granted-project"
docLink="https://zitadel.com/docs/guides/manage/console/projects#what-is-a-granted-project"
sub="{{ 'PROJECT.PAGES.TYPE.GRANTED_SINGULAR' | translate }} {{ 'ACTIONS.OF' | translate }} <strong>{{
project?.projectOwnerName
}}</strong>"

View File

@@ -1,6 +1,6 @@
<cnsl-top-view
title="{{ project?.name }}"
docLink="https://docs.zitadel.com/docs/guides/manage/console/projects"
docLink="https://zitadel.com/docs/guides/manage/console/projects"
sub="{{ 'PROJECT.PAGES.TYPE.OWNED_SINGULAR' | translate }}"
[isActive]="project?.state === ProjectState.PROJECT_STATE_ACTIVE"
[isInactive]="project?.state === ProjectState.PROJECT_STATE_INACTIVE"

View File

@@ -1,11 +1,7 @@
<cnsl-detail-layout [hasBackButton]="true" title="{{ 'PROJECT.GRANT.DETAIL.TITLE' | translate }}">
<p class="subinfo" sub>
<span class="cnsl-secondary-text">{{ 'PROJECT.GRANT.DETAIL.DESC' | translate }}</span>
<a
mat-icon-button
href="https://docs.zitadel.com/docs/concepts/structure/projects#granted-organizations"
target="_blank"
>
<a mat-icon-button href="https://zitadel.com/docs/concepts/structure/projects#granted-organizations" target="_blank">
<i class="las la-info-circle"></i>
</a>
</p>

View File

@@ -2,12 +2,7 @@
<div class="enlarged-container">
<div class="project-title-row">
<h1>{{ 'PROJECT.PAGES.LIST' | translate }}</h1>
<a
mat-icon-button
href="https://docs.zitadel.com/docs/guides/manage/console/projects"
rel="noreferrer"
target="_blank"
>
<a mat-icon-button href="https://zitadel.com/docs/guides/manage/console/projects" rel="noreferrer" target="_blank">
<i class="las la-info-circle"></i>
</a>
</div>

View File

@@ -1,7 +1,7 @@
<cnsl-top-view
*ngIf="user"
title="{{ user.human ? user.human.profile?.displayName : user.machine?.name }}"
docLink="https://docs.zitadel.com/docs/guides/manage/console/projects"
docLink="https://zitadel.com/docs/guides/manage/console/projects"
sub="{{ user.preferredLoginName }}"
[isActive]="user.state === UserState.USER_STATE_ACTIVE"
[isInactive]="user.state === UserState.USER_STATE_INACTIVE"

View File

@@ -3,7 +3,7 @@
<ng-container *ngSwitchCase="Type.TYPE_HUMAN">
<div class="users-title-row">
<h1>{{ 'USER.PAGES.LIST' | translate }}</h1>
<a mat-icon-button href="https://docs.zitadel.com/docs/concepts/structure/users" rel="noreferrer" target="_blank">
<a mat-icon-button href="https://zitadel.com/docs/concepts/structure/users" rel="noreferrer" target="_blank">
<i class="las la-info-circle"></i>
</a>
</div>