- @if (highlight.title.length > 0) {
-
- Titel
-
-
- }
-
- @if (highlight.objective.length > 0) {
-
- Zusammenfassung
-
-
- }
- @if (highlight.acronym.length > 0) {
-
- Akronym
-
-
- }
- @if (highlight.cordis_topic_text.length > 0) {
-
- Cordis-Thema
-
-
- }
- @if (highlight.keywords.length > 0) {
-
- Schlüsselwörter
-
-
- }
+
+
+
Fundstelle im Projekt
-
+
+
+
+ @if (highlight.title.length > 0) {
+
+ Titel
+
+
+ }
+
+ @if (highlight.objective.length > 0) {
+
+ Zusammenfassung
+
+
+ }
+ @if (highlight.acronym.length > 0) {
+
+ Akronym
+
+
+ }
+ @if (highlight.cordis_topic_text.length > 0) {
+
+ Cordis-Thema
+
+
+ }
+ @if (highlight.keywords.length > 0) {
+
+ Schlüsselwörter
+
+
+ }
+
+
+
}
diff --git a/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.scss b/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.scss
index abe02090..7b182c1d 100644
--- a/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.scss
+++ b/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.scss
@@ -143,97 +143,6 @@
max-width: 200px;
}
// ------------------------
-// Expanded project panel
-// ------------------------
-
-.project-panel {
- width: 100%;
- padding: 12px 16px 14px;
- color: var(--sg-text);
- background: var(--sg-background);
- border-top: 1px solid var(--sg-border);
-}
-
-.project-panel__header {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 12px;
- margin-bottom: 10px;
-}
-
-.project-panel__heading {
- display: flex;
- align-items: flex-start;
- gap: 8px;
-
- > mat-icon {
- flex: 0 0 auto;
- width: 19px;
- height: 19px;
- color: var(--sg-primary);
- font-size: 19px;
- }
-
- h3 {
- margin: 0;
- font-size: 13px;
- font-weight: 700;
- line-height: 1.2;
- }
-
- p {
- margin: 1px 0 0;
- color: var(--sg-text-muted);
- font-size: 11px;
- line-height: 1.3;
- }
-}
-
-.project-panel__content {
- display: grid;
- grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
- gap: 10px;
-}
-
-.panel-field {
- min-width: 0;
-
- &--full {
- grid-column: 1 / -1;
- }
-}
-
-.panel-field__label {
- color: var(--sg-text-muted);
- font-size: 10px;
- font-weight: 700;
- text-transform: uppercase;
- letter-spacing: 0.02em;
-}
-
-.panel-field__text {
- margin: 0;
- font-size: 12px;
- line-height: 1.5;
- overflow-wrap: anywhere;
-}
-
-.project-panel__empty {
- display: flex;
- align-items: center;
- gap: 6px;
- grid-column: 1 / -1;
- color: var(--sg-text-muted);
- font-size: 12px;
-
- mat-icon {
- width: 16px;
- height: 16px;
- font-size: 16px;
- }
-}
-// ------------------------
// Data table overrides (applied via ::ng-deep)
// ------------------------
diff --git a/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.ts b/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.ts
index 9f81c4b7..b58d881d 100644
--- a/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.ts
+++ b/webapp/src/app/shared/ui/eu-project-table/eu-project-table.component.ts
@@ -39,6 +39,7 @@ import {
} from '../highlighted-text/highlighted-text.component';
import { MatDividerModule } from '@angular/material/divider';
import { SearchResultsStateService } from '../../../modules/keywords-search/search-results/search-results-state.service';
+import { TableDetailRowComponent } from '../table-detail-row/table-detail-row.component';
@Component({
selector: 'app-eu-project-table',
imports: [
@@ -57,6 +58,7 @@ import { SearchResultsStateService } from '../../../modules/keywords-search/sear
SkTextDirective,
MatDividerModule,
HighlightedTextComponent,
+ TableDetailRowComponent,
],
templateUrl: './eu-project-table.component.html',
styleUrl: './eu-project-table.component.scss',
diff --git a/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.html b/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.html
new file mode 100644
index 00000000..db5d4785
--- /dev/null
+++ b/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.html
@@ -0,0 +1,11 @@
+
diff --git a/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.scss b/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.scss
new file mode 100644
index 00000000..baf2f629
--- /dev/null
+++ b/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.scss
@@ -0,0 +1,111 @@
+:host {
+ display: block;
+ width: 100%;
+ background: var(--sg-surface-soft);
+}
+
+.project-panel {
+ width: 100%;
+ padding: 12px 16px 14px;
+ color: var(--sg-text);
+ border-top: 1px solid var(--sg-border);
+
+ &__header {
+ display: flex;
+ align-items: flex-start;
+ justify-content: flex-start;
+ gap: 12px;
+ }
+
+ &__content {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
+ gap: 10px;
+ }
+}
+// Use :host ::ng-deep to allow styles to pierce into the projected content
+:host ::ng-deep {
+ .panel-field {
+ min-width: 0;
+
+ &--full {
+ grid-column: 1 / -1;
+ }
+ }
+
+ .panel-field__label {
+ color: var(--sg-text-muted);
+ font-size: 10px;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.02em;
+ margin: 0;
+ }
+
+ .panel-field__text {
+ margin: 0;
+ font-size: 12px;
+ line-height: 1.5;
+ overflow-wrap: anywhere;
+ }
+
+ .project-panel__empty {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ grid-column: 1 / -1;
+ color: var(--sg-text-muted);
+ font-size: 12px;
+
+ mat-icon {
+ width: 16px;
+ height: 16px;
+ font-size: 16px;
+ }
+ }
+
+ .language-toggle {
+ display: inline-flex;
+ flex: 0 0 auto;
+ padding: 1px;
+ border: 1px solid var(--sg-border);
+ border-radius: 4px;
+ background: var(--sg-background);
+
+ &__button {
+ min-width: 27px;
+ padding: 2px 5px;
+ border: 0;
+ border-radius: 3px;
+ color: var(--sg-text-muted);
+ background: transparent;
+ font-family: inherit;
+ font-size: 9px;
+ font-weight: 700;
+ line-height: 1.4;
+ cursor: pointer;
+
+ &:hover,
+ &:focus-visible {
+ color: var(--sg-primary);
+ outline: none;
+ }
+
+ &.active {
+ color: var(--sg-background);
+ background: var(--sg-primary);
+ }
+ }
+ }
+
+ .language-label {
+ flex: 0 0 auto;
+ padding: 2px 5px;
+ border: 1px solid var(--sg-border);
+ border-radius: 3px;
+ color: var(--sg-text-muted);
+ background: var(--sg-background);
+ font-size: 9px;
+ font-weight: 700;
+ }
+}
diff --git a/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.ts b/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.ts
new file mode 100644
index 00000000..e55fe653
--- /dev/null
+++ b/webapp/src/app/shared/ui/table-detail-row/table-detail-row.component.ts
@@ -0,0 +1,11 @@
+import { Component } from '@angular/core';
+import { MatDividerModule } from '@angular/material/divider';
+
+@Component({
+ selector: 'app-table-detail-row',
+ standalone: true,
+ imports: [MatDividerModule],
+ templateUrl: './table-detail-row.component.html',
+ styleUrls: ['./table-detail-row.component.scss'],
+})
+export class TableDetailRowComponent {}