summaryrefslogtreecommitdiffstats
path: root/root
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2011-02-18 10:16:53 -0600
committerJesse Luehrs <doy@tozt.net>2011-02-18 11:52:22 -0600
commit1d7c03c912e1064edd8dfb293210a217aba48dd6 (patch)
tree71e8ebb97cef1dd7ddbb9a4a65bf0f41e2406aaf /root
parent62a18e4d0e05f5d8ef18a7c25456213060e39521 (diff)
downloadnarwhal-1d7c03c912e1064edd8dfb293210a217aba48dd6.tar.gz
narwhal-1d7c03c912e1064edd8dfb293210a217aba48dd6.zip
use 'view' instead of 'page' for the action name
Diffstat (limited to 'root')
-rw-r--r--root/templates/edit.tt2
-rw-r--r--root/templates/history.tt4
-rw-r--r--root/templates/page.tt2
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 %]