404 lines
14 KiB
HTML
404 lines
14 KiB
HTML
<div class="detail-page">
|
|
<div class="page-header">
|
|
<div class="breadcrumb">
|
|
<span>DFG Projekte</span>
|
|
<mat-icon>chevron_right</mat-icon>
|
|
<span>Projektdetails</span>
|
|
</div>
|
|
</div>
|
|
|
|
@if (dfgProject) {
|
|
<div class="project-hero">
|
|
<div class="hero-content">
|
|
<div class="eyebrow">
|
|
<span class="project-badge">DFG Projekt</span>
|
|
<span class="project-id">ID: {{ dfgProject.id }}</span>
|
|
</div>
|
|
<h1>{{ getTitle() }}</h1>
|
|
@if (getProjectIdentifier()) {
|
|
<p class="project-identifier">
|
|
<strong>{{ getProjectIdentifier().split('-')[0] }}</strong>
|
|
</p>
|
|
}
|
|
@if (dfgProject.parent_project_id) {
|
|
<p class="project-identifier">
|
|
Teilprojekt von
|
|
<a (click)="goToParentProject()" class="external-link">{{
|
|
getParentTitle() || dfgProject.parent_project_id
|
|
}}</a>
|
|
</p>
|
|
}
|
|
<div class="hero-actions">
|
|
<div
|
|
class="status-badge"
|
|
[style.background-color]="
|
|
getStatusColor(getStatusDisplay(dfgProject.funding_end))
|
|
">
|
|
<mat-icon>circle</mat-icon>
|
|
<span>{{ getStatusDisplay(dfgProject.funding_end) }}</span>
|
|
</div>
|
|
@if (dfgProject.page_url) {
|
|
<a
|
|
[href]="dfgProject.page_url"
|
|
target="_blank"
|
|
class="primary-action">
|
|
<mat-icon>open_in_new</mat-icon>
|
|
<span>Zum Projekt</span>
|
|
</a>
|
|
}
|
|
@if (dfgProject.external_link) {
|
|
<a
|
|
[href]="dfgProject.external_link"
|
|
target="_blank"
|
|
class="secondary-action">
|
|
<mat-icon>language</mat-icon>
|
|
<span>Webseite</span>
|
|
</a>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="metrics-grid">
|
|
<div class="metric-item">
|
|
<mat-icon>calendar_today</mat-icon>
|
|
<div class="metric-content">
|
|
<strong>{{ dfgProject.funding_start || 'N/A' }}</strong>
|
|
<span>Förderbeginn</span>
|
|
</div>
|
|
</div>
|
|
<div class="metric-item">
|
|
<mat-icon>event_busy</mat-icon>
|
|
<div class="metric-content">
|
|
<strong>{{ getFundingEndDisplay(dfgProject.funding_end) }}</strong>
|
|
<span>Förderende</span>
|
|
</div>
|
|
</div>
|
|
<div class="metric-item">
|
|
<mat-icon>access_time</mat-icon>
|
|
<div class="metric-content">
|
|
<strong>{{ getStatusDisplay(dfgProject.funding_end) }}</strong>
|
|
<span>Status</span>
|
|
</div>
|
|
</div>
|
|
@if (dfgProject.dfg_procedure) {
|
|
<div class="metric-item">
|
|
<mat-icon>gavel</mat-icon>
|
|
<div class="metric-content">
|
|
<strong>{{ dfgProject.dfg_procedure }}</strong>
|
|
<span>DFG Verfahren</span>
|
|
</div>
|
|
</div>
|
|
}
|
|
@if (getFundingType()) {
|
|
<div class="metric-item">
|
|
<mat-icon>paid</mat-icon>
|
|
<div class="metric-content">
|
|
<strong>{{ getFundingType() }}</strong>
|
|
<span>Förderung</span>
|
|
</div>
|
|
</div>
|
|
}
|
|
@if (getInternationalRelation()) {
|
|
<div class="metric-item">
|
|
<mat-icon>public</mat-icon>
|
|
<div class="metric-content">
|
|
<strong>{{ getInternationalRelation() }}</strong>
|
|
<span>Internationaler Bezug</span>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content-grid">
|
|
<main class="main-content">
|
|
@if (getDescription()) {
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>description</mat-icon>
|
|
<h2>Beschreibung</h2>
|
|
</div>
|
|
<p class="description-text">{{ getDescription() }}</p>
|
|
</mat-card>
|
|
}
|
|
|
|
@if (getFinalReportAbstract()) {
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>fact_check</mat-icon>
|
|
<h2>Abschlussbericht</h2>
|
|
</div>
|
|
<p class="description-text">{{ getFinalReportAbstract() }}</p>
|
|
</mat-card>
|
|
}
|
|
<!-- OpenAlex Topics -->
|
|
@if (dfgProject.topics && dfgProject.topics.length > 0) {
|
|
<app-project-oa-topics
|
|
[topics]="dfgProject.topics"></app-project-oa-topics>
|
|
}
|
|
<!-- Fachsystematik -->
|
|
@if (getSubjectClassifications().length > 0) {
|
|
<app-dfg-classification
|
|
[classifications]="
|
|
getSubjectClassifications()
|
|
"></app-dfg-classification>
|
|
}
|
|
<!-- Beteiligte Personen -->
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>people</mat-icon>
|
|
<h2>Beteiligte Personen</h2>
|
|
<span class="count-badge">{{ getPersonCount() }}</span>
|
|
</div>
|
|
@if (getPersons().length > 0) {
|
|
<div class="person-grid">
|
|
@for (
|
|
person of getPersons();
|
|
track person.person_id + (person.role_key || '')
|
|
) {
|
|
<div
|
|
(click)="searchForPersonName(person.full_name)"
|
|
class="person-item">
|
|
<div class="avatar">{{ getInitials(person.full_name) }}</div>
|
|
<div class="person-details">
|
|
<div class="person-name">{{ person.full_name }}</div>
|
|
@if (getPersonRoleLabel(person)) {
|
|
<div class="person-role">
|
|
{{ getPersonRoleLabel(person) }}
|
|
</div>
|
|
}
|
|
@if (getPersonAffiliation(person)) {
|
|
<div class="person-affiliation">
|
|
{{ getPersonAffiliation(person) }}
|
|
</div>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
} @else {
|
|
<div class="empty-state">Keine Personen gefunden.</div>
|
|
}
|
|
</mat-card>
|
|
|
|
<!-- Beteiligte Institutionen -->
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>business</mat-icon>
|
|
<h2>Beteiligte Institutionen</h2>
|
|
<span class="count-badge">{{ getInstitutionCount() }}</span>
|
|
</div>
|
|
@if (getInstitutionsList().length > 0) {
|
|
<div class="institution-grid">
|
|
@for (institution of getInstitutionsList(); track $index) {
|
|
<div
|
|
(click)="
|
|
searchForInstitutionName(getInstitutionName(institution))
|
|
"
|
|
class="institution-item">
|
|
<mat-icon>apartment</mat-icon>
|
|
<div class="institution-details">
|
|
<span>{{ getInstitutionName(institution) }}</span>
|
|
@if (getInstitutionRoleLabel(institution)) {
|
|
<span class="institution-role">{{
|
|
getInstitutionRoleLabel(institution)
|
|
}}</span>
|
|
}
|
|
</div>
|
|
@if (institution.is_dissolved) {
|
|
<span class="dissolved-tag">aufgelöst</span>
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
} @else {
|
|
<div class="empty-state">Keine Institutionen gefunden.</div>
|
|
}
|
|
</mat-card>
|
|
|
|
<!-- Teilprojekte -->
|
|
@if (getSubprojects().length > 0) {
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>account_tree</mat-icon>
|
|
<h2>Teilprojekte</h2>
|
|
<span class="count-badge">{{ getSubprojects().length }}</span>
|
|
</div>
|
|
<div class="subproject-list">
|
|
@for (
|
|
subproject of getSubprojects();
|
|
track subproject.subproject_id
|
|
) {
|
|
<div
|
|
(click)="goToSubproject(subproject.subproject_id)"
|
|
class="subproject-item">
|
|
<div class="subproject-main">
|
|
<span class="subproject-title">{{
|
|
subproject.title_de ||
|
|
subproject.title_en ||
|
|
subproject.short_title
|
|
}}</span>
|
|
@if (subproject.status_de) {
|
|
<span class="subproject-status">{{
|
|
subproject.status_de
|
|
}}</span>
|
|
}
|
|
</div>
|
|
@if (
|
|
subproject.person_full_name || subproject.role_label_de
|
|
) {
|
|
<div class="subproject-lead">
|
|
{{ subproject.person_full_name }}
|
|
@if (subproject.role_label_de) {
|
|
<span>· {{ subproject.role_label_de }}</span>
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
}
|
|
</div>
|
|
</mat-card>
|
|
}
|
|
|
|
<!-- Publikationen -->
|
|
@if (getPublications().length > 0) {
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>menu_book</mat-icon>
|
|
<h2>Publikationen</h2>
|
|
<span class="count-badge">{{ getPublications().length }}</span>
|
|
</div>
|
|
<div class="publication-list">
|
|
@for (
|
|
publication of getPublications();
|
|
track publication.publication_id
|
|
) {
|
|
<div class="publication-item">
|
|
<div class="publication-title">{{ publication.title }}</div>
|
|
<div class="publication-meta">
|
|
@if (publication.authors_editors) {
|
|
<span>{{ publication.authors_editors }}</span>
|
|
}
|
|
@if (publication.publication_year) {
|
|
<span>{{ publication.publication_year }}</span>
|
|
}
|
|
@if (publication.doi) {
|
|
<a
|
|
[href]="'https://doi.org/' + publication.doi"
|
|
target="_blank"
|
|
class="external-link"
|
|
>DOI: {{ publication.doi }}</a
|
|
>
|
|
}
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|
|
</mat-card>
|
|
}
|
|
|
|
<!-- Projekt-Webseite (DFG-gehostete HTML-Inhalte) -->
|
|
@if (getWebsiteHtml()) {
|
|
<mat-card appearance="outlined" class="card">
|
|
<div class="section-header">
|
|
<mat-icon>language</mat-icon>
|
|
<h2>Projektwebseite</h2>
|
|
</div>
|
|
<div class="website-html" [innerHTML]="getWebsiteHtml()"></div>
|
|
</mat-card>
|
|
}
|
|
</main>
|
|
|
|
<aside class="sidebar">
|
|
<!-- Projektdetails -->
|
|
<mat-card appearance="outlined" class="card details-card">
|
|
<div class="section-header">
|
|
<mat-icon>info</mat-icon>
|
|
<h2>Projektdetails</h2>
|
|
</div>
|
|
<dl class="details-list">
|
|
<div class="detail-row">
|
|
<dt>Projekt ID</dt>
|
|
<dd>{{ dfgProject.id || 'N/A' }}</dd>
|
|
</div>
|
|
<div class="detail-row">
|
|
<dt>Titel</dt>
|
|
<dd>{{ getTitle() }}</dd>
|
|
</div>
|
|
<div class="detail-row">
|
|
<dt>Projektkennung</dt>
|
|
<dd>{{ getProjectIdentifier() || 'N/A' }}</dd>
|
|
</div>
|
|
<div class="detail-row">
|
|
<dt>Fachliche Zuordnung</dt>
|
|
<dd>{{ getSubjectArea() || 'N/A' }}</dd>
|
|
</div>
|
|
|
|
<div class="detail-row">
|
|
<dt>DFG-Verfahren</dt>
|
|
<dd>{{ dfgProject.dfg_procedure || 'N/A' }}</dd>
|
|
</div>
|
|
@if (getFundingType()) {
|
|
<div class="detail-row">
|
|
<dt>Förderung</dt>
|
|
<dd>{{ getFundingType() }}</dd>
|
|
</div>
|
|
}
|
|
<div class="detail-row">
|
|
<dt>Laufzeit</dt>
|
|
<dd>{{ getFundingPeriod() || getDuration() }}</dd>
|
|
</div>
|
|
@if (hasEquipmentInfo()) {
|
|
<div class="detail-row">
|
|
<dt>Großgerät</dt>
|
|
<dd>
|
|
{{ dfgProject.equipment_name }}
|
|
@if (dfgProject.equipment_group) {
|
|
<span>({{ dfgProject.equipment_group }})</span>
|
|
}
|
|
</dd>
|
|
</div>
|
|
}
|
|
@if (dfgProject.parent_project_id) {
|
|
<div class="detail-row">
|
|
<dt>Teilprojekt von</dt>
|
|
<dd>
|
|
<a (click)="goToParentProject()" class="external-link">{{
|
|
getParentTitle() || dfgProject.parent_project_id
|
|
}}</a>
|
|
</dd>
|
|
</div>
|
|
}
|
|
@if (getInternationalRelation()) {
|
|
<div class="detail-row">
|
|
<dt>Internationaler Bezug</dt>
|
|
<dd>{{ getInternationalRelation() }}</dd>
|
|
</div>
|
|
}
|
|
@if (dfgProject.external_link) {
|
|
<div class="detail-row">
|
|
<dt>Webseite</dt>
|
|
<dd>
|
|
<a
|
|
[href]="dfgProject.external_link"
|
|
target="_blank"
|
|
class="external-link"
|
|
>{{ dfgProject.external_link }}</a
|
|
>
|
|
</dd>
|
|
</div>
|
|
}
|
|
</dl>
|
|
</mat-card>
|
|
</aside>
|
|
</div>
|
|
} @else {
|
|
<div class="error-container">
|
|
<div class="error-state">
|
|
<mat-icon>error_outline</mat-icon>
|
|
<p>DFG Projekt nicht gefunden.</p>
|
|
</div>
|
|
</div>
|
|
}
|
|
</div>
|