Skip to content

Commit

Permalink
change ordering for registration secondary card
Browse files Browse the repository at this point in the history
  • Loading branch information
adlius committed Aug 21, 2023
1 parent e211cb7 commit 0d381f6
Showing 1 changed file with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@
<dt>{{t 'osf-components.search-result-card.description'}}</dt>
<dd>{{@result.description}}</dd>
{{/if}}
{{#if @result.provider}}
<dt>{{t 'osf-components.search-result-card.registration_provider'}}</dt>
<dd><a href={{@result.provider.identifier}} target='_blank' rel='noopener noreferrer'>{{@result.provider.name}}</a></dd>
{{/if}}
{{#if @result.funders}}
<dt>{{t 'osf-components.search-result-card.funder'}}</dt>
<dd>
Expand All @@ -20,6 +16,10 @@
</InlineList>
</dd>
{{/if}}
{{#if @result.provider}}
<dt>{{t 'osf-components.search-result-card.registration_provider'}}</dt>
<dd><a href={{@result.provider.identifier}} target='_blank' rel='noopener noreferrer'>{{@result.provider.name}}</a></dd>
{{/if}}
{{#if @result.registrationTemplate}}
<dt>{{t 'osf-components.search-result-card.registration_template'}}</dt>
<dd>{{@result.registrationTemplate}}</dd>
Expand All @@ -28,6 +28,10 @@
<dt>{{t 'osf-components.search-result-card.license'}}</dt>
<dd><a href={{@result.license.identifier}} target='_blank' rel='noopener noreferrer'>{{@result.license.name}}</a></dd>
{{/if}}
{{#if @result.absoluteUrl}}
<dt>{{t 'osf-components.search-result-card.url'}}</dt>
<dd><a href={{@result.absoluteUrl}} target='_blank' rel='noopener noreferrer'>{{@result.absoluteUrl}}</a></dd>
{{/if}}
{{#if @result.doi}}
<dt>{{t 'osf-components.search-result-card.doi'}}</dt>
<dd>
Expand Down

0 comments on commit 0d381f6

Please sign in to comment.