Changes for page Supervisors

From version 2.1
edited by Andrea Omicini
on 09/04/2021 15:20
Change comment: Document converted from syntax xwiki/2.0 to syntax xwiki/2.1
To version 12.1
edited by Andrea Omicini
on 25/06/2021 00:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,0 @@
1 -Tags
Content
... ... @@ -1,7 +1,6 @@
1 -{{velocity filter="none"}}
2 -{{html clean="false" wiki="true"}}
1 +{{velocity filter="none"}}{{html clean="false" wiki="true"}}
3 3  #if(!$request.tag) ## no tag specified in the query
4 -= Thesis Space / Tag Cloud =
3 += {{stringEngIta eng="Theses" ita="Tesi" /}} / Tag Cloud =
5 5  
6 6  #set ($from = ", BaseObject as obj0")
7 7  #set ($where = "obj0.name=doc.fullName and obj0.className='Theses.ThesisClass' and obj0.name<>'Theses.ThesisClassTemplate'")
... ... @@ -20,13 +20,14 @@
20 20   #end
21 21   #set($urlEscapedTag = $escapetool.url($thesisTag))
22 22   #set($htmlEscapedTag = $escapetool.xml($thesisTag))
23 - (% style='display:inline-block; padding:0px 2px; font-size:$tagSize' %)((([[$htmlEscapedTag>>Theses.Tags?tag=$urlEscapedTag]])))
22 + (% style='display:inline-block; padding:0px 2px; font-size:$tagSize' %)((([[$htmlEscapedTag>>Theses.Tags||queryString="tag=$urlEscapedTag"]])))
24 24  #end
25 25  )))
26 26  
27 27  #else ## one tag specified in the query
28 -= Theses / Tag &ldquo;$request.tag&rdquo; =
29 29  
28 +> Tag “**$request.tag**” / {{stringEngIta eng="Theses" ita="Tesi" /}}
29 +
30 30  #set ( $from = ", BaseObject as obj0, DBStringListProperty as prop0 join prop0.list item, BaseObject as obj1, DateProperty as prop1" )
31 31  #set ( $where = "obj0.className='XWiki.TagClass' and obj0.name=doc.fullName and obj0.id=prop0.id.id and prop0.id.name='tags' and lower(item)=lower('$request.tag') and obj1.name=doc.fullName and obj1.className='Theses.ThesisClass' and obj1.name<>'Theses.ThesisClassTemplate' and prop1.id.id=obj1.id and prop1.name = 'endDate' order by prop1.value desc" )
32 32  #set ( $sql = $from + " where " + $where )
... ... @@ -37,7 +37,7 @@
37 37  
38 38  ----
39 39  
40 -[[Back to All Theses Tags>>Tags]]
40 +[[{{stringEngIta eng="Back to" ita="Torna alla" /}} Tag Cloud>>Tags]]
41 41  #end
42 42  {{/html}}
43 43  {{/velocity}}