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