summaryrefslogtreecommitdiff
path: root/gstudio/templates/gstudio/display.html
diff options
context:
space:
mode:
authorArun yadav <arunkumar5587@gmail.com>2012-05-19 15:15:51 +0530
committerArun yadav <arunkumar5587@gmail.com>2012-05-19 15:15:51 +0530
commit244509e3eb4058a3aff505e3836d43d64b08fe7d (patch)
tree037e09c58dcc2add5a74d680106a76e48037883c /gstudio/templates/gstudio/display.html
parentf43e836715ca5ed0a2a01efd5e4ade3d9dea9df7 (diff)
downloadgnowsys-244509e3eb4058a3aff505e3836d43d64b08fe7d.tar.gz
Difference generation between versions done partly, list of differences generated.
Diffstat (limited to 'gstudio/templates/gstudio/display.html')
-rw-r--r--gstudio/templates/gstudio/display.html19
1 files changed, 10 insertions, 9 deletions
diff --git a/gstudio/templates/gstudio/display.html b/gstudio/templates/gstudio/display.html
index 67d9fff..184b58d 100644
--- a/gstudio/templates/gstudio/display.html
+++ b/gstudio/templates/gstudio/display.html
@@ -493,10 +493,9 @@ $(function() {
<h3>{% block content %}
{% block nodetype-content %}
<h2 class="nodetype-title">
- <a href="{{ nt.get_absolute_url }}" title="{{ nt.title }}" rel="bookmark">{{ ver_dict.title }}
+ <a href="{{ nt.get_absolute_url }}" title="{{ nt.title }}" rel="bookmark">{{ ver_dict.title }} {{ nt.id }}.{{ cnt }}
</a>
</h2>
- <br>
{% with nt.html_content|safe as object_content %}
<b>Name:<nbsp></b>{{ ver_dict.title }}<br/>
{% if ver_dict.altnames %}
@@ -547,19 +546,21 @@ $(function() {
}
</script>
- <form name="history" action="/nodetypes/display/showhistory/" >
+ <form name="history" action="/nodetypes/display/showhistory/{{ ssid }}" >
<table cellspacing="0" border="2">
- {% for sid in nt.get_ssid reversed %}
+ <tr>
+ <td> <input type="radio" name="group1" value="{{ ssid }}" checked >{{ nt.id }}.{{ cnt }}</input></td>
+ <td></td></tr>
+ {% for sid in nt.get_ssid %}
+ {% ifnotequal forloop.counter cnt %}
<tr>
<td>
- <input type="radio" name="group1" value="{{ sid }}" onclick="go_to_loc('{{ sid }}')" ><a href="{{ nt.get_version_url }}{{ sid }}">{{ nt.id }}.{{ sid }}</a></input>
</td>
<td>
- <input type="radio" id="{{ sid }}"name="group2" value="{{ sid }}" >{{ nt.id }}.{{ sid }}</input>
- </td>
- {% endfor %}
- </table>
+ <input type="radio" id="{{ sid }}"name="group2" value="{{ sid }}" >{{ nt.id }}.{{ forloop.counter }}</input>
+ </td>{% endifnotequal %}
+ {% endfor %}</tr></table>
<input type="submit" value="Compare" />
</form>