Show last authors
1 {{include document="Main.MacroSheet"/}}{{velocity filter="none"}}
2 #### Field List Macro
3 #macro(thesisFieldList $fieldname $nameen $nameit)[[{{stringEngIta eng="$nameen" ita="$nameit" /}}>>Theses.Fields||anchor="$fieldname" target="_blank"]]#end
4 #macro(thesisFieldInput $fieldname $nameen $nameit)[[{{stringEngIta eng="$nameen" ita="$nameit" /}}>>Theses.Fields||anchor="$fieldname" target="_blank"]]
5 $doc.display("$fieldname")
6 #end
7 #### START utility variables
8 #set( $class = "ThesisClass" )
9 #set( $defaultweb = "Theses")
10 #set( $defaultparent = "$defaultweb.WebHome" )
11 #set( $obj = $doc.getObject("$defaultweb.$class"))
12 #### END utility variables
13 #### START OBJECT or SHEET?
14 #if(!$obj)
15 ### This is the Thesis Class Sheet
16
17 = Thesis Class Sheet =
18
19 This stylesheet is meant to be applied on a document containing a Theses.ThesisClass object.
20 #else
21 ### This is not the Thesis Class Sheet
22 #### START VIEW MODE
23 #if($context.action.contains("view"))
24 #### START TITLE
25 ## #if( $doc.title != "" )
26 ## = $doc.display('title') =
27 ## #elseif( $doc.display('translatedTitle') != '' )
28 ## = $doc.display('translatedTitle') =
29 ## #else
30 ## {{error}}Missing thesis title{{/error}}
31 ## #end
32 #### END TITLE
33 #### START STUDENT
34 #set( $student = $obj.getValue('studentUserName') )
35 #if( $student.contains('XWiki.') && $xwiki.exists($student) )
36 > [[$xwiki.getUserName($student, false)>>$student]]
37 #elseif( $student != "" )
38 > $student
39 #elseif( $obj.getValue('studentFirstName') != "" && $obj.getValue('studentLastName') != "" )
40 > $doc.display('studentFirstName') $doc.display('studentLastName')
41 #elseif( $obj.getValue('studentName') != "" )
42 > $doc.display('studentName')
43 #end
44 #### END STUDENT
45 #### START ABSTRACT / DESCRIPTION / KEYWORDS
46 #if ($obj.getValue('abstract') != "")
47 ((($doc.display('abstract'))))
48 #elseif ($obj.getValue('translatedAbstract') != "")
49 ((($doc.display('translatedAbstract'))))
50 #elseif ($obj.getValue('description') != "")
51 ((($doc.display('description'))))
52 #end
53 #if ($obj.getValue('keywords') != "")
54 (((//Keywords: // $doc.display('keywords'))))
55 #end
56 ##
57 #### END ABSTRACT / DESCRIPTION / KEYWORDS
58 #end
59 #### END VIEW MODE
60 ##
61 #### START INLINE MODE
62 #if($context.action == "inline" && $xwiki.hasAccessLevel("edit"))
63 #### START STATUS
64 (% style="border: 1px solid lightgray; background-color:white; margin-bottom: 10px" %)
65 ((({{html wiki="true"}}<table><tr>
66 <td width="30%">(((#thesisFieldInput("status","Current Status","Stato attuale"))))</td>
67 <td width="30%">(((#thesisFieldInput("category","Level","Livello"))))</td>
68 <td width="30%">(((#thesisFieldInput("language","Language","Lingua"))))</td>
69 </tr></table>{{/html}})))
70 #### END STATUS
71 #### START TITLE
72 (% style="border-style: none; background-color:lightgray; padding: 5px; margin-bottom: 10px" %)
73 ((((((#thesisFieldInput("title","Title","Titolo"))))
74 (((#thesisFieldInput("translatedTitle","Translated title","Titolo tradotto")))))))
75 #### END TITLE
76 #### START ABSTRACT / DESCRIPTION / KEYWORDS
77 (% style="border: 1px solid lightgray; background-color:white; padding: 5px; margin-bottom: 10px" %)
78 ((((((#thesisFieldInput("description","Goal","Obbiettivo"))))
79 (((#thesisFieldInput("abstract","Abstract","Sommario"))))
80 (((#thesisFieldInput("translatedAbstract","Translated abstract","Sommario tradotto"))))
81 (((#thesisFieldInput("keywords","Keywords","Parole chiave")))))))
82 #### END ABSTRACT / DESCRIPTION / KEYWORDS
83 #### START SUPERVISORS
84 (% style="border-style: none; background-color:lightgray; padding: 5px; margin-bottom: 10px" %)
85 ((({{html wiki="true"}}<table align='left' border='0'><tr>
86 <td width="30%">(((#thesisFieldInput("supervisor","Supervisor","Relatore"))))</td>
87 <td width="30%">(((#thesisFieldInput("coSupervisors","Co-supervisors","Correlatori"))))</td>
88 <td width="30%">(((#thesisFieldInput("contact","Contact Person","Contatto"))))</td>
89 </tr><tr>
90 <td colspan="3">(((#thesisFieldInput("externalSupervisor","External Supervisor","Relatore esterno"))))</td>
91 </tr><tr>
92 <td colspan="3">(((#thesisFieldInput("externalCosupervisors","External Co-supervisors","Correlatori esterni"))))</td>
93 </tr></table>{{/html}})))
94 #### END SUPERVISORS
95 #### START THESIS STUDENT
96 (% style="border: 1px solid lightgray; background-color:white; padding: 5px; margin-bottom: 10px" %)
97 ((({{html wiki="true"}}<table><tr>
98 <td width="30%">(((#thesisFieldInput("studentUserName","Thesis student","Tesista"))))</td>
99 <td width="30%">(((#thesisFieldInput("studentFirstName","Thesis student name","Nome del/la tesista"))))</td>
100 <td width="30%">(((#thesisFieldInput("studentLastName","Thesis student surname","Cognome del/la tesista"))))</td>
101 </tr><tr>
102 ## <td colspan="3">(((#thesisFieldInput("studentName","Thesis student full name","Nome completo del/la tesista"))))</td>
103 ## </tr><tr>
104 <td colspan="3">(((#thesisFieldInput("studentMail","Thesis student mail","Mail del/la tesista"))))</td>
105 </tr></table>{{/html}})))
106 #### END THESIS STUDENT
107 #### START DATES
108 (% style="border-style: none; background-color:lightgray" %)
109 ((({{html wiki="true"}}<table><tr>
110 <td width="30%">(((#thesisFieldInput("availabilityDate","Available since","Disponibile da"))))</td>
111 <td width="30%">(((#thesisFieldInput("startDate","Activity started","Iniziata il"))))</td>
112 <td width="30%">(((#thesisFieldInput("endDate","Degree date","Data della discussione"))))</td>
113 </tr></table>{{/html}})))
114 #### END DATES
115 #### START ATTACHED DOCUMENTS
116 (% style="border: 1px solid lightgray; background-color:white; margin-bottom: 10px" %)
117 ((({{html wiki="true"}}<table><tr>
118 <td>(((#thesisFieldList("localPdf","Thesis document in PDF","Documento tesi in PDF")
119 {{attachmentSelector classname="Theses.ThesisClass" property="localPdf" filter="pdf,doc"/}})))
120 (((#thesisFieldInput("showPdf","Show PDF","Mostra PDF"))))</td>
121 <td>(((#thesisFieldList("slides","Slides for thesis presentation","Lucidi presentazione tesi")
122 {{attachmentSelector classname="Theses.ThesisClass" property="slides" filter="pdf,ppt,pptx,odp,key,zip,png"/}})))
123 (((#thesisFieldInput("showSlides","Show slides","Mostra lucidi"))))</td>
124 </tr></table>{{/html}})))
125 #### END ATTACHED DOCUMENTS
126 #### START AMS DATA
127 (% style="border-style: none; background-color:lightgray" %)
128 ((({{html wiki="true"}}<table align='left'><tr>
129 <td>#thesisFieldInput("amspracticeno","AMS Practice Number","Numero pratica di 'AMS Tesi on Line'")</td>
130 <td>#thesisFieldInput("amseprintno","AMS EPrint Number","Numero EPrint di 'AMS Tesi di laurea'")</td>
131 <td>#thesisFieldInput("amsphdeprintno","AMS PhD EPrint Number ","Numero EPrint di 'AMS Tesi di dottorato'")</td>
132 </tr></table>{{/html}})))
133 #### END AMS DATA
134 #### START ID & URL
135 (% style="border: 1px solid lightgray; background-color:white; padding: 5px" %)
136 (((#thesisFieldInput('url',"URL","URL")
137 #thesisFieldInput('doi',"DOI","DOI"))))
138 #### END ID & URL
139 #end
140 #### END INLINE MODE
141 #end
142 #### END OBJECT or SHEET?
143 {{/velocity}}

Partita IVA: 01131710376 - Copyright © 2008-2021 APICe@DISI Research Group - PRIVACY