mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5056 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -580,10 +580,18 @@ public class TemplateNode implements Serializable
|
|||||||
return this.imageResolver.resolveImagePathForName(getName(), true);
|
return this.imageResolver.resolveImagePathForName(getName(), true);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
String icon = (String)getProperties().get("app:icon");
|
||||||
|
if (icon != null)
|
||||||
|
{
|
||||||
|
return "/images/icons/" + icon + "-16.gif";
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
return "/images/icons/space_small.gif";
|
return "/images/icons/space_small.gif";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return "/images/filetypes/_default.gif";
|
return "/images/filetypes/_default.gif";
|
||||||
|
Reference in New Issue
Block a user