REST command to launch User Profile page for a Person. Fix to nav image alignment on details pages.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7562 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-12-06 13:48:20 +00:00
parent b0a57b4d5c
commit 8266382b1c
22 changed files with 198 additions and 42 deletions

View File

@@ -142,7 +142,9 @@ public class ActionLinkRenderer extends BaseRenderer
renderActionLinkAnchor(context, out, link);
}
out.write(Utils.buildImageTag(context, image, (String)link.getValue(), "-4px"));
String verticalAlign = link.getVerticalAlign();
out.write(Utils.buildImageTag(
context, image, (String)link.getValue(), verticalAlign == null ? "-4px" : verticalAlign));
if (link.getShowLink() == false)
{