diff options
| author | Justin J. Novack <jnovack@gmail.com> | 2012-10-07 00:20:35 -0400 |
|---|---|---|
| committer | Christian Weiske <cweiske@cweiske.de> | 2012-10-24 15:00:36 +0200 |
| commit | 9cbf7fdfaa302181f988bce8d594ed7fee67c837 (patch) | |
| tree | 2f6018a575ed42058c249902e3a128827677756b | |
| parent | 5cc278845f05ba9219281e811784d8c30e32174c (diff) | |
| download | phorkie-9cbf7fdfaa302181f988bce8d594ed7fee67c837.tar.gz phorkie-9cbf7fdfaa302181f988bce8d594ed7fee67c837.zip | |
Add version history sidebar to edit page
| -rw-r--r-- | data/templates/edit.htm | 4 | ||||
| -rw-r--r-- | www/edit.php | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/data/templates/edit.htm b/data/templates/edit.htm index 1422bbc..521a7c2 100644 --- a/data/templates/edit.htm +++ b/data/templates/edit.htm @@ -40,3 +40,7 @@ $(document).ready(function() { }); </script> {% endblock %} + +{% block sidebar %} + {% include 'display-sidebar-history.htm' %} +{% endblock %} diff --git a/www/edit.php b/www/edit.php index 4de3d47..4199c34 100644 --- a/www/edit.php +++ b/www/edit.php @@ -18,6 +18,7 @@ render( 'edit', array( 'repo' => $repo, + 'dh' => new \Date_HumanDiff(), 'htmlhelper' => new HtmlHelper(), ) ); |
