aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_history.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-05-30 20:59:54 -0400
committerAndrew Manning <tamanning@zoho.com>2016-05-30 20:59:54 -0400
commit8d284bab474c7e669ae9a639bdb22f7b28b95cc3 (patch)
treec08d8569705cea43445cf8c65f8d8ca57beeff5f /view/tpl/wiki_page_history.tpl
parent82ec40dd80c131dbf0335406fb1a6e4b5b127a18 (diff)
downloadvolse-hubzilla-8d284bab474c7e669ae9a639bdb22f7b28b95cc3.tar.gz
volse-hubzilla-8d284bab474c7e669ae9a639bdb22f7b28b95cc3.tar.bz2
volse-hubzilla-8d284bab474c7e669ae9a639bdb22f7b28b95cc3.zip
Created page history widget to dynamically fetch and display the git commit history for wiki pages.
Diffstat (limited to 'view/tpl/wiki_page_history.tpl')
-rw-r--r--view/tpl/wiki_page_history.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/wiki_page_history.tpl b/view/tpl/wiki_page_history.tpl
new file mode 100644
index 000000000..7efc4aa96
--- /dev/null
+++ b/view/tpl/wiki_page_history.tpl
@@ -0,0 +1,11 @@
+<table class="table-striped table-responsive table-hover" style="width: 100%;">
+ {{foreach $pageHistory as $commit}}
+ <tr><td>
+ <table>
+ <tr><td>Date</td><td>{{$commit.date}}</td></tr>
+ <tr><td>Name</td><td>{{$commit.name}}</td></tr>
+ <tr><td>Message</td><td>{{$commit.title}}</td></tr>
+ </table>
+ </td></tr>
+ {{/foreach}}
+</table> \ No newline at end of file