projects
/
gruntmaster-page.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
088a8d6
)
Add patch_templates to Account.pm
author
Marius Gavrilescu
<marius@ieval.ro>
Wed, 15 Jan 2014 21:14:23 +0000
(23:14 +0200)
committer
Marius Gavrilescu
<marius@ieval.ro>
Wed, 15 Jan 2014 21:14:23 +0000
(23:14 +0200)
lib/Gruntmaster/Page/Account.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Gruntmaster/Page/Account.pm
b/lib/Gruntmaster/Page/Account.pm
index 6842b121914304b8b5b0420de665d52804fd6f79..f757e9fe08b859b4853627bac9cf0a1889782ae5 100644
(file)
--- a/
lib/Gruntmaster/Page/Account.pm
+++ b/
lib/Gruntmaster/Page/Account.pm
@@
-10,7
+10,7
@@
our $VERSION = '0.001';
use constant TITLE => 'Account';
use HTML::Template::Compiled;
-use Gruntmaster::Page::Common qw/header footer/;
+use Gruntmaster::Page::Common qw/header footer
patch_templates
/;
my %templates = (
en => <<'HTML',
@@
-48,6
+48,8
@@
Confirm new password:<br>
HTML
);
+patch_templates %templates, 'account';
+
$templates{$_} = header($_, TITLE) . $templates{$_} for keys %templates;
$templates{$_} .= footer $_ for keys %templates;
This page took
0.010099 seconds
and
4
git commands to generate.