[SAK-23795] Cut site titles in preferences in the same way as in tabs. Created: 18-Jul-2013  Updated: 18-Sep-2014  Resolved: 08-Aug-2014

Status: CLOSED
Project: Sakai
Component/s: Preferences
Affects Version/s: 10.0
Fix Version/s: 10.2, 11.0

Type: Bug Priority: Major
Reporter: Juan José Meroño Sánchez Assignee: Aaron Zeckoski (Inactive)
Resolution: Fixed Votes: 0
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File Ellipsis.jpg     JPEG File after_patch_applied.jpg     Text File kernel_SAK-23795.patch.txt     Text File portal_SAK-23795.patch.txt     PNG File shorttitle.png     Text File user_SAK-23795.patch.txt    
Issue Links:
is related to SAK-23567 Flexible way to customize cut method ... CLOSED
10 status: Resolved


In preferences page the site title is cutted using ellipsis instead of the method added in SAK-23567. This should be use the same method.

Comment by Juan José Meroño Sánchez [ 18-Jul-2013 ]

Now that the cut method is needed in portal and prefs tools, the best thing could be add a new method "getAbbreviatedTitle" to Kernel Site API, so you can use it in both tools.

Comment by Alan Berg [ 03-Oct-2013 ]

Has this been discussed on the dev list?

Comment by Juan José Meroño Sánchez [ 08-Jul-2014 ]

The patch move cut method to kernel, in order to be able to use it from portal and from preferences tools.

Comment by Aaron Zeckoski (Inactive) [ 31-Jul-2014 ]

Current plan is to make the method a little more general so it could be used for anything. The params aside from the title will be overridden by the config if they are null.

Comment by Aaron Zeckoski (Inactive) [ 08-Aug-2014 ]

Ready for QA testing

Comment by Hudson CI Server [ 11-Aug-2014 ]

Integrated in sakai-trunk-java-1.7 #339 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/339/)

Result = SUCCESS

Generated at Sun Feb 23 11:53:21 CST 2020 using Jira 8.0.3#800011-sha1:073e8b433c2c0e389c609c14a045ffa7abaca10d.