aboutsummaryrefslogtreecommitdiff
path: root/views/page.tpl
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-03-23 21:57:17 +0000
committerJuan J. Martinez <jjm@usebox.net>2024-03-23 21:57:17 +0000
commit5ccf2b593f5deebb219cc36f1a089c3238ba82fe (patch)
tree49e3555f72953432dc8dfe8b6555b894bca7ea5e /views/page.tpl
parente074abbcb7c193e0eb4ae990ad50ac371f01bce8 (diff)
downloadpersonal-wiki-pybottle-5ccf2b593f5deebb219cc36f1a089c3238ba82fe.tar.gz
personal-wiki-pybottle-5ccf2b593f5deebb219cc36f1a089c3238ba82fe.zip
Diffstat (limited to 'views/page.tpl')
-rw-r--r--views/page.tpl12
1 files changed, 6 insertions, 6 deletions
diff --git a/views/page.tpl b/views/page.tpl
index 67b73aa..c577886 100644
--- a/views/page.tpl
+++ b/views/page.tpl
@@ -5,17 +5,17 @@
% else:
{{!page.render()}}
<hr>
- <p>
+ <p>Last edited {{page.updated_at}}</p>
+ <nav>
% if not page.history:
<a href="/edit/{{page.name}}">Edit</a>
% end
- : <a href="/history/{{page.name}}">History</a>
+ <a href="/history/{{page.name}}">History</a>
% if page.history:
- : <a href="/restore/{{page.name}}/{{page.version}}">Restore</a>
- : <a href="/delete/{{page.name}}/{{page.version}}">Delete</a>
+ <a href="/restore/{{page.name}}/{{page.version}}">Restore</a>
+ <a href="/delete/{{page.name}}/{{page.version}}">Delete</a>
% end
- - Last updated: {{page.updated_at}}
- </p>
+ </nav>
% end
% include('footer.tpl')