mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Made publishing.lib.ftl a little more robust.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@28896 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -89,10 +89,14 @@
|
||||
"title": "${type.title}",
|
||||
"url": "${type.url}",
|
||||
<#if type.channelNodeType??>"channelNodeType": "${type.channelNodeType}",</#if>
|
||||
<#if type.supportedContentTypes?? >
|
||||
"supportedContentTypes":
|
||||
<@iterateStringsJSON strings=type.supportedContentTypes />,
|
||||
</#if>
|
||||
<#if type.supportedMimeTypes?? >
|
||||
"supportedMimeTypes":
|
||||
<@iterateStringsJSON strings=type.supportedMimeTypes/>,
|
||||
</#if>
|
||||
"canPublish": ${type.canPublish},
|
||||
"canPublishStatusUpdates": ${type.canPublishStatusUpdates},
|
||||
"canUnpublish": ${type.canUnpublish},
|
||||
|
Reference in New Issue
Block a user