Files
smartguide/webapp/src/app/modules/person-publications/person-publications.component.html
T

48 lines
1.5 KiB
HTML

<div class="page">
<div>
<h6>Publikationen</h6>
<p>Übersicht der wissenschaftlichen Veröffentlichungen.</p>
</div>
@if (canViewClassificationChart()) {
<mat-accordion multi>
<mat-expansion-panel class="mat-elevation-z1">
<mat-expansion-panel-header>
<mat-panel-title>Forschungszwecke</mat-panel-title>
</mat-expansion-panel-header>
<app-primary-category-year-aggregation-chart
[page]="primaryCategoryYearAggregationPage()" />
</mat-expansion-panel>
<mat-expansion-panel class="mat-elevation-z1" [expanded]="true">
<mat-expansion-panel-header>
<mat-panel-title>Publikationsliste</mat-panel-title>
<mat-panel-description
>{{ total() >= 10000 ? 'mehr als' : '' }}
{{ total() }} Publikationen</mat-panel-description
>
</mat-expansion-panel-header>
<ng-container *ngTemplateOutlet="filterTableAndPaginator" />
</mat-expansion-panel>
</mat-accordion>
} @else {
<ng-container *ngTemplateOutlet="filterTableAndPaginator" />
}
</div>
<ng-template #filterTableAndPaginator>
<app-publication-filter
[selectedTopicsPage]="selectedTopicsPage()"
[selectedInstitutionsPage]="selectedInstitutionsPage()"
[showAuthorFilter]="false" />
<app-publication-table
[page]="authorWorkPage()"
[institutionFilterEnabled]="true" />
<app-query-param-paginator
[total]="total()"
queryParamPageKey="page"
queryParamSizeKey="size"
[pageSizeOptions]="[10, 25, 50]" />
</ng-template>