diff options
author | Jesse Luehrs <doy@tozt.net> | 2011-02-18 09:33:09 -0600 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2011-02-18 11:52:18 -0600 |
commit | 1ffb8c7688a3ecc947c81bccbd406f277c9d853a (patch) | |
tree | 985ec17b783bfbd10fa1557bac9b5ff8797a09fa /root/templates/page.tt | |
parent | 0d5a97a87d1e42626f8e21b36ef327afd556865c (diff) | |
download | narwhal-1ffb8c7688a3ecc947c81bccbd406f277c9d853a.tar.gz narwhal-1ffb8c7688a3ecc947c81bccbd406f277c9d853a.zip |
clean up the templates a bit
Diffstat (limited to 'root/templates/page.tt')
-rw-r--r-- | root/templates/page.tt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/root/templates/page.tt b/root/templates/page.tt index 754d4b7..69d5213 100644 --- a/root/templates/page.tt +++ b/root/templates/page.tt @@ -1,17 +1,15 @@ -<html> -<body> -<h1>[% page %]</h1> +[% WRAPPER 'wrappers/root.tt' %] [% IF historical %] <p>This is a historical view of this page</p> +<p><a href="[% uri_for('action', 'page', 'page_name', page) %]">View Current</a></p> [% ELSE %] <p><a href="[% uri_for('action', 'edit', 'page_name', page) %]">Edit</a></p> [% END %] -<p><a href="[% uri_for('action', 'history', 'page_name', page) %]">History</a></p> +<p><a href="[% uri_for('action', 'history', 'page_name', page) %]">Page History</a></p> <p> [% text %] </p> <p style="font-size: small"> Last modified by [% author.id %] on [% modified %] </p> -</body> -</html> +[% END %] |