From 94535d4adc3a4960795d22e3b229a8375de10b74 Mon Sep 17 00:00:00 2001 From: supriya Date: Wed, 26 Sep 2012 15:49:52 +0530 Subject: all modules integrated --- gstudio/templates/metadashboard/grpdashboard.html | 144 ++++++++++++++++----- gstudio/templates/metadashboard/pgedashboard.html | 115 ++++++++++------ gstudio/templates/metadashboard/userdashboard.html | 15 +-- gstudio/templates/metadashboard/wikidashboard.html | 8 +- 4 files changed, 198 insertions(+), 84 deletions(-) (limited to 'gstudio/templates/metadashboard') diff --git a/gstudio/templates/metadashboard/grpdashboard.html b/gstudio/templates/metadashboard/grpdashboard.html index f6cb6c0..6ad36ac 100644 --- a/gstudio/templates/metadashboard/grpdashboard.html +++ b/gstudio/templates/metadashboard/grpdashboard.html @@ -1,18 +1,24 @@ {% extends "gstudio/base.html" %} {% load gstudio_tags %} -{% load i18n %} -{% block content %} +{% load pagination_tags %} +{% load adminmedia grp_tags %} +{% load i18n comments gstudio_tags %} +{% load tagging_tags comments i18n %} +{% block content %} @@ -27,40 +33,83 @@ var i=0; } -{% if user.is_authenticated %} + -

{{admin_m.username}}'s initial twist to the thread

+ {{admin_m.username}}'s initial twist to the thread
- {%if flag %} -
+ +

{{meet_ob.title}}

+{% with meet_ob.html_content|safe as meet_ob_content %} +{{meet_ob_content}} +{% endwith %} +{% if user.is_authenticated %} +
{% csrf_token %} + + + + +
+ + +
+
+ + +{% if flag %} +{% check_release meet_ob as release %} +{% if not release %} +
{% csrf_token %} - +
+{% else %}
{% csrf_token %} - +
{% endif %}
+{% endif %} +
{% csrf_token %} + + + +
+ +
+
+

+ {% trans "Tags" %} : + {% tags_for_object ot as tag_list %} + {% for tag in tag_list %} + + {% empty %} + {% trans "No tags" %} + {% endfor %} +

+
+
{% csrf_token %} - +
-
{% autoescape off %} {% for each in topic %} -

{{each.title}}

+

{{each.title}}

Posted on : {{each.creation_date}} by : {% for author in each.authors.all %} @@ -79,22 +128,38 @@ var i=0; {%autoescape on%} {% with each.html_content|safe as each_content %} - {{each_content}} + {{each_content}} {% endwith %} {% endautoescape%} +
{% csrf_token %} - + + + + -


- - - -
- -
+
{% if user.is_authenticated %} + + +
+ +
+ {% endif %} + {% ifequal user.id admin_id %} + +
+ {% else %} + {% for author in each.authors.all %} + {% ifequal user.id author.id %} + +
+ {% endifequal %} + {% endfor %} + {% endifequal %} + -
+ +
+ {% if user.is_authenticated %} +
{% csrf_token %} + + + +
+ +
+
+

+ {% trans "Tags" %} : + {% tags_for_object each as tag_list %} + {% for tag in tag_list %} + + {% empty %} + {% trans "No tags" %} + {% endfor %} +

+
+ {% endif %} +

- Fibers : + Responses :

{{ page_ob.title }}

@@ -44,41 +50,51 @@ $(window).load(function() { {% endfor %}

{% with page_ob.html_content|safe as page_ob_content %} - - {{page_ob_content}} + + {{page_ob_content}} {% endwith %} - - -
+ {% if user.is_authenticated %} +
{% csrf_token %} +
+ + + + + +
+ +
+
{% csrf_token %} - - - + + +
+ {% endif %}
-

- {% trans "Tags" %} : - {% tags_for_object ot as tag_list %} - {% for tag in tag_list %} - + {% trans "Tags" %} : + {% tags_for_object ot as tag_list %} + {% for tag in tag_list %} + - {% empty %} - {% trans "No tags" %} - {% endfor %} -

+ {% empty %} + {% trans "No tags" %} + {% endfor %} +

- - +
+ {% if user.is_authenticated %}
{% csrf_token %}
- + {% endif %}
{% autoescape off %} {% for each in section %} -

{{each.title}}

+

{{each.title}}

Posted on : {{each.creation_date}} by {% for author in each.authors.all %} {{author}} @@ -90,16 +106,27 @@ $(window).load(function() { {% endifequal %} {%autoescape on%} {% with each.html_content|safe as each_content %} - {{each_content}} + + {{each_content}} {% endwith %} {% endautoescape%} - - + {% if user.is_authenticated %} +
{% csrf_token %} +
+ + + + + + + +
{% csrf_token %} - - + +
+ {% endif %}

@@ -113,20 +140,22 @@ $(window).load(function() { {% endfor %}

- - - + {% if user.is_authenticated %}
{% csrf_token %}
Create Subsection: -
+
+ - - -
+ + + + +
-

-
+

+
+
Do you wanna rate it ?
@@ -134,9 +163,12 @@ $(window).load(function() { -
+ +
+ {% endif %} +

Subsections : @@ -149,9 +181,6 @@ $(window).load(function() { {% endfor %} {% endautoescape %} -{% else %} -

OOPS!!! Login Please!

-{% endif %} {% block nodetype-comments %}
diff --git a/gstudio/templates/metadashboard/userdashboard.html b/gstudio/templates/metadashboard/userdashboard.html index a8342b1..c12c122 100644 --- a/gstudio/templates/metadashboard/userdashboard.html +++ b/gstudio/templates/metadashboard/userdashboard.html @@ -4,22 +4,21 @@ {% block content %} -{% if user.is_authenticated %} + -

On the loom now:

+

On the loom now:


{% for each in meetings.member_systems.all %} - {{each.title}}
+ {{each.title}}
{% endfor %} +{% if user.is_authenticated %} -

-

-
-{% else %} -

Please Login

{% endif %} + +
+ diff --git a/gstudio/templates/metadashboard/wikidashboard.html b/gstudio/templates/metadashboard/wikidashboard.html index 8b9d15e..1af53ce 100644 --- a/gstudio/templates/metadashboard/wikidashboard.html +++ b/gstudio/templates/metadashboard/wikidashboard.html @@ -4,20 +4,20 @@ {% block content %} -{% if user.is_authenticated %} +

Here is a list of all the pages:


{% for each in pages.member_systems.all %} {{each.title}}
{% endfor %} + {% if user.is_authenticated %} + {% endif %}


-{% else %} -

OOPS!!! Login Please!

-{% endif %} + -- cgit v1.1