From 523ffa1ca7139e28455bcf103e736aae6fef1416 Mon Sep 17 00:00:00 2001 From: Sanj Date: Mon, 28 May 2012 20:14:01 +0530 Subject: [PATCH] g+, facebook like, etc --- itf/settings.py | 3 +- itf/static/js/insidepage.js | 1 + itf/templates/modules/festival/meeting.html | 47 +++++++++--------- itf/templates/noel/render_object.html | 53 ++++++++++----------- 4 files changed, 54 insertions(+), 50 deletions(-) diff --git a/itf/settings.py b/itf/settings.py index 8dd978e..309daa4 100755 --- a/itf/settings.py +++ b/itf/settings.py @@ -5,7 +5,7 @@ from os.path import join # import markdown SITENAME = "India Theatre Forum" -DEBUG = False +DEBUG = True TEMPLATE_DEBUG = DEBUG JSON_DEBUG = DEBUG @@ -115,6 +115,7 @@ TEMPLATE_CONTEXT_PROCESSORS = ( "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media", + "django.core.context_processors.request", # "multilingual.context_processors.multilingual", "frontpage.context_processors.menus" ) diff --git a/itf/static/js/insidepage.js b/itf/static/js/insidepage.js index 1670009..e740fd8 100755 --- a/itf/static/js/insidepage.js +++ b/itf/static/js/insidepage.js @@ -287,6 +287,7 @@ $(function() { */ $('#listForm').submit(function(e) { + return true; e.preventDefault(); doListLoading(); // var urlString = "?tab_id=" + $('.innerSelected').attr("data-id") + "&sort=" + sortString + "&search=" + searchTerm; diff --git a/itf/templates/modules/festival/meeting.html b/itf/templates/modules/festival/meeting.html index 5a721b5..4a0cb10 100755 --- a/itf/templates/modules/festival/meeting.html +++ b/itf/templates/modules/festival/meeting.html @@ -218,31 +218,34 @@ diff --git a/itf/templates/noel/render_object.html b/itf/templates/noel/render_object.html index 8d4af07..397c1b6 100755 --- a/itf/templates/noel/render_object.html +++ b/itf/templates/noel/render_object.html @@ -19,7 +19,7 @@ {% block content %} - +
@@ -103,19 +103,19 @@ search -->
- +
    -
  • {{ tab.title }}
  • + {% for t in tabs %} - {% ifnotequal t.id tab.id %} -
  • {{ t.title }}
  • - {% endifnotequal %} + +
  • {{ t.title }}
  • + {% endfor %}
@@ -123,17 +123,10 @@
{{ tab.text }}
- {% for t in tabs %} -
- {% ifnotequal t.id tab.id %} - {{ t.text }} - {% endifnotequal %} -
- {% endfor %} -
+ Sort: - Select {% for s in tab.get_dict.sorts %} {% endfor %} @@ -144,10 +137,10 @@ --> - - - - + + + + @@ -168,17 +161,13 @@ {% for l in object_list.items %} -
  • {{ l.title }}
  • +
  • {{ l.title }}
  • {% endfor %}
    -
    @@ -201,7 +190,17 @@ twitter - +
    + + + +