tags = record.tags;
desc += '<div class="detail"><span class="item tag-item"><em>' + scope.msg("details.tags") + '</em> ';
if (tags.length > 0)
{
for (i = 0, j = tags.length; i < j; i++)
{
tag = $html(tags[i]);
desc += '<span class="tag"><a href="#" class="tag-link" rel="' + tag + '" title="' + tags[i] + '">' + tag + '</a></span>' + (j - i > 1 ? ", " : ""); }
}
else
{
desc += scope.msg("details.tags.none");
}
categories = record.categories;
desc += '<div class="detail"><span class="item tag-item"><em>' + scope.msg("Categorias:") + '</em> ';
if (categories.length > 0)
{
for (i = 0, j = categories.length; i < j; i++)
{
category = $html(categories[i]);
desc += '<span class="tag"><a href="#" class="tag-link" rel="' + category + '" title="' + categories[i] + '">' + category + '</a></span>' + (j - i > 1 ? ", " : "");
}
}
else
{
desc += scope.msg("details.tags.none");
}
Las categorías me las pinta, pero con un formato un poco feo. Además no tienen funcionalidad, es decir, cuando pincho en la categoría e intento sacar todos los documentos de esta categoría no rula. Content from pre 2016 and from language groups that have been closed.
Content is read-only.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.