Skip to content

Commit

Permalink
dont show mets and prod_id (only as html comments), switch/case
Browse files Browse the repository at this point in the history
  • Loading branch information
Bernd Fallert authored and BFallert committed Jul 10, 2024
1 parent 4d98b63 commit 0b17f70
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Resources/Private/Partials/Metadata/Entries.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,20 @@

</f:then>
<f:else>
<f:if condition="{configObject.indexName} != 'mets'">
<f:then>
<f:switch expression="{configObject.indexName}">
<f:case value="mets">
<f:comment>mets sollen nicht ausgegeben werden</f:comment>
</f:case>
<f:case value="prod_id">
<f:comment>prod_id sollen nicht ausgegeben werden</f:comment>
<!-- {configObject.indexName }: {wrappedValues -> f:format.raw()} -->
</f:case>
<f:defaultCase>
<!-- 83 {configObject.indexName } -->
<kitodo:stdWrap wrap="{metadataWrap.key}" data="{metaSectionConfigObject}">{configObject.label}</kitodo:stdWrap>
{wrappedValues -> f:format.raw()}
</f:then>
</f:if>
</f:defaultCase>
</f:switch> <f:comment>expression="{configObject.indexName}"></f:comment>
</f:else>
</f:if>
</f:else>
Expand Down

0 comments on commit 0b17f70

Please sign in to comment.