diff options
author | Arun yadav <arunkumar5587@gmail.com> | 2012-04-30 12:53:23 +0530 |
---|---|---|
committer | Arun yadav <arunkumar5587@gmail.com> | 2012-04-30 12:53:23 +0530 |
commit | 3a6f1bb43f49c071ea86944022e65b83fed0ad5d (patch) | |
tree | 7f4376dfdd00a8992cd4934e40ccb8023221b55a /gstudio/templates/gstudio/base.html | |
parent | 546cfb06395189d476c53c1f059013dc8d51a8b8 (diff) | |
download | gnowsys-3a6f1bb43f49c071ea86944022e65b83fed0ad5d.tar.gz |
urls,views and templates for history added.Models modified for the same
Diffstat (limited to 'gstudio/templates/gstudio/base.html')
-rw-r--r-- | gstudio/templates/gstudio/base.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/base.html b/gstudio/templates/gstudio/base.html index 94a72eb..8625e13 100644 --- a/gstudio/templates/gstudio/base.html +++ b/gstudio/templates/gstudio/base.html @@ -41,6 +41,33 @@ {% get_objecttypes %} </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 %} + <tr> + <td width="5%" > + <input type="radio" name="group1" value="{{ sid }}"><a href="{{ object.get_version_url }}{{ sid }}">{{ object.id }}{{ sid }}</a></input> + </td> + <td width="5%"> + <input type="radio" name="group2" value="{{ sid }}">{{ sid }}</input> + </td> + </tr> + <br> + {% endfor %} + </table> + <br> + <input type="submit" value="Compare" /> +</div> +<br> + <div class="authors"> <h3>{% trans "Authors" %}</h3> {% get_authors %} |