summaryrefslogtreecommitdiff
path: root/GroLUG/root/src
diff options
context:
space:
mode:
Diffstat (limited to 'GroLUG/root/src')
-rw-r--r--GroLUG/root/src/lista-iscritti.tt24
-rw-r--r--GroLUG/root/src/message.tt216
-rw-r--r--GroLUG/root/src/scheda-iscritto.tt26
-rw-r--r--GroLUG/root/src/welcome.tt29
4 files changed, 5 insertions, 30 deletions
diff --git a/GroLUG/root/src/lista-iscritti.tt2 b/GroLUG/root/src/lista-iscritti.tt2
index 9618520..27b93de 100644
--- a/GroLUG/root/src/lista-iscritti.tt2
+++ b/GroLUG/root/src/lista-iscritti.tt2
@@ -3,8 +3,8 @@
<ol>
[% WHILE (iscr = iscritti.next()) %]
<li>
- <span class="nome iscritto"><a href="[% Catalyst.uri_for('scheda',iscr.id) %]">[% iscr.nome %]</a></span>
- <span class="scade iscritto">scade: [% iscr.scadenza %]</span>
+ <span class="nome iscritto"><a href="[% Catalyst.uri_for('scheda',iscr.id) %]">[% iscr.nome | html %]</a></span>
+ <span class="scade iscritto">scade: [% Catalyst.strdate(iscr.scadenza) %]</span>
<span class="rinnova iscritto"><a href="[% Catalyst.uri_for('rinnova',iscr.id) %]">rinnova</a></span>
</li>
[% END %]
diff --git a/GroLUG/root/src/message.tt2 b/GroLUG/root/src/message.tt2
deleted file mode 100644
index e72a468..0000000
--- a/GroLUG/root/src/message.tt2
+++ /dev/null
@@ -1,16 +0,0 @@
-[% META title = 'Catalyst/TT View!' %]
-<p>
- Yay! You're looking at a page generated by the Catalyst::View::TT
- plugin module.
-</p>
-<p>
- We have a message for you: <span class="message">[% message %]</span>.
-</p>
-<p>
- Why not try updating the message? Go on, it's really exciting, honest!
-</p>
-<form action="[% site.url.message %]"
- method="POST" enctype="application/x-www-form-urlencoded">
- <input type="text" name="message" value="[% message %]" />
- <input type="submit" name="submit" value=" Update Message "/>
-</form>
diff --git a/GroLUG/root/src/scheda-iscritto.tt2 b/GroLUG/root/src/scheda-iscritto.tt2
index 835b22a..9dab32e 100644
--- a/GroLUG/root/src/scheda-iscritto.tt2
+++ b/GroLUG/root/src/scheda-iscritto.tt2
@@ -1,4 +1,4 @@
-<h1>Scheda di [% iscritto.nome %]</h1>
+<h1>Scheda di [% iscritto.nome | html %]</h1>
<p>Operazioni:</p>
<ul>
<li><a href="[% Catalyst.uri_for('edit',iscritto.id) %]">Edit</a></li>
@@ -11,10 +11,10 @@
</ul>
<dl>
<dt>Indirizzo:</dt><dd>[% iscritto.email %]</dd>
-<dt>Note:</dt><dd>[% iscritto.note %]</dd>
+<dt>Note:</dt><dd>[% iscritto.note | html %]</dd>
<dt>Pagamenti:</dt><dd><ol>
[%- FOREACH pag IN iscritto.pagamenti %]
-<li>[% pag.prezzo %] il [% pag.data_pagamento %] <a href="[% Catalyst.uri_for('pagamento',pag.id) %]">edit</a> <a href="[% Catalyst.uri_for('cancella_pag',pag.id) %]">elimina</a></li>
+<li>[% pag.prezzo %] il [% Catalyst.strdate(pag.data_pagamento) %] <a href="[% Catalyst.uri_for('pagamento',pag.id) %]">edit</a> <a href="[% Catalyst.uri_for('cancella_pag',pag.id) %]">elimina</a></li>
[% END -%]
</ol></dd>
</dl>
diff --git a/GroLUG/root/src/welcome.tt2 b/GroLUG/root/src/welcome.tt2
deleted file mode 100644
index 26f3d89..0000000
--- a/GroLUG/root/src/welcome.tt2
+++ /dev/null
@@ -1,9 +0,0 @@
-[% META title = 'Catalyst/TT View!' %]
-<p>
- Yay! You're looking at a page generated by the Catalyst::View::TT
- plugin module.
-</p>
-<p>
- This is the welcome page. Why not try the equally-exciting
- <a href="[% site.url.message %]">Message Page</a>?
-</p>