Changes for page Andrea Roli’s Courses per A.Y.
From version 2.1
edited by Andrea Omicini
on 13/08/2021 13:00
on 13/08/2021 13:00
Change comment:
Document converted from syntax xwiki/1.0 to syntax xwiki/2.1
To version 5.1
edited by Andrea Omicini
on 21/01/2022 22:53
on 21/01/2022 22:53
Change comment:
Renamed from xwiki:AndreaRoli.CoursesPerYear
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,0 @@ 1 -Per Academic Year - Parent
-
... ... @@ -1,1 +1,1 @@ 1 -AndreaRoli.Courses 1 +xwiki:AndreaRoli.Courses.WebHome - Content
-
... ... @@ -1,42 +1,3 @@ 1 -{{i nclude document="Main.MacroSheet"/}} {{includedocument="Courses.MacroSheet"/}}nclude document="AndreaRoli.MacroSheet"/}}1 += {{italiano}}Corsi di {{/italiano}}Andrea Roli{{english}}’s Courses per A.Y.{{/english}}{{italiano}} per A.A.{{/italiano}} = 2 2 3 -{{velocity filter="none"}} 4 -{{html clean="false" wiki="true"}} 5 -#set( $courseMenu = true ) 6 - 7 - 8 -= #stringIt("Corsi di") $userFullname#stringEn("'s Courses") = 9 - 10 -#stringEnIt( 11 -"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." 12 -, 13 -"Da vari anni tengo corsi universitari, principalmente all'Alma Mater Studiorum. Alcuni di loro — essenzialmente, i più recenti — si trovano elencati qui sotto." 14 -) 15 - 16 -#set ($sql = ", BaseObject as obj, StringProperty as prop, LargeStringProperty as prop1, LargeStringProperty as prop2 17 - where 18 - obj.name=doc.fullName and 19 - obj.className='Courses.CourseClass' and 20 - obj.name<>'Courses.CourseClassTemplate' and 21 - prop.id.id=obj.id and 22 - prop1.id.id=obj.id and 23 - prop2.id.id=obj.id and 24 - prop.name='aY' and 25 - prop1.name='professor' and 26 - prop2.name='otherProfessors' and 27 - (prop1.value like '%$userName%' or 28 - prop2.value like '%$userName%') 29 - order by prop.value desc 30 -") 31 -<p/> 32 -#set($courseFound = $xwiki.searchDocuments($sql)) 33 - 34 -#set($courseFound = $xwiki.searchDocuments($sql)) 35 -#foreach ($courseDoc in $courseFound) 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 37 - 38 -<p/> 39 -#end 40 - 41 -{{/html}} 42 -{{/velocity}} 3 +{{include reference="AndreaRoli.Environment" excludeFirstHeading="true"/}}{{include reference="Courses.PerYear" excludeFirstHeading="true"/}}