From 4875037269702e9e4195d01e2711b489c40ad0e9 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 18 Feb 2011 00:12:12 -0600 Subject: allow viewing page history --- root/templates/history.tt | 16 ++++++++++++++++ root/templates/page.tt | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 root/templates/history.tt (limited to 'root') diff --git a/root/templates/history.tt b/root/templates/history.tt new file mode 100644 index 0000000..a50839b --- /dev/null +++ b/root/templates/history.tt @@ -0,0 +1,16 @@ + + +

[% page %]

+

View

+ +

+Last modified by [% author.id %] on [% modified %] +

+ + 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 @@

[% page %]

+[% IF historical %] +

This is a historical view of this page

+[% ELSE %]

Edit

+[% END %] +

History

[% text %]

-- cgit v1.2.3-54-g00ecf