Changes for page Per Status
From version 60.12
edited by Andrea Omicini
on 14/10/2021 00:58
on 14/10/2021 00:58
Change comment:
There is no comment for this version
To version 60.11
edited by Andrea Omicini
on 10/10/2021 18:31
on 10/10/2021 18:31
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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:solidhidden hidden solid; border-color:silver; text-align:left; font-style:oblique" %)|{{id name='$sort'/}}{{pubStatus plural='true' uppercase='true'}}$status{{/pubStatus}}{{idname="$status"/}}79 - #end80 - 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}}(%%)