Changeset 155:d66540ebce8f
- Timestamp:
- 08/08/10 19:56:02 (3 years ago)
- Branch:
- default
- Files:
-
- 8 added
- 6 edited
-
cyclope/core/collections/frontend_views.py (modified) (1 diff)
-
cyclope/core/collections/templates/collections/collection_categories_hierarchy.html (modified) (1 diff)
-
cyclope/default_settings.py (modified) (3 diffs)
-
cyclope/templates/admin/change_form.html (modified) (1 diff)
-
demo/cyclope_project/db/site.db (modified) (previous)
-
demo/cyclope_project/local_settings.py (modified) (1 diff)
-
demo/cyclope_project/media/uploads/archivito (added)
-
demo/cyclope_project/media/uploads/edificios.swf (added)
-
demo/cyclope_project/media/uploads/output.ogv (added)
-
demo/cyclope_project/media/uploads/punch.mp3 (added)
-
demo/cyclope_project/media/uploads/thumb.png (added)
-
demo/cyclope_project/media/uploads/thumb_fb_thumb.png (added)
-
demo/cyclope_project/media/uploads/thumb_thumbnail.png (added)
-
demo/cyclope_project/media/uploads/undocumento.txt (added)
Legend:
- Unmodified
- Added
- Removed
-
cyclope/core/collections/frontend_views.py
r150 r155 156 156 for category in categories: 157 157 category_list.extend(self._get_categories_nested_list(category)) 158 c = RequestContext(request, {'categories': category_list}) 158 c = RequestContext(request, {'categories': category_list, 159 'collection_slug': collection.slug}) 159 160 t = loader.get_template("collections/collection_categories_hierarchy.html") 160 161 c['host_template'] = 'cyclope/inline_view.html' -
cyclope/core/collections/templates/collections/collection_categories_hierarchy.html
r41 r155 5 5 <script type="text/javascript"> 6 6 jQuery(document).ready(function(){ 7 $(' .collection.categories_hierarchyul').css('display', 'none');8 $(" .collection.categories_hierarchyul").first().css('display', 'block');9 $(' .expand_collapse').click(function() {7 $('#{{ collection_slug }}_collection ul').css('display', 'none'); 8 $("#{{ collection_slug }}_collection ul").first().css('display', 'block'); 9 $('#{{ collection_slug }}_collection .expand_collapse').click(function() { 10 10 if ($(this).text() == '+') $(this).text('-'); 11 11 else $(this).text('+'); -
cyclope/default_settings.py
r152 r155 1 1 #!/usr/bin/env python 2 # -*- coding: UTF-8 -*-2 # -*- coding: utf-8 -*- 3 3 # 4 4 # Copyright 2010 Código Sur - Nuestra América Asoc. Civil / Fundación Pacificar. … … 127 127 'Folder': [''], 128 128 'Image': ['.jpg','.jpeg','.gif','.png','.tif','.tiff'], 129 'Video': ['.og g', '.mov','.wmv','.mpeg','.mpg','.avi','.rm',],129 'Video': ['.ogv', '.ogg', '.mov','.wmv','.mpeg','.mpg','.avi','.rm',], 130 130 'Document': ['.odt', 'docx', '.pdf','.doc','.rtf','.txt', 131 131 '.ods', '.xls','.csv'], … … 188 188 HAYSTACK_SITECONF = 'cyclope_project.search_sites' 189 189 HAYSTACK_SEARCH_ENGINE = 'whoosh' 190 -
cyclope/templates/admin/change_form.html
r147 r155 20 20 <div class="breadcrumbs"> 21 21 <a href="../../../">{% trans "Home" %}</a> › 22 <a href="../../">{{ app_label|capfirst|escape }}</a> ›23 22 {% if has_change_permission %}<a href="../">{{ opts.verbose_name_plural|capfirst }}</a>{% else %}{{ opts.verbose_name_plural|capfirst }}{% endif %} › 24 23 {% if add %}{% trans "Add" %} {{ opts.verbose_name }}{% else %}{{ original|truncatewords:"18" }}{% endif %} -
demo/cyclope_project/local_settings.py
r124 r155 8 8 #SERVER_EMAIL = "" 9 9 EMAIL_USE_TLS = True # we set this to True for the sample email config 10 11 CYCLOPE_PAGINATION = { 'TEASER' : 3, 'LABELED_ICON' : 5,}
Note: See TracChangeset
for help on using the changeset viewer.

