blob: c5bb1f1fef339f67004603ba0649a08d9ddf137f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
{% load gstudio_tags %}
{% load i18n %}
{% load tagging_tags comments i18n %}
{% if comment.posterior_nodes.count %}
<!--<ul style="display: none;">-->
<ul>
{% for child in comment.posterior_nodes.all %}
<!-- Flag1 outside {{flag}}-->
{% for each in child.authors.all %}
</br><h3><font size="5"><li>{{child.title}}</font></h3></br>
<font size="3"> {{child.content}}</font>
{% if idusr %}
<form method="post" action=".">{% csrf_token %}
<input type="hidden" class="reptext" name = "replytosection" id="sectionreply{{child.id}}" style="visibility:hidden;"/></br>
<input type="hidden" value="{{idusr}}" name="idusr">
<input type="hidden" value="{{child.id}}" id="hidden{{child.id}}" name="parentid">
<input type="button" class="editsubsec" name="{{child.content_org}}" id="{{child.id}}" value="Edit"/>
<input type="button" class="savesubsec1" name="{{each.id}}" id="save{{child.id}}" value="Save" onclick="subsecsave(document.getElementById('hidden{{child.id}}').value)"/>
<input type="button" id="subsec{{child.id}}" value="{{child.content_org}}" style="visibility:hidden;"/>
<input type="button" id="subsecid" value="{{child.id}}" style="visibility:hidden;"/>
<input type="hidden" class="editval" id="edit{{child.id}}" name="edit" value="empty"/>
<!-- <input type="checkbox" name="del_comment" value="delete_comment"> -->
<!--<input type="submit" value="Delete this Subsection">-->
<input type="submit" class="submitsubsec1" id="subsecsubmit{{child.id}}" value="Submit">
<form method="post" action="">{% csrf_token %}
<input type="hidden" name="docid" value={{child.id}}>
<input type="text" class="tagtext" value="" name="texttags" />
<input type="submit" class="tag" value="Add Tags" name="addtags" />
</form>
{% endif %}
<br>
<div class="tags">
<p class="gbobject-tags span-16 last">
<strong>{% trans "Tags" %}</strong> :
{% tags_for_object child as tag_list %}
{% for tag in tag_list %}
<a href="{% url objectapp_tag_detail tag %}"
title="Tag {{ tag }}" rel="tag">{{ tag }}</a>
{% empty %}
<span>{% trans "No tags" %}</span>
{% endfor %}
</p>
</div>
</form>
{% show_commentpage child idusr flag admin_id attribute%}
</li>
{% endfor %}
{% endfor %}
</ul>
{% endif %}
|