From 99657a2f36e38272de6820fce26839109bf05747 Mon Sep 17 00:00:00 2001 From: Charles McGarvey Date: Tue, 3 Jan 2012 19:14:05 -0700 Subject: [PATCH] some user interface tweaks --- root/tt/chat/list.tt | 4 ++++ root/tt/wrapper.tt | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/root/tt/chat/list.tt b/root/tt/chat/list.tt index 1e30b65..579abdb 100644 --- a/root/tt/chat/list.tt +++ b/root/tt/chat/list.tt @@ -3,6 +3,7 @@ $('form').validationEngine(); [% END -%]

Join a Chat Room

+[% IF rooms.size -%] [% FOREACH room IN rooms -%] @@ -15,5 +16,8 @@ $('form').validationEngine(); [% END -%]
+[% ELSE -%] +

There are no rooms, yet. Be the first to create one!

+[% END -%]

Create Your Own Room

[% form.render %] diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index f4d497f..87d5106 100644 --- a/root/tt/wrapper.tt +++ b/root/tt/wrapper.tt @@ -23,10 +23,12 @@
[% IF c.user_exists -%] - Log Out + Logged in as [% c.user.obj.username %]. Log Out [% END -%]
- Chat! + + Chat! + [% content -%]