Skip to content

Commit

Permalink
Refactors profile data publications card to maintain old format for n…
Browse files Browse the repository at this point in the history
…o orcid managed publications
  • Loading branch information
betsyecastro committed Mar 13, 2024
1 parent 6d813d1 commit a3389a0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
</h3>
@foreach($data as $pub)
<div class="entry">
{{ $pub->authors_formatted['APA'] }} ({{ $pub->year }}) {!! Purify::clean($pub->title) !!}.
@if($profile->hasOrcidManagedPublications())
{{ $pub->authors_formatted['APA'] }} ({{ $pub->year }}) {!! Purify::clean($pub->title) !!}.
@else
{!! Purify::clean($pub->title) !!} {{$pub->year}} - <strong>{{$pub->type}}</strong>
@endif
@if($pub->url)
<a target="_blank" href="{{$pub->url}}">
<span title="external link to publication"> {{ $pub->url }}</span>
Expand Down

0 comments on commit a3389a0

Please sign in to comment.