From 7a4f561e851fdc7246d804c3abb6748b8a4199a6 Mon Sep 17 00:00:00 2001 From: gnowgi Date: Thu, 15 Mar 2012 16:19:20 +0530 Subject: master trunk of gnowsys-studio --- .../templates/gstudio/tags/archives_nodetypes.html | 15 ++++++ .../gstudio/tags/archives_nodetypes_link.html | 3 ++ .../gstudio/tags/archives_nodetypes_tree.html | 43 ++++++++++++++++ gstudio/templates/gstudio/tags/authors.html | 15 ++++++ gstudio/templates/gstudio/tags/breadcrumbs.html | 7 +++ gstudio/templates/gstudio/tags/calendar.html | 17 +++++++ gstudio/templates/gstudio/tags/dummy.html | 1 + .../templates/gstudio/tags/featured_nodetypes.html | 12 +++++ gstudio/templates/gstudio/tags/metatypes.html | 16 ++++++ gstudio/templates/gstudio/tags/nodetypes.html | 16 ++++++ gstudio/templates/gstudio/tags/pagination.html | 59 ++++++++++++++++++++++ .../templates/gstudio/tags/popular_nodetypes.html | 16 ++++++ .../templates/gstudio/tags/random_nodetypes.html | 12 +++++ .../templates/gstudio/tags/recent_comments.html | 20 ++++++++ .../templates/gstudio/tags/recent_linkbacks.html | 21 ++++++++ .../templates/gstudio/tags/recent_nodetypes.html | 20 ++++++++ .../templates/gstudio/tags/similar_nodetypes.html | 12 +++++ .../templates/gstudio/tags/slider_nodetypes.html | 27 ++++++++++ gstudio/templates/gstudio/tags/tag_cloud.html | 13 +++++ 19 files changed, 345 insertions(+) create mode 100644 gstudio/templates/gstudio/tags/archives_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/archives_nodetypes_link.html create mode 100644 gstudio/templates/gstudio/tags/archives_nodetypes_tree.html create mode 100644 gstudio/templates/gstudio/tags/authors.html create mode 100644 gstudio/templates/gstudio/tags/breadcrumbs.html create mode 100644 gstudio/templates/gstudio/tags/calendar.html create mode 100644 gstudio/templates/gstudio/tags/dummy.html create mode 100644 gstudio/templates/gstudio/tags/featured_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/metatypes.html create mode 100644 gstudio/templates/gstudio/tags/nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/pagination.html create mode 100644 gstudio/templates/gstudio/tags/popular_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/random_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/recent_comments.html create mode 100644 gstudio/templates/gstudio/tags/recent_linkbacks.html create mode 100644 gstudio/templates/gstudio/tags/recent_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/similar_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/slider_nodetypes.html create mode 100644 gstudio/templates/gstudio/tags/tag_cloud.html (limited to 'gstudio/templates/gstudio/tags') diff --git a/gstudio/templates/gstudio/tags/archives_nodetypes.html b/gstudio/templates/gstudio/tags/archives_nodetypes.html new file mode 100644 index 00000000..2863693f --- /dev/null +++ b/gstudio/templates/gstudio/tags/archives_nodetypes.html @@ -0,0 +1,15 @@ +{% load i18n %} + diff --git a/gstudio/templates/gstudio/tags/archives_nodetypes_link.html b/gstudio/templates/gstudio/tags/archives_nodetypes_link.html new file mode 100644 index 00000000..f82ec8e6 --- /dev/null +++ b/gstudio/templates/gstudio/tags/archives_nodetypes_link.html @@ -0,0 +1,3 @@ +{% load i18n %} +{% for date in archives %} +{% endfor %} diff --git a/gstudio/templates/gstudio/tags/archives_nodetypes_tree.html b/gstudio/templates/gstudio/tags/archives_nodetypes_tree.html new file mode 100644 index 00000000..a1eee55f --- /dev/null +++ b/gstudio/templates/gstudio/tags/archives_nodetypes_tree.html @@ -0,0 +1,43 @@ +{% load i18n %} + +{% regroup archives by year as year_list %} + + + diff --git a/gstudio/templates/gstudio/tags/authors.html b/gstudio/templates/gstudio/tags/authors.html new file mode 100644 index 00000000..1ce1af27 --- /dev/null +++ b/gstudio/templates/gstudio/tags/authors.html @@ -0,0 +1,15 @@ +{% load i18n %} + + diff --git a/gstudio/templates/gstudio/tags/breadcrumbs.html b/gstudio/templates/gstudio/tags/breadcrumbs.html new file mode 100644 index 00000000..c7a5361a --- /dev/null +++ b/gstudio/templates/gstudio/tags/breadcrumbs.html @@ -0,0 +1,7 @@ +{% for crumb in breadcrumbs %} +{% if not forloop.last %} +{{ crumb.name }} {{ separator }} +{% else %} + {{ crumb.name }} +{% endif %} +{% endfor %} diff --git a/gstudio/templates/gstudio/tags/calendar.html b/gstudio/templates/gstudio/tags/calendar.html new file mode 100644 index 00000000..bf6e999f --- /dev/null +++ b/gstudio/templates/gstudio/tags/calendar.html @@ -0,0 +1,17 @@ +{{ calendar|safe }} +
+
+ {% if previous_month %} + + << {{ previous_month|date:"YEAR_MONTH_FORMAT" }} + + {% endif %} +
+
+ {% if next_month %} + + {{ next_month|date:"YEAR_MONTH_FORMAT" }} >> + + {% endif %} +
+
diff --git a/gstudio/templates/gstudio/tags/dummy.html b/gstudio/templates/gstudio/tags/dummy.html new file mode 100644 index 00000000..f04fcf55 --- /dev/null +++ b/gstudio/templates/gstudio/tags/dummy.html @@ -0,0 +1 @@ +{% extends template %} diff --git a/gstudio/templates/gstudio/tags/featured_nodetypes.html b/gstudio/templates/gstudio/tags/featured_nodetypes.html new file mode 100644 index 00000000..5b7806b3 --- /dev/null +++ b/gstudio/templates/gstudio/tags/featured_nodetypes.html @@ -0,0 +1,12 @@ +{% load i18n %} + diff --git a/gstudio/templates/gstudio/tags/metatypes.html b/gstudio/templates/gstudio/tags/metatypes.html new file mode 100644 index 00000000..745dce0c --- /dev/null +++ b/gstudio/templates/gstudio/tags/metatypes.html @@ -0,0 +1,16 @@ +{% load i18n mptt_tags %} + +{% for metatype, structure in metatypes|tree_info %} + {% if structure.new_level %}{% endfor %} + {% empty %} + +{% endfor %} + + diff --git a/gstudio/templates/gstudio/tags/nodetypes.html b/gstudio/templates/gstudio/tags/nodetypes.html new file mode 100644 index 00000000..722c201e --- /dev/null +++ b/gstudio/templates/gstudio/tags/nodetypes.html @@ -0,0 +1,16 @@ +{% load i18n mptt_tags %} + +{% for nodetype, structure in nodetypes|tree_info %} + {% if structure.new_level %}