Skip to content

Commit

Permalink
Merge pull request #466 from ncats/detailLabels
Browse files Browse the repository at this point in the history
innerHTML for details non-name fields
  • Loading branch information
NikoAnderson authored Nov 20, 2023
2 parents 94cd5aa + 9f6b216 commit 0ae6ab8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ <h3>InChi:</h3>
<h3>Systematic Names:</h3>
<mat-list >
<mat-list-item *ngFor = "let name of systematic">
{{name}}
<span [innerHTML] = "name"></span>
</mat-list-item>
</mat-list>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
<mat-icon svgIcon="subdirectory_arrow_right" *ngIf="i > 0"></mat-icon>
<a
routerLink="/browse-substance"
[queryParams]='{ search: "root_codes_comments:\"" + (node | forwardSlash) + "\""}'>
{{node}}
[queryParams]='{ search: "root_codes_comments:\"" + (node | forwardSlash) + "\""}'
[innerHTML] = "node">
</a>
</div>
</td>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<img class="structure-image" appSubstanceImage [entityId]="relationship.relatedSubstance.refuuid">
<div>
<a class="substance-name" target = "_blank" style = "height: 18px;" [routerLink]="['/substances', relationship.relatedSubstance.refuuid]" >
{{relationship.relatedSubstance.name}} <mat-icon class = "icon" svgIcon="open_in_new"></mat-icon>
<span [innerHTML] = "relationship.relatedSubstance.name"></span> <mat-icon class = "icon" svgIcon="open_in_new"></mat-icon>
</a>
</div>
</div>
Expand Down Expand Up @@ -64,7 +64,7 @@ <h2 mat-dialog-title>Details</h2>
<img class="structure-image" appSubstanceImage [entityId]="relationship.mediatorSubstance.refuuid">
<div>
<a class="substance-name" target = "_blank" style = "height: 18px;" [routerLink]="['/substances', relationship.mediatorSubstance.refuuid]" >
{{relationship.mediatorSubstance.name}} <mat-icon class = "icon" svgIcon="open_in_new"></mat-icon>
<span [innerHTML] = "relationship.mediatorSubstance.name"></span> <mat-icon class = "icon" svgIcon="open_in_new"></mat-icon>
</a>
</div>
</div>
Expand Down

0 comments on commit 0ae6ab8

Please sign in to comment.