[Catalyst-commits] r6732 - in trunk/Catalyst-View-Email/t:
lib/TestApp/View/Email lib/TestApp/View/Email/Template
root/text_html root/text_plain
jshirley at dev.catalyst.perl.org
jshirley at dev.catalyst.perl.org
Thu Aug 23 23:31:03 GMT 2007
Author: jshirley
Date: 2007-08-23 23:31:02 +0100 (Thu, 23 Aug 2007)
New Revision: 6732
Added:
trunk/Catalyst-View-Email/t/lib/TestApp/View/Email/Template/
trunk/Catalyst-View-Email/t/lib/TestApp/View/Email/Template/AppConfig.pm
trunk/Catalyst-View-Email/t/root/text_html/test.m
trunk/Catalyst-View-Email/t/root/text_plain/test.m
Log:
Adding the missing files, oops.
Added: trunk/Catalyst-View-Email/t/lib/TestApp/View/Email/Template/AppConfig.pm
===================================================================
--- trunk/Catalyst-View-Email/t/lib/TestApp/View/Email/Template/AppConfig.pm (rev 0)
+++ trunk/Catalyst-View-Email/t/lib/TestApp/View/Email/Template/AppConfig.pm 2007-08-23 22:31:02 UTC (rev 6732)
@@ -0,0 +1,8 @@
+package # Hide from PAUSE
+ TestApp::View::Email::Template::AppConfig;
+
+use Email::Send::Test;
+
+use base 'Catalyst::View::Email::Template';
+
+1;
Added: trunk/Catalyst-View-Email/t/root/text_html/test.m
===================================================================
--- trunk/Catalyst-View-Email/t/root/text_html/test.m (rev 0)
+++ trunk/Catalyst-View-Email/t/root/text_html/test.m 2007-08-23 22:31:02 UTC (rev 6732)
@@ -0,0 +1,11 @@
+<%args>
+$time
+$email
+</%args>
+<html>
+ <body>
+ <h1>Look at my style</h1>
+ <p>I was sent to <em><% $email->{to} %></em> on <% $time %></p>
+ </body>
+</html>
+
Added: trunk/Catalyst-View-Email/t/root/text_plain/test.m
===================================================================
--- trunk/Catalyst-View-Email/t/root/text_plain/test.m (rev 0)
+++ trunk/Catalyst-View-Email/t/root/text_plain/test.m 2007-08-23 22:31:02 UTC (rev 6732)
@@ -0,0 +1,8 @@
+<%args>
+$time
+$email
+</%args>
+
+I am plain text. I have no style.
+
+I was sent to <% $email->{to} %> on <% $time %>
More information about the Catalyst-commits
mailing list