Changeset 626:9649b4d658ce


Ignore:
Timestamp:
20/06/12 13:29:06 (11 months ago)
Author:
Santiago Piccinini (SAn) <piccinini.santiago@…>
Branch:
default
Message:

Removed some whitespace from templates

Location:
cyclope
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • cyclope/apps/articles/templates/articles/article_inline_detail.html

    r491 r626  
    22 
    33{% block content %} 
    4  
    54<div class="content-view article inline_detail article-inline_detail"> 
    6  
    75  {% if article.pretitle %} 
    86  <span class="pretitle">{% trans article.pretitle %}</span> 
     
    3634    </div> 
    3735  </div> 
    38  
    3936</div> <!--termina article_detail --> 
    40  
    4137{% endblock content%} 
  • cyclope/core/collections/templates/collections/category_contents_base.html

    r499 r626  
    44 
    55{% block content %} 
    6  
    76  {% if view_options.navigation == "TOP" %} 
    87    {% include 'collections/hierarchycal_navigation_block.html' %} 
     
    2827  {% endif %} 
    2928 
    30  
    31   {% block category_content %} 
    32   {% endblock %} 
    33  
     29  {% block category_content %}{% endblock %} 
     30  {% spaceless %} 
    3431  {% if view_options.navigation == "BOTTOM" %} 
    3532    {% include 'collections/hierarchycal_navigation_block.html' %} 
     
    4340    {% endif %} 
    4441  {% endif %} 
    45  
     42  {% endspaceless %} 
    4643{% endblock %} 
  • cyclope/core/collections/templates/collections/category_slideshow.html

    r625 r626  
    4242 
    4343{% block content %} 
    44   {% comment %} 
    45   The content of this view is composed by including a template for each content in the category 
    46   The included template may be something different from a teaser 
    47   {% endcomment %} 
    4844    {% comment %}TODO: review the ID definition{% endcomment %} 
    4945    <ul id="slideshow{% if region_name %}-{{region_name}}{% endif %}-{{category_slug}}" class="jcarousel-skin-cyclope"> 
    5046    {% for categorization in categorizations %} 
     47      {% spaceless %} 
    5148      {% join categorization.content_type.app_label  "/" categorization.content_type.model "_" inline_view_name ".html" as template_path %} 
    5249 
    5350      {% comment %} 
    54         we alias the actual object with the model name 
    55         so the included template is reusable 
    56         and can access the content object using an explicit name 
     51        we alias the actual object with the model name so the included template 
     52        is reusable and can access the content object using an explicit name 
     53        we also alias as 'media' because some medialibrary templates expect this name 
    5754      {% endcomment %} 
    5855 
    5956      {% alias categorization.content_object as categorization.content_type.model %} 
    60  
    61       {% comment %} 
    62         we also alias as 'media' because some medialibrary templates expect this name 
    63       {% endcomment %} 
    64  
    6557      {% alias categorization.content_object as 'media' %} 
     58      {% endspaceless %} 
    6659      <li>{% include template_path %}</li> 
    6760    {% endfor %} 
  • cyclope/core/collections/templates/collections/category_teaser_list.html

    r499 r626  
    33{% load i18n cyclope_utils fb_versions %} 
    44 
     5{% comment %} 
     6The content of this view is composed by including a template for each content in the category 
     7The included template may be something different from a teaser 
     8{% endcomment %} 
     9 
    510{% block category_content %} 
    6  
    7   {% comment %} 
    8   The content of this view is composed by including a template for each content in the category 
    9   The included template may be something different from a teaser 
    10   {% endcomment %} 
    11  
    1211  {% for categorization in categorizations %} 
     12    {% spaceless %} 
    1313    {% join categorization.content_type.app_label  "/" categorization.content_type.model "_" inline_view_name ".html" as template_path %} 
    14  
    1514    {% comment %} 
    16       we alias the actual object with the model name 
    17       so the included template is reusable 
    18       and can access the content object using an explicit name 
     15      we alias the actual object with the model name so the included template 
     16      is reusable and can access the content object using an explicit name 
     17      we also alias as 'media' because some medialibrary templates expect this name 
    1918    {% endcomment %} 
    2019    {% alias categorization.content_object as categorization.content_type.model %} 
    21  
    22     {% comment %} 
    23       we also alias as 'media' because some medialibrary templates expect this name 
    24     {% endcomment %} 
    2520    {% alias categorization.content_object as 'media' %} 
    26  
     21    {% endspaceless %} 
    2722    {% include template_path %} 
    2823  {% endfor %} 
    29  
    3024{% endblock %} 
  • cyclope/core/collections/templates/collections/hierarchycal_navigation_block.html

    r499 r626  
    1  
    21{% if category.collection.visible %} 
    3  
    42  {% if not region_name %} 
    53  <div id="categories_navigation" class="{{ category.collection.slug }} {{ category.slug }}"> 
     
    1917  </div> 
    2018  {% endif%} 
    21  
    2219{% endif %} 
Note: See TracChangeset for help on using the changeset viewer.