Changes for page List of Fields

From version 29.1
edited by Andrea Omicini
on 01/07/2023 18:01
Change comment: There is no comment for this version
To version 34.1
edited by Andrea Omicini
on 01/07/2023 23:15
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -2,10 +2,13 @@
2 2  
3 3  * {{classPropHeader classspace="Theses" classprop="status"/}} — {{stringEngIta eng="current status of the thesis" ita="stato attuale della tesi"/}}
4 4  ** {{stringEngIta eng="chosen among the following possible values" ita="scelto tra i seguenti possibili valori"/}}
5 -*** ## available — ##{{stringEngIta eng="thesis proposal, available for student choice" ita="proposta di tesi, disponibile per la scelta da parte di studentesse e studenti"/}}
6 -*** ## ongoing — ##{{stringEngIta eng="thesis already assigned to a student, work in progress" ita="tesi già assegnata a uno studente o studentessa, lavoro in corso"/}}
7 -*** ## completed — ##{{stringEngIta eng="thesis already completed" ita="tesi già conclusa"/}}
8 -*** ## out-of-date — ##{{stringEngIta eng="thesis proposal no longer available, for any sort of reasons–no longer meaningful, timely, relevant, interesting…" ita="proposta di tesi non più disponibile, per qualsivoglia motivo–non più significativa, attuale, rilevante, interessante…"/}}
5 +{{velocity}}
6 +#foreach( $status in $xwiki.getDocument("Theses.Class").getxWikiClass().get("status").getListValues() )(% style='font-family:monospace'%)$services.localization.render("Theses.Class_status_$status")(%%) #if( !$foreach.last ) • #end #end
7 +{{/velocity}}
8 +*** ## {{velocity}}$services.localization.render("Theses.Class_status_available"){{/velocity}} — ##{{stringEngIta eng="thesis proposal, available for student choice" ita="proposta di tesi, disponibile per la scelta da parte di studentesse e studenti"/}}
9 +*** ## {{velocity}}$services.localization.render("Theses.Class_status_ongoing"){{/velocity}} — ##{{stringEngIta eng="thesis already assigned to a student, work in progress" ita="tesi già assegnata a uno studente o studentessa, lavoro in corso"/}}
10 +*** ## {{velocity}}$services.localization.render("Theses.Class_status_completed"){{/velocity}} — ##{{stringEngIta eng="thesis already completed" ita="tesi già conclusa"/}}
11 +*** ## {{velocity}}$services.localization.render("Theses.Class_status_out-of-date"){{/velocity}} — ##{{stringEngIta eng="thesis proposal no longer available, for any sort of reasons–no longer meaningful, timely, relevant, interesting…" ita="proposta di tesi non più disponibile, per qualsivoglia motivo–non più significativa, attuale, rilevante, interessante…"/}}
9 9  ** {{stringEngIta eng="status of thesis is a //required// value" ita="lo stato della tesi è //richiesto//"/}}
10 10  ** {{stringEngIta eng="only one value can be selected among the avaiable ones value" ita="si può selezionare solo un valore tra quelli disponibili"/}}
11 11  
... ... @@ -13,9 +13,13 @@
13 13  
14 14  * {{classPropHeader classspace="Theses" classprop="cycle"/}} — {{stringEngIta eng="the level of the thesis" ita="il livello della tesi"/}}
15 15  ** {{stringEngIta eng="chosen among the following possible values" ita="scelto tra i seguenti valori possibili"/}}
16 -*** ##L – ##{{stringEngIta eng="1st-cycle degree thesis" ita="tesi di laurea"/}}
17 -*** ##LM – ##{{stringEngIta eng="2nd cycle degree thesis" ita="tesi di laurea magistrale"/}}
18 -*** ##PHD – ##{{stringEngIta eng="PhD Thesis" ita="tesi di dottorato"/}}
19 +{{velocity}}
20 +#foreach( $cycle in $xwiki.getDocument("Theses.Class").getxWikiClass().get("cycle").getListValues() )(% style='font-family:monospace'%)$services.localization.render("Theses.Class_cycle_$cycle")(%%) #if( !$foreach.last ) • #end #end
21 +{{/velocity}}
22 +*** ##{{velocity}}$services.localization.render("Theses.Class_cycle_L"){{/velocity}} – ##{{stringEngIta eng="1st-cycle degree thesis" ita="tesi di laurea"/}}
23 +*** ##{{velocity}}$services.localization.render("Theses.Class_cycle_LM"){{/velocity}} – ##{{stringEngIta eng="2nd cycle degree thesis" ita="tesi di laurea magistrale"/}}
24 +*** ##{{velocity}}$services.localization.render("Theses.Class_cycle_PHD"){{/velocity}} – ##{{stringEngIta eng="PhD Thesis" ita="tesi di dottorato"/}}
25 +*** ##{{velocity}}$services.localization.render("Theses.Class_cycle_U"){{/velocity}} – ##{{stringEngIta eng="PhD Thesis" ita="tesi di dottorato"/}}
19 19  ** {{stringEngIta eng="just one level of thesis among the above options can be selected" ita="si può selezionare un solo livello di tesi tra le opzioni sopracitate"/}}
20 20  
21 21  >{{stringEngIta eng="Language" ita="Linguaggio"/}}