#if parentId?has_content> <@cms.content id=parentId> <#assign parent=object/> @cms.content> #if> <@cms.contentList advanced=true status=status modelId=modelIds parentId=parentId title=title userId=admin.id startPublishDate=startPublishDate endPublishDate=endPublishDate orderField=orderField orderType=orderType pageIndex=pageNum pageSize=numPerPage> <@sys.authorized roleIds=admin.roles urls='cmsContent/add,cmsContent/delete,cmsContent/uncheck,cmsContent/push,cmsContent/refresh,cmsContent/publish,cmsContent/export,cmsComment/list,sysWorkflowProcess/view'><#assign authorizedMap=map/>@sys.authorized>
| <@t.page 'id'/> | <@t.page 'content'/> | <@t.page 'content.comments'/> | <@t.page 'clicks'/> | <@t.page 'publish_date'/> | <@t.page 'status'/>/<@t.page 'inspector'/> | <@t.page 'operate'/> | |
|---|---|---|---|---|---|---|---|
| ${a.id} |
<#if a.cover?has_content>
[${(categoryMap[a.categoryId?string].name)!}] ${(a.copied?then('['+t.pageMessage('copied')+']',''))!} ${(a.title)!}${(modelMap[a.modelId].name)!} <#if modelMap[a.modelId]?has_content&&modelMap[a.modelId].hasChild> #if> <#if a.expiryDate?has_content>${a.expiryDate!}#if> |
<#if authorizedMap['cmsComment/list']> ${a.comments!} <#else> ${a.comments!} #if> | ${a.clicks!} | ${a.publishDate!} | <@t.page 'status.content.'+a.status/> <#if 1 = a.status>/${(checkUserMap[a.checkUserId?string].nickname)!}#if> | <#if 4 != a.status && authorizedMap['cmsContent/add']> <@t.page 'content.edit'/> #if> <#if 4 = a.status && authorizedMap['sysWorkflowProcess/view']> <@t.page 'workflow.check'/> #if> <#if 1 = a.status && authorizedMap['cmsContent/push']> <@t.page 'button.push'/> #if> |