diff options
Diffstat (limited to 'root/templates')
-rw-r--r-- | root/templates/edit.tt | 2 | ||||
-rw-r--r-- | root/templates/history.tt | 4 | ||||
-rw-r--r-- | root/templates/page.tt | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/root/templates/edit.tt b/root/templates/edit.tt index 4b5c811..273145e 100644 --- a/root/templates/edit.tt +++ b/root/templates/edit.tt @@ -1,5 +1,5 @@ [% WRAPPER 'wrappers/root.tt' %] -<p><a href="[% uri_for('action', 'page', 'page_name', page) %]">View</a></p> +<p><a href="[% uri_for('action', 'view', 'page_name', page) %]">View</a></p> <form method="POST" action="[% uri_for('action', 'edit', 'page_name', page) %]"> <textarea name="text" rows="10" cols="30">[% text %]</textarea> <input type="submit" value="Submit" /> diff --git a/root/templates/history.tt b/root/templates/history.tt index 1393b7e..d77358d 100644 --- a/root/templates/history.tt +++ b/root/templates/history.tt @@ -1,9 +1,9 @@ [% WRAPPER 'wrappers/root.tt' %] -<p><a href="[% uri_for('action', 'page', 'page_name', page) %]">View Current</a></p> +<p><a href="[% uri_for('action', 'view', 'page_name', page) %]">View Current</a></p> <ul> [% SET cur = head %] [% WHILE cur %] -<li><a href="[% uri_for('action', 'old_page', 'page_name', page, 'rev', cur.digest) %]">[% cur.author.id %] on [% cur.modification_date %]</a></li> +<li><a href="[% uri_for('action', 'view_old', 'page_name', page, 'rev', cur.digest) %]">[% cur.author.id %] on [% cur.modification_date %]</a></li> [% SET cur = cur.previous_revision %] [% END %] </ul> diff --git a/root/templates/page.tt b/root/templates/page.tt index 69d5213..58c2546 100644 --- a/root/templates/page.tt +++ b/root/templates/page.tt @@ -1,7 +1,7 @@ [% 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> +<p><a href="[% uri_for('action', 'view', 'page_name', page) %]">View Current</a></p> [% ELSE %] <p><a href="[% uri_for('action', 'edit', 'page_name', page) %]">Edit</a></p> [% END %] |