diff options
author | gnowgi <nagarjun@gnowledge.org> | 2012-03-15 16:19:20 +0530 |
---|---|---|
committer | gnowgi <nagarjun@gnowledge.org> | 2012-03-15 16:19:20 +0530 |
commit | 7a4f561e851fdc7246d804c3abb6748b8a4199a6 (patch) | |
tree | d2afc3463fd49625a9be482012f5c3bfcf7c42b9 /gstudio/templates/gstudio/tags/calendar.html | |
download | gnowsys-7a4f561e851fdc7246d804c3abb6748b8a4199a6.tar.gz |
master trunk of gnowsys-studio
Diffstat (limited to 'gstudio/templates/gstudio/tags/calendar.html')
-rw-r--r-- | gstudio/templates/gstudio/tags/calendar.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/gstudio/templates/gstudio/tags/calendar.html b/gstudio/templates/gstudio/tags/calendar.html new file mode 100644 index 0000000..bf6e999 --- /dev/null +++ b/gstudio/templates/gstudio/tags/calendar.html @@ -0,0 +1,17 @@ +{{ calendar|safe }} +<div class="month-navigation"> + <div class="month-previous"> + {% if previous_month %} + <a href="{% url gstudio_nodetype_archive_month previous_month|date:"Y" previous_month|date:"m" %}"> + << {{ previous_month|date:"YEAR_MONTH_FORMAT" }} + </a> + {% endif %} + </div> + <div class="month-next"> + {% if next_month %} + <a href="{% url gstudio_nodetype_archive_month next_month|date:"Y" next_month|date:"m" %}"> + {{ next_month|date:"YEAR_MONTH_FORMAT" }} >> + </a> + {% endif %} + </div> +</div> |