Skip to content

Commit

Permalink
document: subject subdivisions display
Browse files Browse the repository at this point in the history
Co-authored-by: Renaud Michotte <renaud.michotte@gmail.com>
  • Loading branch information
zannkukai committed Apr 1, 2022
1 parent 9328684 commit c065afc
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,12 @@ <h3 id="{{ 'doc-altgr-title-' + i }}">{{ altgr_title }}</h3>
</ng-container>

<!-- SUBJECTS -->
<div class="row" *ngIf="record.metadata.subjects">
<div class="row" *ngIf="record.metadata.subjects as subjects">
<div class="col">
<span
*ngFor="let subject of record.metadata.subjects | subjectProcess:currentLanguage; let i = index"
<span *ngFor="let subject of subjects"
class="badge badge-secondary mr-1"
title="{{ subject.type | translate }}"
[attr.id]="i | idAttribute:{prefix: 'doc-subject'}">
<i class="fa fa-tag"></i> {{ subject.text }}
title="{{ subject.type | translate }}">
<i class="fa fa-tag"></i> {{ subject._text }}
</span>
</div>
</div>
Expand Down

0 comments on commit c065afc

Please sign in to comment.