-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6113 from deNBI/dev
Dev
- Loading branch information
Showing
10 changed files
with
1,468 additions
and
1,776 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 44 additions & 41 deletions
85
src/app/applications/application-card/application-card.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,49 @@ | ||
<tr> | ||
<td> | ||
<app-application-badges [application]="application"></app-application-badges> | ||
</td> | ||
<td>{{ application?.project_application_name }}</td> | ||
<td>{{ application?.project_application_shortname }}</td> | ||
<td>{{ application?.project_application_date_submitted }}</td> | ||
<td style="word-wrap: break-word; min-width: 110px; max-width: 130px; white-space: normal"> | ||
@if (application?.project_application_user?.username) { | ||
{{ application?.project_application_user?.username }} | ||
} @else { | ||
<span class="spinner-border text-info"></span> | ||
} | ||
</td> | ||
<td>{{ application?.project_application_institute }}</td> | ||
<td> | ||
<app-application-badges [application]="application"></app-application-badges> | ||
</td> | ||
<td>{{ application?.project_application_name }}</td> | ||
<td>{{ application?.project_application_shortname }}</td> | ||
<td>{{ application?.project_application_date_submitted }}</td> | ||
<td style="word-wrap: break-word; min-width: 110px; max-width: 130px; white-space: normal"> | ||
@if (application?.project_application_user?.username) { | ||
{{ application?.project_application_user?.username }} | ||
} @else { | ||
<span class="spinner-border text-info"></span> | ||
} | ||
</td> | ||
<td>{{ application?.project_application_institute }}</td> | ||
|
||
@if (voView) { | ||
<app-application-vo-actions | ||
(switchCollapseEvent)="switchCollaps()" | ||
class="table-line" | ||
[application]="application" | ||
[tabState]="tabState" | ||
[computeCenters]="computeCenters" | ||
(reloadNumbersTrigger)="triggerReloadNumbers()" | ||
(removeApplicationTrigger)="triggerRemoveApplication()" | ||
></app-application-vo-actions> | ||
} @else if (facilityView) { | ||
<app-application-facility-actions | ||
(switchCollapseEvent)="switchCollaps()" | ||
class="table-line" | ||
[application]="application" | ||
[tabState]="tabState" | ||
(reloadNumbersTrigger)="triggerReloadNumbers()" | ||
(removeApplicationTrigger)="triggerRemoveApplication()" | ||
></app-application-facility-actions> | ||
} | ||
@if (voView) { | ||
<app-application-vo-actions | ||
(switchCollapseEvent)="switchCollaps()" | ||
class="table-line" | ||
[application]="application" | ||
[tabState]="tabState" | ||
[computeCenters]="computeCenters" | ||
(reloadNumbersTrigger)="triggerReloadNumbers()" | ||
(removeApplicationTrigger)="triggerRemoveApplication()" | ||
(reloadApplicationTrigger)="getApplication()" | ||
></app-application-vo-actions> | ||
} @else if (facilityView) { | ||
<app-application-facility-actions | ||
(switchCollapseEvent)="switchCollaps()" | ||
class="table-line" | ||
[application]="application" | ||
[tabState]="tabState" | ||
(reloadNumbersTrigger)="triggerReloadNumbers()" | ||
(removeApplicationTrigger)="triggerRemoveApplication()" | ||
(reloadApplicationTrigger)="getApplication()" | ||
|
||
></app-application-facility-actions> | ||
} | ||
</tr> | ||
<td colspan="12"> | ||
@if (!isCollapsed) { | ||
<app-application-detail | ||
[class.collapse_no_margin]="isCollapsed" | ||
[class.collapse]="isCollapsed" | ||
[application]="application" | ||
></app-application-detail> | ||
} | ||
@if (!isCollapsed) { | ||
<app-application-detail #applicationdetail | ||
[class.collapse_no_margin]="isCollapsed" | ||
[class.collapse]="isCollapsed" | ||
[application]="application" | ||
></app-application-detail> | ||
} | ||
</td> |
Oops, something went wrong.