Skip to content
Snippets Groups Projects
Commit 46b3562b authored by Nathan Hertz's avatar Nathan Hertz
Browse files

Added "ARCHIVED" badge that will appear if the `ingested` boolean flag

is set in the database; also updated timestamp formatting
parent abf5c109
No related branches found
No related tags found
1 merge request!342WS-516: UI for showing ingestion complete (archived status)
......@@ -8,15 +8,23 @@
[capabilityRequest]="capabilityRequest"
></app-status-badge>
</h5>
<h5 *ngIf="capabilityRequest.ingested === true">
<span id="ingestion-status-badge" class="badge badge-pill badge-warning py-2">
<span class="fas fa-archive"></span>
<span class="pl-2"><strong>ARCHIVED</strong></span>
</span>
</h5>
</div>
<div id="created-and-updated-timestamps" class="row px-5">
<div class="col text-left p-2">
<h5 id="created-time" class="timestamp">Created at {{ capabilityRequest.created_at }}</h5>
<h5 id="created-time" class="timestamp">
Created <strong>{{ capabilityRequest.created_at | date: "medium" }}</strong>
</h5>
</div>
<div class="col text-right p-2">
<h5 id="last-updated-time" class="timestamp">
Updated at {{ capabilityRequest.updated_at }}
Last Updated <strong>{{ capabilityRequest.updated_at | date: "medium" }}</strong>
</h5>
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment