10-25-2010 04:06 AM
10-25-2010 05:11 AM
Eléments divers :
…
- Nouveau groupe pour accorder (ou pas) le droit de création de site.
10-25-2010 05:13 AM
10-25-2010 05:18 AM
10-25-2010 05:23 AM
<div class="title">${msg("header.mySites")}</div>
<div class="toolbar flat-button">
<#if user.isAdmin> <a href="#" id="${args.htmlid}-createSite-button" class="theme-color-1">${msg("link.createSite")}</a> </#if>
<input id="${args.htmlid}-type" type="button" name="type" value="${msg("filter.all")}" />
<select id="${args.htmlid}-type-menu">
<option value="all">${msg("filter.all")}</option>
<option value="sites">${msg("filter.sites")}</option>
<option value="favSites">${msg("filter.favSites")}</option>
<option value="docWorkspaces">${msg("filter.docWorkspaces")}</option>
<option value="metWorkspaces">${msg("filter.metWorkspaces")}</option>
</select>
</div>
10-25-2010 06:00 AM
<script type="text/javascript">//<![CDATA[
new Alfresco.dashlet.MySites("${args.htmlid}").setOptions(
{
imapEnabled: ${imapServerEnabled?string},
sites: [
<#if sites??>
<#list sites as site>
{
shortName: '${site.shortName?js_string}',
title: '${site.title?js_string}',
description: '${site.description?js_string}',
isFavourite: ${site.isFavourite?string},
<#if imapServerEnabled>isIMAPFavourite: ${site.isIMAPFavourite?string},</#if>
isSiteManager: ${site.isSiteManager?string}
}<#if (site_has_next)>,</#if>
</#list>
</#if>
]
}).setMessages(
${messages}
);
new Alfresco.widget.DashletResizer("${args.htmlid}", "${instance.object.id}");
//]]></script>
<div class="dashlet my-sites">
<div class="title">${msg("header.mySites")}</div>
<div class="toolbar flat-button">
<#if user.isAdmin> <a href="#" id="${args.htmlid}-createSite-button" class="theme-color-1">${msg("link.createSite")}</a> </#if>
<input id="${args.htmlid}-type" type="button" name="type" value="${msg("filter.all")}" />
<select id="${args.htmlid}-type-menu">
<option value="all">${msg("filter.all")}</option>
<option value="sites">${msg("filter.sites")}</option>
<option value="favSites">${msg("filter.favSites")}</option>
<option value="docWorkspaces">${msg("filter.docWorkspaces")}</option>
<option value="metWorkspaces">${msg("filter.metWorkspaces")}</option>
</select>
</div>
<#if sites??>
<div id="${args.htmlid}-sites" class="body scrollableList" <#if args.height??>style="height: ${args.height}px;"</#if>>
<#else>
<div class="body scrollableList" <#if args.height??>style="height: ${args.height}px;"</#if>>
<div class="detail-list-item first-item last-item">
<span>${msg("label.noSites")}</span>
</div>
</#if>
</div>
</div>
10-25-2010 08:47 AM
else
{
documentNodes.push(node);
}
else if (node.isDocument)
{
documentNodes.push(node);
}
Après avoir fait la modification, il faut bien penser à rafraichir les webscripts de l'entrepôt (coté alfresco).10-25-2010 10:23 AM
10-25-2010 10:31 AM
10-25-2010 10:45 AM
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.