From: bobtfish Date: Mon, 2 Nov 2009 22:27:48 +0000 (+0000) Subject: Move all the templates back into the 'root' directory, otherwise make install will... X-Git-Tag: 0.000000_01~100^2~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=0f40d2c0e064252c2ec2e3e87f05a5cdd928b0ba;p=catagits%2FGitalist.git Move all the templates back into the 'root' directory, otherwise make install will hideously fail to do the right thing --- diff --git a/lib/Gitalist/View/Default.pm b/lib/Gitalist/View/Default.pm index 6d8c404..278f419 100644 --- a/lib/Gitalist/View/Default.pm +++ b/lib/Gitalist/View/Default.pm @@ -1,6 +1,5 @@ package Gitalist::View::Default; use Moose; -use Gitalist; # ->path_to use namespace::autoclean; extends 'Catalyst::View::TT'; @@ -28,8 +27,6 @@ it under the same terms as Perl itself. __PACKAGE__->config( TEMPLATE_EXTENSION => '.tt2', - # Set the location for TT files - INCLUDE_PATH => [ Gitalist->path_to( 'templates' ) ], WRAPPER => 'default.tt2', ); diff --git a/templates/_diff.tt2 b/root/_diff.tt2 similarity index 100% rename from templates/_diff.tt2 rename to root/_diff.tt2 diff --git a/templates/_diff_tree.tt2 b/root/_diff_tree.tt2 similarity index 100% rename from templates/_diff_tree.tt2 rename to root/_diff_tree.tt2 diff --git a/templates/_heads.tt2 b/root/_heads.tt2 similarity index 100% rename from templates/_heads.tt2 rename to root/_heads.tt2 diff --git a/templates/_log_pager.tt2 b/root/_log_pager.tt2 similarity index 100% rename from templates/_log_pager.tt2 rename to root/_log_pager.tt2 diff --git a/templates/_shortlog.tt2 b/root/_shortlog.tt2 similarity index 100% rename from templates/_shortlog.tt2 rename to root/_shortlog.tt2 diff --git a/templates/_tree.tt2 b/root/_tree.tt2 similarity index 100% rename from templates/_tree.tt2 rename to root/_tree.tt2 diff --git a/templates/blob.tt2 b/root/blob.tt2 similarity index 100% rename from templates/blob.tt2 rename to root/blob.tt2 diff --git a/templates/blobdiff.tt2 b/root/blobdiff.tt2 similarity index 100% rename from templates/blobdiff.tt2 rename to root/blobdiff.tt2 diff --git a/templates/commit.tt2 b/root/commit.tt2 similarity index 100% rename from templates/commit.tt2 rename to root/commit.tt2 diff --git a/templates/commitdiff.tt2 b/root/commitdiff.tt2 similarity index 100% rename from templates/commitdiff.tt2 rename to root/commitdiff.tt2 diff --git a/templates/default.tt2 b/root/default.tt2 similarity index 100% rename from templates/default.tt2 rename to root/default.tt2 diff --git a/templates/gitweb.tt2 b/root/gitweb.tt2 similarity index 100% rename from templates/gitweb.tt2 rename to root/gitweb.tt2 diff --git a/templates/heads.tt2 b/root/heads.tt2 similarity index 100% rename from templates/heads.tt2 rename to root/heads.tt2 diff --git a/templates/index.tt2 b/root/index.tt2 similarity index 100% rename from templates/index.tt2 rename to root/index.tt2 diff --git a/templates/log.tt2 b/root/log.tt2 similarity index 100% rename from templates/log.tt2 rename to root/log.tt2 diff --git a/templates/nav/actions.tt2 b/root/nav/actions.tt2 similarity index 100% rename from templates/nav/actions.tt2 rename to root/nav/actions.tt2 diff --git a/templates/nav/search.tt2 b/root/nav/search.tt2 similarity index 100% rename from templates/nav/search.tt2 rename to root/nav/search.tt2 diff --git a/templates/reflog.tt2 b/root/reflog.tt2 similarity index 100% rename from templates/reflog.tt2 rename to root/reflog.tt2 diff --git a/templates/search.tt2 b/root/search.tt2 similarity index 100% rename from templates/search.tt2 rename to root/search.tt2 diff --git a/templates/shortlog.tt2 b/root/shortlog.tt2 similarity index 100% rename from templates/shortlog.tt2 rename to root/shortlog.tt2 diff --git a/templates/summary.tt2 b/root/summary.tt2 similarity index 100% rename from templates/summary.tt2 rename to root/summary.tt2 diff --git a/templates/tree.tt2 b/root/tree.tt2 similarity index 100% rename from templates/tree.tt2 rename to root/tree.tt2