Skip to content

Commit

Permalink
XWIKI-20625: Improve document title display in the document tree
Browse files Browse the repository at this point in the history
  • Loading branch information
tmortagne committed Mar 8, 2023
1 parent ac681d7 commit 41d7dca
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -354,10 +354,6 @@
#if ($canViewDoc && $docTreeConfig.showDocumentTitle)
## Display the translated title.
#set ($translatedDocument = $xwiki.getDocument($documentReference).translatedDocument)
## Make sure the displayed title is not affected by the sheet request parameter (e.g. when $translatedDocument is
## the current document). By setting the title (even if we don't change it) the internal document instance is cloned
## so it's going to be different than the current document instance (which is the target of the sheet parameter).
#set ($discard = $translatedDocument.setTitle($translatedDocument.title))
#set ($plainTitle = $translatedDocument.plainTitle)
#if (!$stringtool.isBlank($plainTitle))
#set ($label = $plainTitle)
Expand Down

0 comments on commit 41d7dca

Please sign in to comment.