summaryrefslogtreecommitdiff
path: root/gstudio/templates/metadashboard/pgedashboard.html
diff options
context:
space:
mode:
authorgnowgi <nagarjun@gnowledge.org>2012-08-13 05:58:06 -0700
committergnowgi <nagarjun@gnowledge.org>2012-08-13 05:58:06 -0700
commit86e66913d92e2534ca9ddf8a1a61b323d0cf277a (patch)
tree6e88fc9c2f6f1d704b82c815d554db9815042a62 /gstudio/templates/metadashboard/pgedashboard.html
parent3180e360c3eff8f6bf02d3c5fffeb22644a98704 (diff)
parentc46d21012bdb0cad3c4e2313586b0a5ea740bcbe (diff)
downloadgnowsys-86e66913d92e2534ca9ddf8a1a61b323d0cf277a.tar.gz
Merge pull request #81 from supriyasawant/master
tags added to wikipage
Diffstat (limited to 'gstudio/templates/metadashboard/pgedashboard.html')
-rw-r--r--gstudio/templates/metadashboard/pgedashboard.html71
1 files changed, 48 insertions, 23 deletions
diff --git a/gstudio/templates/metadashboard/pgedashboard.html b/gstudio/templates/metadashboard/pgedashboard.html
index c46cc07d..f06063aa 100644
--- a/gstudio/templates/metadashboard/pgedashboard.html
+++ b/gstudio/templates/metadashboard/pgedashboard.html
@@ -3,6 +3,9 @@
{% load adminmedia grp_tags %}
{% load gstudio_tags %}
{% load pagination_tags %}
+{% load i18n objectapp_tags %}
+{% load tagging_tags comments i18n %}
+
<!-- {% load i18n %} -->
{% block content %}
<style>
@@ -20,6 +23,14 @@ $(window).load(function() {
$("#graphcss").hide();
});
+$(window).load(function() {
+
+ $("#savepagecontent").hide();
+ $("#saveseccontent").hide();
+ $("#savesubsec").hide();
+ $("#savesubsec1").hide();
+
+ });
</script>
@@ -39,32 +50,27 @@ $(window).load(function() {
<input type="button" id="editpagecontent" value="Edit"/>
<input type="button" id="savepagecontent" value="Save"/></br>
+ <form method="post" action="">{% csrf_token %}
+ <input type="hidden" name="docid" value={{page_ob.id}}>
+ <input type="text" value="" name="texttags" />
+ <input type="submit" value="Add Tags" name="addtags" />
+ </form>
+ <br>
+ <div class="tags">
+ <p class="gbobject-tags span-16 last">
+ <strong>{% trans "Tags" %}</strong> :
+ {% tags_for_object ot 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>
<input type="button" id="pageid" value="{{page_ob.id}}" style="visibility:hidden;"/>
<input type="button" id="pageorg" value="{{page_ob.content_org}}" style="visibility:hidden;"/>
-
- <!-- <h3> This Discussion was initiated by {{admin_m.username}}</h3> -->
-
- <!-- <h>You are logged in as <font color="blue">{{user.username}}</font></h> -->
-
- <!-- {%if flag %} -->
- <!-- <div id="Release"> -->
- <!-- <form method="post" action=".">{% csrf_token %} -->
- <!-- <input type="submit" value="Release Replies"> -->
- <!-- <input type="hidden" value="hits" name = "pagerelease"> -->
- <!-- </form> -->
- <!-- </div> -->
- <!-- <div> -->
- <!-- <form method="post" action=".">{% csrf_token %} -->
- <!-- <input type="submit" value="Block Replies"> -->
- <!-- <input type="hidden" value="hits" name = "block"> -->
- <!-- </form> -->
- <!-- </div> -->
- <!-- {% endif %} -->
- <!-- </br> -->
-
-
<form method="post" action=".">{% csrf_token %}
-<!-- <input type="hidden" value="{{page_ob.id}}" name = "pageid">-->
<input type="button" id="newsection1" value="Add a new Section" onClick="location.href=parseURL('sectionadd1/{{page_ob.id}}');">
<input type="hidden" id="pageid1" value="{{page_ob.id}}"/>
</form>
@@ -89,6 +95,25 @@ $(window).load(function() {
{% endautoescape%}
<input type="button" id="editseccontent" value="Edit"/>
<input type="button" id="saveseccontent" value="Save"/>
+ <form method="post" action="">{% csrf_token %}
+ <input type="hidden" name="docid" value={{each.id}}>
+ <input type="text" value="" name="texttags" />
+ <input type="submit" value="Add Tags" name="addtags" />
+ </form>
+ <br>
+ <div class="tags">
+ <p class="gbobject-tags span-16 last">
+ <strong>{% trans "Tags" %}</strong> :
+ {% tags_for_object each 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>
+
<input type="button" id="sectionorg" value="{{each.content_org}}" style="visibility:hidden;"/>
<input type="button" id="sectionid" value="{{each.id}}" style="visibility:hidden;"/>
<form method="post" action=".">{% csrf_token %}<br/>