From 9cbf7fdfaa302181f988bce8d594ed7fee67c837 Mon Sep 17 00:00:00 2001 From: "Justin J. Novack" Date: Sun, 7 Oct 2012 00:20:35 -0400 Subject: Add version history sidebar to edit page --- data/templates/edit.htm | 4 ++++ www/edit.php | 1 + 2 files changed, 5 insertions(+) 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() { }); {% 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(), ) ); -- cgit v1.2.3