Skip to content

Commit

Permalink
Fix review view if useExternalFulltext is on
Browse files Browse the repository at this point in the history
  • Loading branch information
reinhardt committed Apr 25, 2024
1 parent 258893a commit 3f50ff7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/recensio/plone/browser/templates/review.pt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
tal:define="
custom_cover context/customCoverImage|nothing;
"
tal:condition="context/isUseExternalFulltext|nothing"
tal:condition="view/isUseExternalFulltext|nothing"
>
<img src="${context/absolute_url}/@@images/customCoverImage/mini"
tal:condition="custom_cover"
Expand Down Expand Up @@ -115,7 +115,7 @@
tal:condition="pdf"
>
<div class="card-body download pdf"
tal:condition="not:context/isUseExternalFulltext|nothing"
tal:condition="not:view/isUseExternalFulltext|nothing"
>
<a href="${here/absolute_url}/@@generate-pdf-recension?language=${lang}"
target="_blank"
Expand All @@ -128,7 +128,7 @@
kb)</em></a>
</div>
<div class="card-body external fulltext pdf"
tal:condition="context/isUseExternalFulltext|nothing"
tal:condition="view/isUseExternalFulltext|nothing"
>
<a href="${python: view.get_doi_url_if_active() or context.canonical_uri}"
target="_blank"
Expand Down

0 comments on commit 3f50ff7

Please sign in to comment.