diff options
Diffstat (limited to 'root/templates/page.tt')
-rw-r--r-- | root/templates/page.tt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/root/templates/page.tt b/root/templates/page.tt index 6e9ec31..754d4b7 100644 --- a/root/templates/page.tt +++ b/root/templates/page.tt @@ -1,7 +1,12 @@ <html> <body> <h1>[% page %]</h1> +[% IF historical %] +<p>This is a historical view of this page</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> [% text %] </p> |