Modifiche per il documento Per stato
Dalla versione 5.1
modificato da Andrea Omicini
il 21/12/2020 23:51
il 21/12/2020 23:51
Cambia il commento:
Nessun commento per questa versione
Alla versione 6.2
modificato da Andrea Omicini
il 21/12/2020 23:53
il 21/12/2020 23:53
Cambia il commento:
Nessun commento per questa versione
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,4 @@ 1 -{{include document="Main.MacroSheet"/}} {{include document="Publications.MacroSheet"/}} {{include document="Publications.GlobalVars"/}} 2 - 3 -{{velocity filter="none"}} 4 -{{html clean="false" wiki="true"}} 1 +{{include document="Main.MacroSheet"/}}{{include document="Publications.MacroSheet"/}}{{velocity filter="none"}}{{html clean="false" wiki="true"}} 5 5 #### get parameters 6 6 ## who 7 7 #set( $userNamePar = $context.getRequest().getParameter("user") ) ... ... @@ -9,7 +9,7 @@ 9 9 #set( $lastNamePar = $context.getRequest().getParameter("surname") ) 10 10 ## which status 11 11 #set($statusPar = $context.getRequest().getParameter("status")) 12 - 9 +## 13 13 #### handle who 14 14 #if ( $userName ) 15 15 ## from a personal page, "XWiki.PersonalSpace" $userName form ... ... @@ -33,7 +33,7 @@ 33 33 #set( $authorFirstName = "" ) 34 34 #set( $authorLastName = "" ) 35 35 #end 36 - 33 +## 37 37 #### handle status 38 38 ## $oneStatus false gets a list of statuses, true just one 39 39 #set( $oneStatus = false ) ... ... @@ -51,29 +51,18 @@ 51 51 #set($statusList = [$statusPar]) 52 52 #end 53 53 #end 54 - 51 +## 55 55 <a name="top"> </a> 56 -<p/> 57 57 #if($oneAuthor)#if($oneStatus) 58 - 59 - 60 -= //$statusPar// Papers by $authorFirstName $authorLastName = 61 - 54 +== $statusPar / $authorFirstName $authorLastName == 62 62 #else 63 - 64 -= Unpublished Papers by $authorFirstName $authorLastName = 65 - 56 +== Unpublished / $authorFirstName $authorLastName == 66 66 #end#elseif($oneStatus) 67 - 68 - 69 -= //$statusPar// Papers in the #apice() Space = 70 - 58 +== $statusPar == 71 71 #else 72 - 73 -= Unpublished Papers in the #apice() Space = 74 - 60 +== Unpublished == 75 75 #end 76 - <p/>62 +# 77 77 #if (!$oneStatus) 78 78 Below, unpublished works #if($oneAuthor) by $authorFirstName $authorLastName #else in the #apice() space #end ordered by their current status. 79 79 <hr />