[
https://issues.apache.org/jira/browse/JSPWIKI-897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14623574#comment-14623574
]
brushed commented on JSPWIKI-897:
---------------------------------
Dave,
Long pages are truncated with ellipsis (...) to avoid they wrap over to a next
line.
I added now a "title" attribute to the pagename in the header. In case a very
long pagename is truncated (with ellipsis ...) you can still see the full
pagename when you hover the mouse over the pagename. (see 2.10.2-svn-25)
This is similar f.i. what happens in a file explorer, when file-names are
truncated.
Let me know if that is a workable solution.
***
I you want to turn off the pagename truncation (which is done in css) on your
own installation, you could do the following.
Add following markup to your LeftMenu page:
{noformat}
%%add-css
.header .pagename { white-space: normal; }
/%
{noformat}
dirk
> Long page names in Haddock don't wrap gracefully
> ------------------------------------------------
>
> Key: JSPWIKI-897
> URL: https://issues.apache.org/jira/browse/JSPWIKI-897
> Project: JSPWiki
> Issue Type: Bug
> Components: Templates and UI
> Affects Versions: 2.10.2
> Environment: Client is:
> - Firefox 39 (Ubuntu 14.04).
> Server is:
> - JSPWiki v2.10.2-svn-24 running in GlassFish v4
> - Container managed authentication is enabled using a file-based realm
> - HTTPS is enabled
> - JSPWiki policy is locked down such that only authenticated users have
> access (both read and write)
> Reporter: Dave Koelmeyer
> Attachments: JSPWiki-HaddockLongPagename-1.png,
> JSPWiki-HaddockLongPagename-2.png
>
>
> Pages with long names wrap gracefully using the default template with the
> Plain Vanilla skin enabled. This a) obviously makes it easy to view the page
> tile and b) makes it easy to copy and paste the page title elsewhere.
> Neither appears to be the case with the Haddock template enabled, and ideally
> page titles should wrap gracefully in the same way. This is especially
> problematic for switching to Haddock in an existing JSPWiki installation,
> without having to manually rename pages or otherwise deal with lopped-off
> page titles.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)