Skip to content
Snippets Groups Projects
Commit 4bab2c1a authored by Michael Enz's avatar Michael Enz
Browse files

merge

parents 36b0406e 0c14539c
No related branches found
No related tags found
No related merge requests found
......@@ -55,11 +55,13 @@ public class UserToolImpl implements UserTool, ComponentEventListener {
String label = extension.getLabel(locale);
String iconCssClass = extension.getIconCssClass();
String linkName = "personal.tool.alt." + CodeHelper.getRAMUniqueID();
Link link = LinkFactory.createLink(linkName, container, this);
Link link = LinkFactory.createLink(linkName, linkName, container.getTranslator(), container, this, Link.LINK | Link.NONTRANSLATED);
link.setUserObject(this);
link.setCustomDisplayText(label);
link.setElementCssClass("o_sel_user_tools-" + extension.getNavigationKey());
link.setIconLeftCSS(iconCssClass + " o_icon-lg");
link.setTooltip(label);
link.setTitle(label);
return link;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment