aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/wiki_page_history.tpl
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-06-05 20:30:45 -0400
committerAndrew Manning <tamanning@zoho.com>2016-06-05 20:30:45 -0400
commitb8b50bdb5abb5403f3f8a8662b7db0703b39073b (patch)
tree66e2215423b28adddbfef7e8dfbde483a825693b /view/tpl/wiki_page_history.tpl
parent08a9553ccc0fd883a77fbf36be5941ba119deda1 (diff)
downloadvolse-hubzilla-b8b50bdb5abb5403f3f8a8662b7db0703b39073b.tar.gz
volse-hubzilla-b8b50bdb5abb5403f3f8a8662b7db0703b39073b.tar.bz2
volse-hubzilla-b8b50bdb5abb5403f3f8a8662b7db0703b39073b.zip
Custom commit message available. Improved history viewer and feedback from revert buttons.
Diffstat (limited to 'view/tpl/wiki_page_history.tpl')
-rw-r--r--view/tpl/wiki_page_history.tpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/wiki_page_history.tpl b/view/tpl/wiki_page_history.tpl
index b124d4cb5..6ce3ce204 100644
--- a/view/tpl/wiki_page_history.tpl
+++ b/view/tpl/wiki_page_history.tpl
@@ -1,10 +1,10 @@
<table class="table-striped table-responsive table-hover" style="width: 100%;">
{{foreach $pageHistory as $commit}}
<tr><td>
- <table id="rev-{{$commit.hash}}" onclick="$('#details-{{$commit.hash}}').show()">
- <tr><td>Date</td><td>{{$commit.date}}</td><td rowspan="3"">
- <button id="revert-{{$commit.hash}}" class="btn btn-warning btn-xs" onclick="wiki_revert_page('{{$commit.hash}}')">Revert</button></td></tr>
- <tr><td>Name</td><td>{{$commit.name}}</td></tr>
+ <table id="rev-{{$commit.hash}}" onclick="$('#details-{{$commit.hash}}').show()" width="100%">
+ <tr><td width="10%">Date</td><td width="70%">{{$commit.date}}</td><td rowspan="3" width="20%" align="right">
+ <button id="revert-{{$commit.hash}}" class="btn btn-danger btn-xs" onclick="wiki_revert_page('{{$commit.hash}}')">Revert</button></td></tr>
+ <tr><td>Name</td><td>{{$commit.name}} &lt;{{$commit.email}}&gt;</td></tr>
<tr><td>Message</td><td>{{$commit.title}}</td></tr>
</table>
</td></tr>