Difference between revisions of "Template:Richieste LOD"

From Project Management
Jump to: navigation, search
Line 22: Line 22:
 
{{#ifexpr: {{#time: Y-m-d | now }} = {{#time: Y-m-d | data_inizio -7 days }} |now minore|now maggiore}}
 
{{#ifexpr: {{#time: Y-m-d | now }} = {{#time: Y-m-d | data_inizio -7 days }} |now minore|now maggiore}}
  
    {{#ifexpr: {{#time: Y-m-d | now}} < {{#time: Y-m-d | {{{data_inizio}}}-7 days}}|{{#ifeq:{{{utente|}}}|Nessuno|*'''[[Speciale:EditData/Richieste LOD singolo/{{PAGENAME}}|Prenota questa data individualmente]]'''
+
{{#ifeq:{{{utente|}}}|Nessuno|*'''[[Speciale:EditData/Richieste LOD singolo/{{PAGENAME}}|Prenota questa data individualmente]]'''
*'''[[Speciale:EditData/Richieste LOD gruppo/{{PAGENAME}}|Prenota questa data per il tuo gruppo]]'''|'''Questa data è stata prenotata da {{{utente|}}} {{#ifeq: {{{gruppo|}}}|Nessuno||per il gruppo {{{gruppo|}}} }}  il {{{data_prenotazione|}}}.'''}} |Non e' possibile prenotare date Learning on Demand che siano svolte prima di una settimana della data odierna.}}
+
*'''[[Speciale:EditData/Richieste LOD gruppo/{{PAGENAME}}|Prenota questa data per il tuo gruppo]]'''|'''Questa data è stata prenotata da {{{utente|}}} {{#ifeq: {{{gruppo|}}}|Nessuno||per il gruppo {{{gruppo|}}} }}  il {{{data_prenotazione|}}}.'''}}
 
<div style="display:none;">
 
<div style="display:none;">
 
{|
 
{|

Revision as of 12:14, 11 January 2011

This is the 'Richieste LOD' template. It should be called in the following format:

{{Richieste LOD
|data_inizio=
|data_fine=
|data_prenotazione=
|utente=
|gruppo=
|temi=
}}