From: Charles McGarvey Date: Wed, 4 Jan 2012 02:14:05 +0000 (-0700) Subject: some user interface tweaks X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=commitdiff_plain;h=99657a2f36e38272de6820fce26839109bf05747 some user interface tweaks --- 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 -%]