feat: Added a link to documentation in admin panel

This commit is contained in:
2025-06-04 19:26:26 +02:00
parent c525dfe1c1
commit 00e79e5f4d
2 changed files with 4 additions and 1 deletions

View File

@@ -8,6 +8,10 @@
<a matListItemTitle>{{link.title}}</a> <a matListItemTitle>{{link.title}}</a>
</mat-list-item> </mat-list-item>
} }
<a mat-list-item href="https://foliand.men/wiki/!ipwa/" target="_blank">
<mat-icon matListItemIcon>developer_guide</mat-icon>
<a matListItemTitle>Dokumentacja</a>
</a>
<mat-list-item (click)="goNormal()"> <mat-list-item (click)="goNormal()">
<mat-icon matListItemIcon>close</mat-icon> <mat-icon matListItemIcon>close</mat-icon>
<h4 matListItemTitle>Zakończ edycję</h4> <h4 matListItemTitle>Zakończ edycję</h4>

View File

@@ -19,7 +19,6 @@ export class AdminViewComponent {
{ title: "Czystość", icon: "cleaning_services", href: "grades", enabled: this.ls.permChecker(128) && this.ls.capCheck(16) }, { title: "Czystość", icon: "cleaning_services", href: "grades", enabled: this.ls.permChecker(128) && this.ls.capCheck(16) },
{ title: "Frekwencja", icon: "checklist", href: "attendence", enabled: false }, { title: "Frekwencja", icon: "checklist", href: "attendence", enabled: false },
{ title: "Ustawienia", icon: "settings_applications", href: "settings", enabled: this.ls.permChecker(32) }, { title: "Ustawienia", icon: "settings_applications", href: "settings", enabled: this.ls.permChecker(32) },
{ title: "Instrukcje", icon: "description", href: "guide", enabled: true }
]; ];
public get LINKS(): Link[] { public get LINKS(): Link[] {
return this._LINKS.filter(v => v.enabled); return this._LINKS.filter(v => v.enabled);