Skip to content

Commit

Permalink
SAK-30450 regression: the title attribute should show the long versio…
Browse files Browse the repository at this point in the history
…n in site tabs
  • Loading branch information
bjones86 committed Mar 4, 2016
1 parent b9eac64 commit 4eaef78
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,11 +385,11 @@ public Map convertSiteToMap(HttpServletRequest req, Site s, String prefix,
.equals(myWorkspaceSiteId))));

// SAK-29138
m.put( "siteTitleNotTruncated", getUserSpecificSiteTitle( s, false ) );

String siteTitle = getUserSpecificSiteTitle( s );
m.put( "siteTitle", siteTitle );
m.put( "fullTitle", siteTitle );
String siteTitleTruncated = getUserSpecificSiteTitle( s, true );
String siteTitleNotTruncated = getUserSpecificSiteTitle( s, false );
m.put( "siteTitleNotTruncated", siteTitleNotTruncated );
m.put( "siteTitle", siteTitleTruncated );
m.put( "fullTitle", siteTitleNotTruncated );

m.put("siteDescription", s.getHtmlDescription());

Expand Down

0 comments on commit 4eaef78

Please sign in to comment.