Skip to content

Commit

Permalink
Fixes the profile data publications card view
Browse files Browse the repository at this point in the history
to keep the old format for publications without Orcid management.
  • Loading branch information
betsyecastro committed Mar 13, 2024
1 parent 6d813d1 commit 761ccf4
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 761ccf4

Please sign in to comment.