]> Dogcows Code - chaz/chatty/blobdiff - root/tt/chat/view.tt
basic (non-AJAX) chat implemented
[chaz/chatty] / root / tt / chat / view.tt
index bfb459018436831f5d5806e28cdedb90432a7045..19fe0c0d4c49d2e0ad9770f95e9d1d9b6b1ae83a 100644 (file)
@@ -3,11 +3,7 @@
 $('form').validationEngine();
 [% END -%]
 <h1>Room: [% room.name %]</h1>
-[% IF messages.count == 0 -%]
 [% FOREACH msg IN messages -%]
 <p>[% msg.author.username %] ([% msg.posted %]): [% msg.content %]</p>
 [% END -%]
-[% ELSE -%]
-<p>No messages, yet.</p>
-[% END -%]
 [% form.render -%]
This page took 0.01877 seconds and 4 git commands to generate.