mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fixed link to main page on wiki filter component. Wiki markup is now rendered correctly on wiki page listing. Fixed null title in link to renamed page.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@10117 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -53,7 +53,7 @@ function main()
|
||||
link.save();
|
||||
**/
|
||||
var placeholder = createWikiPage(currentName, wiki, {
|
||||
content: "This page has been moved [[" + args.name + "|here]]."
|
||||
content: "This page has been moved [[" + newName + "|here]]."
|
||||
});
|
||||
|
||||
var d = {
|
||||
|
@@ -7,8 +7,8 @@
|
||||
"name" : "${page.name}",
|
||||
"editable" : "<#if page.hasPermission("Write")>true<#else>false</#if>",
|
||||
"title" : "<#if page.properties.title?exists>${page.properties.title}<#else>${page.name?replace("_", " ")}</#if>",
|
||||
<#-- strip out any html tags and/or wiki markup -->
|
||||
"text" : "${page.content?replace("</?[^>]+>", " ", "ir")?replace("\\[\\[(?:[a-zA-Z\\s]+\\|)?([^\\]]+)\\]\\]", "$1", "ir")?j_string}",
|
||||
<#-- strip out any html tags -->
|
||||
"text" : "${page.content?replace("</?[^>]+>", " ", "ir")}",
|
||||
"createdOn": "${page.properties.created?string("MMM dd yyyy, HH:mm:ss")}",
|
||||
"createdBy": "${page.properties.creator}",
|
||||
"modifiedOn": "${page.properties.modified?string("MMM dd yyyy, HH:mm:ss")}",
|
||||
|
Reference in New Issue
Block a user