summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/base.html
diff options
context:
space:
mode:
authorArun yadav <arunkumar5587@gmail.com>2012-05-18 16:37:44 +0530
committerArun yadav <arunkumar5587@gmail.com>2012-05-18 16:37:44 +0530
commit431f589903ea3f03678a3c20acfd478ae4c15805 (patch)
treeedcfe264a8afaf6b2e8b1d21e7d0c9f08a050d79 /gstudio/templates/gstudio/base.html
parent4d4df37a9f858d5fc2dc342d06d30b87031000d8 (diff)
downloadgnowsys-431f589903ea3f03678a3c20acfd478ae4c15805.tar.gz
templates and views for history, with colour diff v1
Diffstat (limited to 'gstudio/templates/gstudio/base.html')
-rw-r--r--gstudio/templates/gstudio/base.html10
1 files changed, 2 insertions, 8 deletions
diff --git a/gstudio/templates/gstudio/base.html b/gstudio/templates/gstudio/base.html
index d0363f3..435a653 100644
--- a/gstudio/templates/gstudio/base.html
+++ b/gstudio/templates/gstudio/base.html
@@ -42,16 +42,10 @@
</div>
-->
<div class="History">
- <!-- <script type="text/javascript"> -->
- <!-- function go_to_loc(sid) -->
- <!-- { -->
- <!-- window.location.href = "{{ object.get_version_url }}"+sid -->
- <!-- } -->
-
- <!-- </script> -->
+
<h3>{% trans "Versions" %}</h3>
<table border="1" cellspacing="0">
- {% for sid in object.get_ssid reversed %}
+ {% for sid in object.ref.get_ssid %}
<a href="{{ object.get_version_url }}{{ sid }}">{{ object.title }}{{ object.id }}{{ sid }}</a><br>
{% endfor %}
</div>