04-18-2011 06:07 AM
04-26-2011 04:25 AM
05-05-2011 09:08 AM
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. Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.