Hi all,
I am trying to hide the description from my sites dashlet in alfresco.
For that,I have made commented some part in my tomcat/webapps/share/components/dashlet/my-sites.js file as fol
renderCellDetail: function MySites_renderCellDetail(elCell, oRecord, oColumn, oData)
{
var site = oRecord.getData(),
/**description = '<span class="faded">' + this.msg("details.description.none") + '</span>',*/
desc = "";
if (site.isInfo)
{
desc += '<div class="empty"><h3>' + site.title + '</h3>';
/** desc += '<span>' + site.description + '</span>*/</div>';
}
else
{
// Description non-blank?
/** if (site.description && site.description !== "")
{
description = $links($html(site.description));
}*/
desc += '<h3 class="site-title"><a href="' + Alfresco.constants.URL_PAGECONTEXT + 'site/' + site.shortName + '" class="theme-color-1">' + $html(site.title) + '</a></h3>';
/** desc += '<div class="detail"><span>' + description + '</span></div>';*/
but it is not working and description is not hidden in the share page.
Any help would be greatly appreciated.