We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 26a7c19 + c4b4999 commit 50239a0Copy full SHA for 50239a0
src/main/webapp/dataset.xhtml
@@ -71,14 +71,12 @@
71
<ui:define name="jsonld_header">
72
<ui:fragment rendered="#{!DatasetPage.anonymizedAccess}">
73
<script type="application/ld+json">
74
- <c:choose>
75
- <c:when test="#{empty DatasetPage.croissant}">
76
- <h:outputText value="#{DatasetPage.jsonLd}"/>
77
- </c:when>
78
- <c:otherwise>
79
- <h:outputText value="#{DatasetPage.croissant}"/>
80
- </c:otherwise>
81
- </c:choose>
+ <ui:fragment rendered="#{DatasetPage.croissant == null}">
+ <h:outputText value="#{DatasetPage.jsonLd}"/>
+ </ui:fragment>
+ <ui:fragment rendered="#{DatasetPage.croissant != null}">
+ <h:outputText value="#{DatasetPage.croissant}"/>
82
</script>
83
</ui:fragment>
84
</ui:define>
0 commit comments