feat(topic): added topic detail page with publication table
LocationBasedServices/smartguide/pipeline/head This commit looks good
LocationBasedServices/smartguide/pipeline/head This commit looks good
This commit is contained in:
@@ -1 +1,52 @@
|
||||
<p>topic works!</p>
|
||||
<div class="content">
|
||||
@if (topic(); as topic) {
|
||||
<div>
|
||||
<h2>{{ topic.display_name }}</h2>
|
||||
<span class="subtitle">{{ subtitle() }}</span>
|
||||
</div>
|
||||
<mat-divider />
|
||||
<p style="width: 50%">{{ description() }}</p>
|
||||
<mat-divider />
|
||||
<div class="metrics">
|
||||
<div class="metric-item">
|
||||
<mat-icon>menu_book</mat-icon>
|
||||
<span
|
||||
>{{
|
||||
topic.works_count | number: undefined : 'de'
|
||||
}}
|
||||
Publikationen</span
|
||||
>
|
||||
</div>
|
||||
<div class="metric-item">
|
||||
<mat-icon>format_quote</mat-icon>
|
||||
<span
|
||||
>{{
|
||||
topic.cited_by_count | number: undefined : 'de'
|
||||
}}
|
||||
Zitationen</span
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
|
||||
<mat-divider />
|
||||
<mat-tab-nav-panel #tabPanel>
|
||||
<nav mat-tab-nav-bar [tabPanel]="tabPanel">
|
||||
@for (link of links; track link.path) {
|
||||
<a
|
||||
mat-tab-link
|
||||
[routerLink]="link.path"
|
||||
[queryParams]="link.queryParams"
|
||||
routerLinkActive
|
||||
#rla="routerLinkActive"
|
||||
[active]="rla.isActive"
|
||||
[disabled]="link.disabled">
|
||||
{{ link.label }}
|
||||
</a>
|
||||
}
|
||||
</nav>
|
||||
<div class="outlet-container">
|
||||
<router-outlet />
|
||||
</div>
|
||||
</mat-tab-nav-panel>
|
||||
|
||||
Reference in New Issue
Block a user