Changes for page Per Status
From version 6.1
edited by Andrea Omicini
on 21/12/2020 23:51
on 21/12/2020 23:51
Change comment:
There is no comment for this version
To version 6.2
edited by Andrea Omicini
on 21/12/2020 23:53
on 21/12/2020 23:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -6,7 +6,7 @@ 6 6 #set( $lastNamePar = $context.getRequest().getParameter("surname") ) 7 7 ## which status 8 8 #set($statusPar = $context.getRequest().getParameter("status")) 9 - 9 +## 10 10 #### handle who 11 11 #if ( $userName ) 12 12 ## from a personal page, "XWiki.PersonalSpace" $userName form ... ... @@ -30,7 +30,7 @@ 30 30 #set( $authorFirstName = "" ) 31 31 #set( $authorLastName = "" ) 32 32 #end 33 - 33 +## 34 34 #### handle status 35 35 ## $oneStatus false gets a list of statuses, true just one 36 36 #set( $oneStatus = false ) ... ... @@ -48,29 +48,18 @@ 48 48 #set($statusList = [$statusPar]) 49 49 #end 50 50 #end 51 - 51 +## 52 52 <a name="top"> </a> 53 -<p/> 54 54 #if($oneAuthor)#if($oneStatus) 55 - 56 - 57 -= //$statusPar// Papers by $authorFirstName $authorLastName = 58 - 54 +== $statusPar / $authorFirstName $authorLastName == 59 59 #else 60 - 61 -= Unpublished Papers by $authorFirstName $authorLastName = 62 - 56 +== Unpublished / $authorFirstName $authorLastName == 63 63 #end#elseif($oneStatus) 64 - 65 - 66 -= //$statusPar// Papers in the #apice() Space = 67 - 58 +== $statusPar == 68 68 #else 69 - 70 -= Unpublished Papers in the #apice() Space = 71 - 60 +== Unpublished == 72 72 #end 73 - <p/>62 +# 74 74 #if (!$oneStatus) 75 75 Below, unpublished works #if($oneAuthor) by $authorFirstName $authorLastName #else in the #apice() space #end ordered by their current status. 76 76 <hr />