author-detail.page.html 1.1 KB
Newer Older
1 2
<ion-header>
    <ion-toolbar>
3 4
        <ion-buttons slot="start">
            <div class="home-logo">
5
                <a (click)="HelperService.goToHomePage(navCtrl)">
6 7 8 9
                    <img src="assets/imgs/logo.png" width="32px" height="32px" alt="CALLIDUS Logo">
                </a>
            </div>
        </ion-buttons>
10
        <ion-spinner *ngIf="HelperService.isLoading"></ion-spinner>
11
        <ion-title *ngIf="HelperService.applicationState | async as state">{{ state.currentSetup.currentAuthor?.name }}</ion-title>
12 13 14
        <ion-buttons slot="end">
            <ion-menu-button autoHide="false"></ion-menu-button>
        </ion-buttons>
15 16 17 18 19
    </ion-toolbar>
</ion-header>


<ion-content padding>
20 21
    <ion-list *ngIf="HelperService.applicationState | async as state">
        <ion-item *ngFor="let corpus of state.currentSetup.currentAuthor?.corpora">
22 23 24
            <button (click)="showPossibleReferences(corpus)">
                <span>{{corpus.title}}</span>
            </button>
25
        </ion-item>
26
    </ion-list>
27 28
    <ion-button (click)="navCtrl.pop()">{{ 'BACK' | translate }}</ion-button>
</ion-content>