Changes for page Per Status

From version 60.12
edited by Andrea Omicini
on 14/10/2021 00:58
Change comment: There is no comment for this version
To version 60.10
edited by Andrea Omicini
on 10/10/2021 18:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -73,11 +73,11 @@
73 73  #set( $where = "obj.name=doc.fullName and obj.className='Publications.PublicationClass' and obj.name<>'Publications.PublicationClassTemplate' 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'" )
74 74  #set( $sql = $from + " where " + $where )
75 75  #set($pubFound = $xwiki.searchDocuments($sql))
76 -#if ($pubFound.size()>0)
77 - #if (!$oneStatus)
78 -(% style="border-style:solid hidden hidden solid; border-color:silver; text-align:left; font-style:oblique" %)|{{id name='$sort'/}}{{pubStatus plural='true' uppercase='true'}}$status{{/pubStatus}}{{id name="$status"/}}
79 - #end
80 - #foreach( $pub in $pubFound )(% style='line-height:1.25em'%)(((
76 +#if ($pubFound.size()>0)#if (!$oneStatus)
77 +
78 +=== {{pubStatus plural='true' uppercase='true'}}$status{{/pubStatus}} ===
79 +{{id name="$status"/}}
80 +#end#foreach( $pub in $pubFound )(% style='line-height:1.25em'%)(((
81 81  (% style='font-size:smaller' %){{pubAutheditors eds='true'}}$pub{{/pubAutheditors}}(%%)
82 82  {{pubTitle}}$pub{{/pubTitle}}
83 83  (% style='font-size:smaller' %){{pubVenue}}$pub{{/pubVenue}}(%%)