Modifiche per il documento Per stato
Dalla versione 60.13
modificato da Andrea Omicini
il 14/10/2021 01:00
il 14/10/2021 01:00
Cambia il commento:
Nessun commento per questa versione
Alla versione 60.10
modificato da Andrea Omicini
il 10/10/2021 18:29
il 10/10/2021 18:29
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -73,14 +73,15 @@ 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 - 81 - |(% style='color:#if( $xwikiTheme == 'dark' )silver #else dimgray #end; display:block; line-height:1.25em; margin-top:0; margin-bottom:0em'%){{pubAutheditors eds='true'}}$pub{{/pubAutheditors}}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 +(% style='font-size:smaller' %){{pubAutheditors eds='true'}}$pub{{/pubAutheditors}}(%%) 82 82 {{pubTitle}}$pub{{/pubTitle}} 83 -{{pubVenue}}$pub{{/pubVenue}}(%%) 83 +(% style='font-size:smaller' %){{pubVenue}}$pub{{/pubVenue}}(%%) 84 +))) 84 84 #end 85 85 (% style='font-style:oblique;font-size:smaller;text-align:right;color:gray;margin-top:-0.5em;margin-bottom:0em' %)((( ($pubFound.size() #if($pubFound.size() > 1){{pubStatus plural='true'}}$status{{/pubStatus}}#else{{pubStatus plural='false'}}$status{{/pubStatus}}#end) [[[top]>>||anchor="top"]] )))(%%) 86 86 #end