Changes for page Per A.Y.

From version 14.1
edited by Andrea Omicini
on 22/11/2021 00:51
Change comment: There is no comment for this version
To version 15.2
edited by Andrea Omicini
on 22/11/2021 00:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -{{include reference="Courses.MacroSheet"/}}{{include reference="Courses.GlobalVars"/}}{{velocity}}
1 +{{include reference="Courses.Environment"/}}{{velocity}}
2 2  #set( $currentCourseDoc = "" )
3 3  #### get parameters
4 4  ## when
... ... @@ -117,9 +117,9 @@
117 117  === $ayearr ===
118 118  {{id name="$ayearr"/}}
119 119  #end#foreach ($courseDoc in $courseFound)
120 - #set( $name = $courseDoc.display("courseName"))
121 - #set($nome = $courseDoc.display("nomeCorso"))
122 -* [[#if( $nome == "" )$name#elseif( $name == "" )$nome#elseif( $context.language.contains('it') )$nome#else$name#end)>>$courseDoc]]
120 + #set( $name = $xwiki.getDocument($courseDoc).display("courseName"))
121 + #set( $nome = $xwiki.getDocument($courseDoc).display("nomeCorso"))
122 +* [[#if( $nome == "" )$name#elseif( $name == "" )$nome#elseif( $context.language.contains('it') )$nome#else$name#end>>$courseDoc]]
123 123  #end
124 124  (% style='font-style:oblique;font-size:smaller;text-align:right;color:gray;margin-top:-0.5em;margin-bottom:0em' %)((( ($courseFound.size() #if( $courseFound.size() > 1 ){{stringEngIta ita="corsi" eng="courses"/}}#else{{stringEngIta ita="corso" eng="course"/}}#end / $ayearr) [[[top]>>||anchor="top"]] )))(%%)
125 125  #end#end