Changes for page Per Status

From version 67.6
edited by Andrea Omicini
on 18/11/2022 00:44
Change comment: There is no comment for this version
To version 67.8
edited by Andrea Omicini
on 17/12/2022 13:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -66,7 +66,6 @@
66 66  (% style="font-size: smaller; padding:1em 1.5em 0.25em 1.5em; background-color:$theme.highlightColor" %)(((#foreach( $status in $statusList )#if( $foreach.index > 0 ) | #end[[{{pubStatus}}$status{{/pubStatus}}>>||anchor=$status]]#end)))
67 67  #end
68 68  ##
69 -$statusList
70 70  #foreach( $status in $statusList )
71 71   #set( $from = ", BaseObject as obj, LargeStringProperty as prop0, StringProperty as prop1" )
72 72   #set( $where = "obj.name=doc.fullName and obj.className='${objectSpace}.${objectClass}' and obj.name<>'${objectSpace}.${objectTemplate}' and prop0.id.id=obj.id and prop1.id.id=obj.id and prop0.name='author' and (prop0.value like '%$authorFirstName $authorLastName%' or prop0.value like '%$authorLastName, $authorFirstName%') and prop1.name = 'status' and prop1.value = '$status'" )
... ... @@ -78,7 +78,7 @@
78 78  (% style="border-style:solid hidden hidden solid; border-color:$theme.borderColor; text-align:left; font-style:oblique" %)|{{id name='$sort'/}}{{pubStatus plural='true' uppercase='true'}}$status{{/pubStatus}}{{id name="$status"/}}
79 79   #end
80 80   #foreach( $pub in $pubFound )#if( $xwiki.exists($pub) )#set( $pubDoc = $xwiki.getDocument($pub) )#if( $pubDoc.getObject("${objectSpace}.${objectClass}") )## handling visibility at show time
81 -|{{pub inline='false' linked='true'}}$pub{{/pub}}
80 +|{{pub inline='false' linked='title'}}$pub{{/pub}}
82 82   #end#end#end
83 83  (% style="#if( !$oneStatus )border-style:hidden solid solid hidden;#end border-color:$theme.borderColor; text-align:right; font-style:oblique; font-weight:normal; font-size:smaller; color:gray" %)|($pubStatusNo #if( $pubStatusNo > 1 ){{pubStatus plural='true'}}$status{{/pubStatus}}#else{{pubStatus plural='false'}}$status{{/pubStatus}}#end) [[[top]>>||anchor="top"]]
84 84   #end