X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fchatty;a=blobdiff_plain;f=root%2Ftt%2Fwrapper.tt;h=87d510628de4799a1f458950054dd445a607bf23;hp=cfcaf5bd5319af617fae4832b72337a7eca43c78;hb=99657a2f36e38272de6820fce26839109bf05747;hpb=6d0804a199f1cae7be898b771829c0dfbf2de7f1 diff --git a/root/tt/wrapper.tt b/root/tt/wrapper.tt index cfcaf5b..87d5106 100644 --- a/root/tt/wrapper.tt +++ b/root/tt/wrapper.tt @@ -4,15 +4,63 @@ - + + Chatty - [% template.title or 'Toy chat application written in Perl/Catalyst' %]
+[% IF error -%] +
+ [% error %] +
+[% END -%] +[% IF message -%] +
+ [% message %] +
+[% END -%]
-[% content %] +
+[% IF c.user_exists -%] + Logged in as [% c.user.obj.username %]. Log Out +[% END -%] +
+ + Chat! + +[% content -%] +
- + + + +