Skip to content

Commit

Permalink
fix styling for open resources badges
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed Aug 23, 2023
1 parent 808ddbd commit 73acf02
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,17 @@
</div>
{{/if}}
{{#if (or (eq @result.resourceType 'registration') (eq @result.resourceType 'registration_component'))}}
<OpenBadgesList
@hasData={{@result.hasDataResource}}
@hasMaterials={{@result.hasMaterialsResource}}
@hasAnalyticCode={{@result.hasAnalyticCodeResource}}
@hasPapers={{@result.hasPapersResource}}
@hasSupplements={{@result.hasSupplementalResource}}
@absoluteUrl={{@result.absoluteUrl}}
@verticalLayout={{false}}
/>
<div>
<OpenBadgesList
@hasData={{@result.hasDataResource}}
@hasMaterials={{@result.hasMaterialsResource}}
@hasAnalyticCode={{@result.hasAnalyticCodeResource}}
@hasPapers={{@result.hasPapersResource}}
@hasSupplements={{@result.hasSupplementalResource}}
@absoluteUrl={{@result.absoluteUrl}}
@verticalLayout={{false}}
/>
</div>
{{/if}}
</div>
<CpPanel @open={{this.isOpenSecondaryMetadata}} as |panel|>
Expand Down

0 comments on commit 73acf02

Please sign in to comment.