mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-23 01:53:00 +00:00
23 lines
692 B
HTML
23 lines
692 B
HTML
<stapps-section
|
|
[title]="'dashboard.canteens.title' | translate"
|
|
[isEditable]="true"
|
|
(onEdit)="onSectionEdit()"
|
|
>
|
|
<ng-container *ngIf="(items | async)?.length">
|
|
<stapps-mensa-section-content
|
|
[items]="items | async"
|
|
></stapps-mensa-section-content>
|
|
</ng-container>
|
|
<ng-container *ngIf="!(items | async)?.length">
|
|
<div class="card">
|
|
<ion-label>
|
|
{{ 'dashboard.canteens.no_favorite_prefix' | translate }}
|
|
<a (click)="onSectionEdit()">{{
|
|
'dashboard.canteens.no_favorite_link' | translate
|
|
}}</a>
|
|
{{ 'dashboard.canteens.no_favorite_suffix' | translate }}
|
|
</ion-label>
|
|
</div>
|
|
</ng-container>
|
|
</stapps-section>
|