Changes for page New Course
From version 20.1
edited by Andrea Omicini
on 22/07/2022 14:05
on 22/07/2022 14:05
Change comment:
There is no comment for this version
To version 14.1
edited by Andrea Omicini
on 22/07/2022 01:15
on 22/07/2022 01:15
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,6 @@ 1 1 = {{italiano}}Nuovo{{/italiano}}{{english}}New{{/english}} = 2 2 3 -{{include reference=" Courses.Environment" excludeFirstHeading="true"/}}{{velocity}}3 +{{include reference="Events.Environment" excludeFirstHeading="true"/}}{{velocity}} 4 4 #if( $isGuest ) 5 5 {{warning}}{{stringEngIta ita="Siamo spiacenti, ma l'inserimento di nuovi corsi non è operazione disponibile a visitatori esterni" eng="Sorry, the insertion of new courses is not an operation available to external viewers"/}}{{/warning}} 6 6 #stop ... ... @@ -15,9 +15,12 @@ 15 15 #define( $newCourseIt )Nuovo corso#end 16 16 #define( $newCourseEn )New Course#end 17 17 #### END utility variables 18 -{{/velocity}}{{include reference="Main.Class .New" excludeFirstHeading="true"/}}18 +{{/velocity}}{{include reference="Main.ClassNew" excludeFirstHeading="true"/}} 19 19 20 20 {{velocity}} 21 +#if( $xcontext.language=="it" ) 22 +== Come inserire un nuovo corso in {{apice/}} == 23 + 21 21 Per aggiungere un nuovo corso in italiano allo spazio {{apice/}}, si deve innanzitutto scegliere un nome per il documento, scriverlo nel campo di testo sopra (“$insertTextIt”), quindi premere il pulsante a sinistra del campo (“$insertButtonIt”). Questo genera un nuovo documento {{apice/}} nello spazio ”Courses” che contiene una nuova presentazione in italiano, con il nome prescelto, e pronto a essere riempito con i dati relativi al corso. 22 22 23 23 {{warning}}Per inserire un nuovo corso in inglese, cliccare invece il link sotto il campo{{/warning}} ... ... @@ -29,7 +29,9 @@ 29 29 * il nome dovrebbe seguire la convenzione di nome delle Java Class—//camel case//, con iniziali maiuscole 30 30 31 31 Per esempio, quindi, il documento per il corso di “Sistemi Multi-Agente LS” per l'A.A. 2007-2008 dovrebbe avere il nome “SmaLs0708”. 32 -{{/italiano}}{{english}} 35 +#else 36 +== How to insert a new course in {{apice/}} == 37 + 33 33 In order to add a new course in English to the {{apice/}} space, you should first choose a name for your document, write it in the text field above (“$insertTextEn”), then click the left-side button (“$insertButtonEn”). This generates a new document in the “Courses” space, named after the name chosen, and ready to be filled with the course's information. 34 34 35 35 {{warning}}In order to insert a new course in Italian, instead, click on the link below the text field{{/warning}} ... ... @@ -41,5 +41,5 @@ 41 41 * it should follow the Java Class naming convention—CamelCase, UpperCase Initials 42 42 43 43 So for instance the document for the course “Sistemi Multi-Agente LS” of the A.Y. 2007-2008 should be named “SmaLs0708”. 44 - {{/english}}49 +#end 45 45 {{velocity}}