mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-06 06:12:16 +00:00
feat: console descriptions (#7552)
* org page descriptions * feat(console): describe options * docs: fix bullet * lint * refactor: cleanup unused translations * translate * translate * translate * members * add links * translate * remove scripts * lint * remove node-jq * fix styles * Update console/src/assets/i18n/it.json Co-authored-by: Max Peintner <[email protected]> * Update console/src/assets/i18n/it.json Co-authored-by: Max Peintner <[email protected]> * Update console/src/assets/i18n/it.json Co-authored-by: Max Peintner <[email protected]> --------- Co-authored-by: peintnermax <[email protected]>
This commit is contained in:
co-authored by
Max Peintner
parent
1db10a4286
commit
6a1b708ff8
@@ -1,36 +1,44 @@
|
||||
<div class="max-width-container">
|
||||
<div class="enlarged-container">
|
||||
<div class="project-title-row">
|
||||
<h1>{{ 'PROJECT.PAGES.LIST' | translate }}</h1>
|
||||
<a mat-icon-button href="https://zitadel.com/docs/guides/manage/console/projects" rel="noreferrer" target="_blank">
|
||||
<h1>{{ 'DESCRIPTIONS.PROJECTS.TITLE' | translate }}</h1>
|
||||
<a mat-icon-button href="https://zitadel.com/docs/concepts/structure/projects" rel="noreferrer" target="_blank">
|
||||
<mat-icon class="icon">info_outline</mat-icon>
|
||||
</a>
|
||||
</div>
|
||||
<p class="sub cnsl-secondary-text max-width-description">{{ 'PROJECT.PAGES.LISTDESCRIPTION' | translate }}</p>
|
||||
|
||||
<p
|
||||
class="sub cnsl-secondary-text max-width-description"
|
||||
[innerHTML]="'DESCRIPTIONS.PROJECTS.DESCRIPTION' | translate"
|
||||
></p>
|
||||
<div class="projects-controls">
|
||||
<div class="project-toggle-group">
|
||||
<cnsl-nav-toggle
|
||||
label="{{ 'PROJECT.PAGES.TYPE.OWNED' | translate }}"
|
||||
label="{{ 'DESCRIPTIONS.PROJECTS.OWNED.TITLE' | translate }}"
|
||||
[count]="mgmtService.ownedProjectsCount | async"
|
||||
(clicked)="setType(ProjectType.PROJECTTYPE_OWNED)"
|
||||
[active]="(projectType$ | async) === ProjectType.PROJECTTYPE_OWNED"
|
||||
></cnsl-nav-toggle>
|
||||
<cnsl-nav-toggle
|
||||
label="{{ 'PROJECT.PAGES.TYPE.GRANTED' | translate }}"
|
||||
label="{{ 'DESCRIPTIONS.PROJECTS.GRANTED.TITLE' | translate }}"
|
||||
[count]="mgmtService.grantedProjectsCount | async"
|
||||
(clicked)="setType(ProjectType.PROJECTTYPE_GRANTED)"
|
||||
[active]="(projectType$ | async) === ProjectType.PROJECTTYPE_GRANTED"
|
||||
></cnsl-nav-toggle>
|
||||
</div>
|
||||
|
||||
<span class="fill-space"></span>
|
||||
<button class="grid-btn" (click)="grid = !grid" mat-icon-button data-e2e="toggle-grid">
|
||||
<i *ngIf="grid" class="show list view las la-th-list"></i>
|
||||
<i *ngIf="!grid" class="las la-border-all"></i>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<p class="sub cnsl-secondary-text max-width-description">
|
||||
{{
|
||||
((projectType$ | async) === ProjectType.PROJECTTYPE_OWNED
|
||||
? 'DESCRIPTIONS.PROJECTS.OWNED.DESCRIPTION'
|
||||
: 'DESCRIPTIONS.PROJECTS.GRANTED.DESCRIPTION'
|
||||
) | translate
|
||||
}}
|
||||
</p>
|
||||
<cnsl-project-grid
|
||||
*ngIf="grid"
|
||||
[projectType$]="projectType$"
|
||||
|
||||
Reference in New Issue
Block a user