From version 1.2
edited by Andrea Omicini
on 13/08/2021 12:59
Change comment: Update document after refactoring.
To version 2.1
edited by Andrea Omicini
on 13/08/2021 13:00
Change comment: Document converted from syntax xwiki/1.0 to syntax xwiki/2.1

Summary

Details

Page properties
Syntax
... ... @@ -1,1 +1,1 @@
1 -XWiki 1.0
1 +XWiki 2.1
Content
... ... @@ -1,11 +1,12 @@
1 -#includeMacros("Main.MacroSheet")
2 -#includeMacros("Courses.MacroSheet")
3 -#includeMacros("AndreaRoli.MacroSheet")
1 +{{include document="Main.MacroSheet"/}} {{include document="Courses.MacroSheet"/}} {{include document="AndreaRoli.MacroSheet"/}}
4 4  
3 +{{velocity filter="none"}}
4 +{{html clean="false" wiki="true"}}
5 5  #set( $courseMenu = true )
6 6  
7 -1 #stringIt("Corsi di") $userFullname#stringEn("'s Courses")
8 8  
8 += #stringIt("Corsi di") $userFullname#stringEn("'s Courses") =
9 +
9 9  #stringEnIt(
10 10  "I have held a number of university courses along the years, mostly at the Alma Mater Studiorum—Università di Bologna. Some of them — essentially, the most recent ones — are listed below."
11 11  ,
... ... @@ -27,12 +27,15 @@
27 27   prop2.value like '%$userName%')
28 28   order by prop.value desc
29 29  ")
30 -
31 +<p/>
31 31  #set($courseFound = $xwiki.searchDocuments($sql))
32 32  
33 33  #set($courseFound = $xwiki.searchDocuments($sql))
34 34  #foreach ($courseDoc in $courseFound)
35 -* [#displayName($courseDoc) | $courseDoc] <em>($xwiki.getDocument($courseDoc).display("aY"))</em> #if($context.getUser() != "XWiki.XWikiGuest")<a href='$xwiki.getURL("$course", "inline")'><img alt='$msg.get("panels.documentInformation.editIncluded", [$page])' src='$xwiki.getSkinFile("icons/silk/page_white_edit.gif")' /></a>#end
36 +* [[#displayName($courseDoc)>>$courseDoc]] <em>($xwiki.getDocument($courseDoc).display("aY"))</em> #if($context.getUser() != "XWiki.XWikiGuest")<a href='$xwiki.getURL("$course", "inline")'><img alt='{{html clean="false"}}$msg.get("panels.documentInformation.editIncluded", [$page]){{/html}}' src='$xwiki.getSkinFile("icons/silk/page_white_edit.gif")' /></a>#end
36 36  
38 +<p/>
37 37  #end
38 38  
41 +{{/html}}
42 +{{/velocity}}