diff options
author | anujag <anujag@anujag-D630.(none)> | 2012-12-14 14:24:09 +0530 |
---|---|---|
committer | anujag <anujag@anujag-D630.(none)> | 2012-12-14 14:24:09 +0530 |
commit | f5aa055c011c0cf60b7722da2a3d6192a233122d (patch) | |
tree | fb253681e989a1efc46999e198b2c5f9797758b3 /gstudio/templates/gstudio/repriorpost.html | |
parent | 3ba6b57c6d605262ef9e1f7bba8d62ea20aacc36 (diff) | |
download | gnowsys-f5aa055c011c0cf60b7722da2a3d6192a233122d.tar.gz |
Updated code with recent changes
Diffstat (limited to 'gstudio/templates/gstudio/repriorpost.html')
-rw-r--r-- | gstudio/templates/gstudio/repriorpost.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/repriorpost.html b/gstudio/templates/gstudio/repriorpost.html new file mode 100644 index 00000000..3499db0e --- /dev/null +++ b/gstudio/templates/gstudio/repriorpost.html @@ -0,0 +1,34 @@ +{% load tagging_tags comments i18n %} +{% ifequal optionpriorpost "priorpost" %} +<br/> +<strong>Prior Pages:</strong> +{% for each in priorgbobject %} +<a href="{{each.get_view_object_url}}">{{each}}</a> +{% if not forloop.last %},{% endif %} +{% empty %} + <span>No prior page</span> +{% endfor %} +<br/> +<strong>Posterior Pages:</strong> +{% for each in posteriorgbobject %} +<a href="{{each.get_view_object_url}}">{{each}}</a> +{% if not forloop.last %},{% endif %} +{% empty %} + <span>No Posterior Pages</span> +{% endfor %} +<br/> +{% endifequal %} +{% ifequal optiontag "tag" %} + <strong>{% trans "Tags" %}</strong> : + {% tags_for_object viewtag as tag_list %} + {% for tag in tag_list %} + <a href="{% url objectapp_tag_detail tag %}" + title="Tag {{ tag }}" rel="tag">{{ tag }}</a> + <a class="deletetags" value="{{tag}}" title="delete {{tag}}" onclick='tagfunction("{{tag}}","{{objectid}}");'><img src="/static/gstudio/js/orgitdown/orgitdown/sets/org/images/close.jpeg" width = 8px; style="vertical-align: super;"/></a> + {% if not forloop.last %},{% endif %} + {% empty %} + <span>{% trans "No tags" %}</span> + {% endfor %} + +{% endifequal %} + |