aboutsummaryrefslogtreecommitdiff
path: root/views/history.tpl
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-03-23 19:01:29 +0000
committerJuan J. Martinez <jjm@usebox.net>2024-03-23 19:10:43 +0000
commit0a5471217b9f562b92f32802de4260390f639880 (patch)
treedaf0655fe2753351d7fac9010e3b50c499194bb2 /views/history.tpl
downloadpersonal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.tar.gz
personal-wiki-pybottle-0a5471217b9f562b92f32802de4260390f639880.zip
Initial import
Diffstat (limited to 'views/history.tpl')
-rw-r--r--views/history.tpl17
1 files changed, 17 insertions, 0 deletions
diff --git a/views/history.tpl b/views/history.tpl
new file mode 100644
index 0000000..5e0d42a
--- /dev/null
+++ b/views/history.tpl
@@ -0,0 +1,17 @@
+% include('header.tpl', page=page)
+
+ <h2>History</h2>
+ <ul>
+ % for h in history:
+ <li><a href="/history/{{page.name}}/{{h.version}}">View</a> -
+ % if h.changelog:
+ <em>{{h.changelog}}</em>
+ % else:
+ (no changelog)
+ % end
+ <br>Updated on {{h.updated_at}}
+ </li>
+ % end
+ </ul>
+
+% include('footer.tpl')