diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-03-23 21:57:17 +0000 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-03-23 21:57:17 +0000 |
commit | 5ccf2b593f5deebb219cc36f1a089c3238ba82fe (patch) | |
tree | 49e3555f72953432dc8dfe8b6555b894bca7ea5e /views | |
parent | e074abbcb7c193e0eb4ae990ad50ac371f01bce8 (diff) | |
download | personal-wiki-pybottle-main.tar.gz personal-wiki-pybottle-main.zip |
Diffstat (limited to 'views')
-rw-r--r-- | views/history.tpl | 2 | ||||
-rw-r--r-- | views/page.tpl | 12 |
2 files changed, 7 insertions, 7 deletions
diff --git a/views/history.tpl b/views/history.tpl index 5e0d42a..2fb2019 100644 --- a/views/history.tpl +++ b/views/history.tpl @@ -9,7 +9,7 @@ % else: (no changelog) % end - <br>Updated on {{h.updated_at}} + <br>Edited on {{h.updated_at}} </li> % end </ul> 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') |