Skip to content

Commit

Permalink
Merge pull request kitodo#5758 from thomaslow/fix-inconsistent-image-…
Browse files Browse the repository at this point in the history
…number-in-add-doc-struct-type-dialog

Fix inconsistent image number in add doc struct type dialog
  • Loading branch information
solth authored Sep 5, 2023
2 parents 4b71341 + 8e10dae commit 043ea62
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,23 +143,23 @@

<!-- show order of first and last preselected media if present -->
<p:row rendered="#{viewsSelected}">
<c:set var="firstPhysicalDivision"
value="#{selectedViews[0].physicalDivision}"/>
<c:set var="lastPhysicalDivision"
value="#{selectedViews[selectedViews.size() - 1].physicalDivision}"/>
<c:set var="firstView"
value="#{selectedViews[0]}"/>
<c:set var="lastView"
value="#{selectedViews[selectedViews.size() - 1]}"/>
<p:row>
<p:outputLabel for="firstMedia"
value="#{msgs.firstPage}: "/>
<p:inputText id="firstMedia"
disabled="#{true}"
class="input"
value="#{firstPhysicalDivision.order} : #{firstPhysicalDivision.orderlabel}"/>
value="#{DataEditorForm.structurePanel.buildViewLabel(firstView)}"/>
<p:outputLabel for="lastMedia"
value="#{msgs.lastPage}: "/>
<p:inputText id="lastMedia"
disabled="#{true}"
class="input"
value="#{lastPhysicalDivision.order} : #{lastPhysicalDivision.orderlabel}"/>
value="#{DataEditorForm.structurePanel.buildViewLabel(lastView)}"/>
</p:row>
</p:row>
</p:panelGrid>
Expand Down

0 comments on commit 043ea62

Please sign in to comment.