git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Kevin Roast
2007-02-06 17:00:33 +00:00
parent 5e74474f98
commit 2a0a67bf96

View File

@@ -580,10 +580,18 @@ public class TemplateNode implements Serializable
return this.imageResolver.resolveImagePathForName(getName(), true);
}
else
{
String icon = (String)getProperties().get("app:icon");
if (icon != null)
{
return "/images/icons/" + icon + "-16.gif";
}
else
{
return "/images/icons/space_small.gif";
}
}
}
else
{
return "/images/filetypes/_default.gif";