[Catalyst-commits] r10559 -
trunk/Catalyst-View-TT/lib/Catalyst/Helper/View
dandv at dev.catalyst.perl.org
dandv at dev.catalyst.perl.org
Tue Jun 16 23:16:49 GMT 2009
Author: dandv
Date: 2009-06-16 23:16:49 +0000 (Tue, 16 Jun 2009)
New Revision: 10559
Modified:
trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TT.pm
trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TTSite.pm
Log:
Fixed the run-on sentence in License; trailing whitespace removal in Helper
Modified: trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TT.pm
===================================================================
--- trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TT.pm 2009-06-16 23:12:42 UTC (rev 10558)
+++ trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TT.pm 2009-06-16 23:16:49 UTC (rev 10559)
@@ -63,7 +63,7 @@
=head1 DESCRIPTION
-TT View for [% app %].
+TT View for [% app %].
=head1 SEE ALSO
@@ -75,7 +75,7 @@
=head1 LICENSE
-This library is free software, you can redistribute it and/or modify
+This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
Modified: trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TTSite.pm
===================================================================
--- trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TTSite.pm 2009-06-16 23:12:42 UTC (rev 10558)
+++ trunk/Catalyst-View-TT/lib/Catalyst/Helper/View/TTSite.pm 2009-06-16 23:16:49 UTC (rev 10559)
@@ -58,12 +58,12 @@
$c->stash->{template} = 'message.tt2';
$c->stash->{message} ||= $c->req->param('message') || 'No message';
}
-
+
sub default : Private {
my ( $self, $c ) = @_;
$c->stash->{template} = 'welcome.tt2';
}
-
+
sub end : Private {
my ( $self, $c ) = @_;
$c->forward( $c->view('TT') );
@@ -84,7 +84,7 @@
The view module that the helper creates is automatically configured
to locate these templates.
-=head2 Default Rendering
+=head2 Default Rendering
To render a template the following process is applied:
@@ -143,7 +143,7 @@
=head1 LICENSE
-This library is free software . You can redistribute it and/or modify
+This library is free software. You can redistribute it and/or modify
it under the same terms as perl itself.
=cut
@@ -187,7 +187,7 @@
=head1 LICENSE
-This library is free software, you can redistribute it and/or modify
+This library is free software. You can redistribute it and/or modify
it under the same terms as Perl itself.
=cut
@@ -202,7 +202,7 @@
[% # config/main
#
# This is the main configuration template which is processed before
- # any other page, by virtue of it being defined as a PRE_PROCESS
+ # any other page, by virtue of it being defined as a PRE_PROCESS
# template. This is the place to define any extra template variables,
# macros, load plugins, and perform any other template setup.
@@ -217,12 +217,12 @@
copyright => '[* year *] Your Name Here',
};
- # load up any other configuration items
+ # load up any other configuration items
PROCESS config/col
+ config/url;
# set defaults for variables, etc.
- DEFAULT
+ DEFAULT
message = 'There is no message';
-%]
@@ -310,7 +310,7 @@
plugin module.
</p>
<p>
- This is the welcome page. Why not try the equally-exciting
+ This is the welcome page. Why not try the equally-exciting
<a href="[% site.url.message %]">Message Page</a>?
</p>
__message.tt2__
@@ -335,8 +335,8 @@
[% TAGS star -%]
[% META title = 'Catalyst/TT Error' %]
<p>
- An error has occurred. We're terribly sorry about that, but it's
- one of those things that happens from time to time. Let's just
+ An error has occurred. We're terribly sorry about that, but it's
+ one of those things that happens from time to time. Let's just
hope the developers test everything properly before release...
</p>
<p>
@@ -349,7 +349,7 @@
height: 100%;
}
-body {
+body {
background-color: [% site.col.page %];
color: [% site.col.text %];
margin: 0px;
More information about the Catalyst-commits
mailing list