Skip to content

Commit

Permalink
entity detailed view: uniformize icon placement
Browse files Browse the repository at this point in the history
Co-Authored-by: Pascal Repond <[email protected]>
  • Loading branch information
PascalRepond committed Nov 7, 2023
1 parent de225cd commit bf78479
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h1 class="mb-0" *ngVar="icon(record.metadata.type) as icon">
<i class="fa {{ icon.class }}" title="{{ icon.title }}" aria-hidden="true"></i>
{{ record.metadata.authorized_access_point }}</h1>
<small>
{{ 'LOCAL ID' | translate }}: {{ record.metadata.pid }}
{{ 'Local ID' | translate }}: {{ record.metadata.pid }}
</small>
<span class="badge badge-info" translate>Local</span>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
</a>
</div>

<h1 class="mb-0">{{ record.metadata | extractSourceField : 'authorized_access_point' }}</h1>
<small *ngVar="icon(record.metadata.type) as icon">
<h1 class="mb-0" *ngVar="icon(record.metadata.type) as icon">
<i class="fa {{ icon.class }}" title="{{ icon.title }}" aria-hidden="true"></i>
{{ record.metadata | extractSourceField : 'authorized_access_point' }}</h1>
<small>
{{ 'MEF ID' | translate }}: {{ record.metadata.pid }}
</small>
<span class="badge badge-warning" translate>Remote</span>
Expand Down

0 comments on commit bf78479

Please sign in to comment.