mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. "Paste As Link" and link object support in the web-client:
. Filetype icons for PSD (Photoshop) file-format . Import, Export and Manage Space Users actions added to Forums details page . Manage Space Users action added to Forum and Topic details pages . Removed some obsolete JSF navigation outcomes from dialogs/faces-config . Approx 10% performance improvement when showing large search results pages git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2582 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -184,7 +184,7 @@ public class UIClipboardShelfItem extends UIShelfItem
|
||||
}
|
||||
out.write(Utils.buildImageTag(context, icon, 16, 16, null, null, "absmiddle"));
|
||||
}
|
||||
else if (dd.isSubClass(item.Node.getType(), ContentModel.TYPE_CONTENT))
|
||||
else
|
||||
{
|
||||
String image = Utils.getFileTypeImage(item.Node.getName(), true);
|
||||
out.write(Utils.buildImageTag(context, image, null, "absmiddle"));
|
||||
@@ -200,11 +200,11 @@ public class UIClipboardShelfItem extends UIShelfItem
|
||||
out.write(buildActionLink(ACTION_REMOVE_ITEM, i, bundle.getString(MSG_REMOVE_ITEM), WebResources.IMAGE_REMOVE));
|
||||
out.write(" ");
|
||||
out.write(buildActionLink(ACTION_PASTE_ITEM, i, bundle.getString(MSG_PASTE_ITEM), WebResources.IMAGE_PASTE));
|
||||
//if (item.Mode == ClipboardStatus.COPY)
|
||||
//{
|
||||
// out.write(" ");
|
||||
// out.write(buildActionLink(ACTION_PASTE_LINK, i, bundle.getString(MSG_PASTE_LINK), WebResources.IMAGE_PASTE_LINK));
|
||||
//}
|
||||
if (item.Mode == ClipboardStatus.COPY)
|
||||
{
|
||||
out.write(" ");
|
||||
out.write(buildActionLink(ACTION_PASTE_LINK, i, bundle.getString(MSG_PASTE_LINK), WebResources.IMAGE_PASTE_LINK));
|
||||
}
|
||||
|
||||
// end actions cell and end row
|
||||
out.write("</nobr></td></tr>");
|
||||
|
Reference in New Issue
Block a user