Skip to content

Commit

Permalink
fix tree view wrt showing original file info
Browse files Browse the repository at this point in the history
  • Loading branch information
qqmyers committed Nov 15, 2023
1 parent 33d82e4 commit 4706877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/webapp/filesFragment.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -641,9 +641,9 @@
<span class="icon-#{dataFileServiceBean.getFileThumbnailClass(node.dataFile)} text-muted"/>
<!-- conditional render in file page links, if file has global id, use that; if not, we use database id -->
<a href="#{widgetWrapper.wrapURL('/file.xhtml?'.concat(!empty node.dataFile.globalId ? 'persistentId=' : 'fileId=').concat(!empty node.dataFile.globalId ? node.dataFile.globalId.asString() : node.dataFile.id).concat('&amp;version=').concat(DatasetPage.workingVersion.friendlyVersionNumber))}">
#{node.label}
#{node.labelForOriginal}
</a>
<span class="text-muted">(#{node.dataFile.friendlySize})</span>
<span class="text-muted">(#{node.dataFile.friendlyOriginalFileSize})</span>
</p:treeNode>
</p:tree>
</ui:composition>

0 comments on commit 4706877

Please sign in to comment.