From: Bjørn Rustad Date: Wed, 21 Aug 2013 18:20:18 +0000 (+0200) Subject: Add ttt template X-Git-Url: http://git.rustad.me/?a=commitdiff_plain;h=d9a562a5a95c93946d6f1316671d85d5aa1ac5f2;p=duplo Add ttt template --- diff --git a/templates/stage/ttt.html.ep b/templates/stage/ttt.html.ep new file mode 100644 index 0000000..c30632f --- /dev/null +++ b/templates/stage/ttt.html.ep @@ -0,0 +1,68 @@ +% layout 'default'; +% title 'Stage'; + +

<%= $stage->{'stage_name'} %>

+
+
Race
+
+ <%= $stage->{'race_name'} %> +
+
Date and time
+
<%= $stage->{'date'} %> <%= $stage->{'start'} %> - <%= $stage->{'finish'} %>
+
Type
+
<%= $stage->{'type'} %>
+
Prologue
+ % if ($stage->{'prologue'}) { +
Yes
+ % } else { +
No
+ % } + +
+ +

Stage results

+ + + + + + + % for my $team (@{ $results }) { + + + + + + % } +
#NameTime
<%= $team->{'number'} %><%= $team->{'name'} %><%= $team->{'time'} %>
+ +% if ($is_admin) { +
+ + + + + + +
+% } + +% if ($is_admin) { +
+ + +
+% } +