Skip to content

Commit 3f50ff7

Browse files
committed
Fix review view if useExternalFulltext is on
Fixes syslabcom/scrum#2189
1 parent 258893a commit 3f50ff7

File tree

1 file changed

+3
-3
lines changed
  • src/recensio/plone/browser/templates

1 file changed

+3
-3
lines changed

src/recensio/plone/browser/templates/review.pt

+3-3
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
tal:define="
7979
custom_cover context/customCoverImage|nothing;
8080
"
81-
tal:condition="context/isUseExternalFulltext|nothing"
81+
tal:condition="view/isUseExternalFulltext|nothing"
8282
>
8383
<img src="${context/absolute_url}/@@images/customCoverImage/mini"
8484
tal:condition="custom_cover"
@@ -115,7 +115,7 @@
115115
tal:condition="pdf"
116116
>
117117
<div class="card-body download pdf"
118-
tal:condition="not:context/isUseExternalFulltext|nothing"
118+
tal:condition="not:view/isUseExternalFulltext|nothing"
119119
>
120120
<a href="${here/absolute_url}/@@generate-pdf-recension?language=${lang}"
121121
target="_blank"
@@ -128,7 +128,7 @@
128128
kb)</em></a>
129129
</div>
130130
<div class="card-body external fulltext pdf"
131-
tal:condition="context/isUseExternalFulltext|nothing"
131+
tal:condition="view/isUseExternalFulltext|nothing"
132132
>
133133
<a href="${python: view.get_doi_url_if_active() or context.canonical_uri}"
134134
target="_blank"

0 commit comments

Comments
 (0)