Skip to content

Commit

Permalink
Update how icon names are specified in fa-icon helper
Browse files Browse the repository at this point in the history
  • Loading branch information
sarus committed May 30, 2022
1 parent aa8d9fb commit 6f68138
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions templates/us-summary.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@
</span>
{{else}}
{{!-- The entity was found and we should display our custom tags --}}
<span
{{on 'click' (optional this.scrollToIntegration)}}
class='integration-summary-tag integration-background-color integration-border-color'
>
<span class='acronym integration-text-bold-color'>{{block.acronym}}</span>
<span class='integration-text-color'>
{{#if overallVerdict.malicious}}
Malicious
{{else}}
Not Malicious
{{/if}}
</span>
</span>
{{#if overallVerdict.malicious}}
<span {{on "click" (optional this.scrollToIntegration)}} class="danger-summary-tag integration-summary-tag integration-background-color integration-border-color">
<span class="summary-tag acronym integration-text-bold-color">{{block.acronym}}</span>
Expand Down Expand Up @@ -71,7 +58,7 @@
>
<span class='acronym integration-text-bold-color'>{{block.acronym}}</span>
<span class='integration-text-color'>
{{fa-icon 'tag' fixedWidth=true}}
{{fa-icon icon='tag' fixedWidth=true}}
{{tag}}
</span>
</span>
Expand All @@ -84,7 +71,7 @@
>
<span class='acronym integration-text-bold-color'>{{block.acronym}}</span>
<span class='integration-text-color'>
{{fa-icon 'boxes' fixedWidth=true}}
{{fa-icon icon='boxes' fixedWidth=true}}
{{tag}}
</span>
</span>
Expand All @@ -97,7 +84,7 @@
>
<span class='acronym integration-text-bold-color'>{{block.acronym}}</span>
<span class='integration-text-color'>
{{fa-icon 'copyright' fixedWidth=true}}
{{fa-icon icon='copyright' fixedWidth=true}}
{{brand}}
</span>
</span>
Expand Down

0 comments on commit 6f68138

Please sign in to comment.