feat: Added a link to documentation in admin panel
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user