117 lines
3.4 KiB
HTML
117 lines
3.4 KiB
HTML
@if (!isPersonLoading()) {
|
|
<section class="person-hero">
|
|
<div class="profile-card">
|
|
<div class="profile-avatar">{{ initials() }}</div>
|
|
<div class="profile-main">
|
|
<div class="name-line">
|
|
<span>Person</span>
|
|
<h1>{{ displayName() }}</h1>
|
|
</div>
|
|
<p>{{ institution() }}</p>
|
|
@if (countryCode()) {
|
|
<span>{{ countryCode() }}</span>
|
|
}
|
|
@if (worksCount() !== null || citedByCount() !== null) {
|
|
<span>
|
|
@if (worksCount() !== null) {
|
|
{{ worksCount() }} Publikationen
|
|
}
|
|
@if (worksCount() !== null && citedByCount() !== null) {
|
|
·
|
|
}
|
|
@if (citedByCount() !== null) {
|
|
{{ citedByCount() }} Zitationen
|
|
}
|
|
</span>
|
|
<span>
|
|
@if (h_index() !== null) {
|
|
h_index: {{ h_index() }}
|
|
}
|
|
</span>
|
|
}
|
|
@if (displayCareerStage()) {
|
|
<div class="career-stage-line">
|
|
<span class="career-stage-label">Career Stage:</span>
|
|
<span
|
|
class="career-stage-chip"
|
|
[matTooltip]="careerStageTooltip()"
|
|
matTooltipPosition="right"
|
|
matTooltipClass="career-stage-tooltip"
|
|
[matTooltipShowDelay]="250">
|
|
{{ displayCareerStage() }}
|
|
</span>
|
|
</div>
|
|
}
|
|
</div>
|
|
<div class="profile-contact">
|
|
<div>
|
|
<mat-icon>mail</mat-icon>
|
|
<span>uni-email@uni-due.de</span>
|
|
</div>
|
|
@if (orcid()) {
|
|
<div>
|
|
<mat-icon class="orcid">verified</mat-icon>
|
|
<a [href]="orcidUrl()" target="_blank" rel="noopener">{{
|
|
orcid()
|
|
}}</a>
|
|
</div>
|
|
}
|
|
<div>
|
|
<mat-icon>language</mat-icon>
|
|
<a href="https://ude.de/anna-becker" target="_blank" rel="noopener">
|
|
ude.de/anna-becker
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<aside class="sidebar">
|
|
<div class="bio-card">
|
|
@if (isBioLoading()) {
|
|
<app-loading
|
|
text="Biografie wird geladen..."
|
|
icon="description"
|
|
[size]="150"
|
|
[diameter]="150"></app-loading>
|
|
} @else if (personBio() != null) {
|
|
<h3>Biografie</h3>
|
|
<p>{{ personBio() }}</p>
|
|
}
|
|
</div>
|
|
</aside>
|
|
<app-person-interesting
|
|
[topics]="primaryTopicCounts()"
|
|
(tagClick)="onInterestingTagClick($event)"></app-person-interesting>
|
|
</section>
|
|
<nav class="person-tabs" 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>
|
|
} @else {
|
|
<div class="loading">
|
|
<mat-progress-spinner diameter="40">
|
|
<span>Person wird geladen...</span>
|
|
</mat-progress-spinner>
|
|
</div>
|
|
}
|
|
<mat-tab-nav-panel #tabPanel class="person-panel">
|
|
@if (isNetworkResolving()) {
|
|
<app-loading
|
|
text="Das Netzwerk wird gebaut, kleinen Moment..."
|
|
icon="graph_3"
|
|
[size]="150"
|
|
[diameter]="150" />
|
|
} @else {
|
|
<router-outlet></router-outlet>
|
|
}
|
|
</mat-tab-nav-panel>
|