Jorge Ezequiel Diaz Marquez avatar Jorge Ezequiel Diaz Marquez committed 5473914

fix issue #40

Comments (0)

Files changed (1)

statics/templates/djcatalog/base.html

                             <ul>
                             {% endif %}
                             <li><a href="{{ cat.get_absolute_url }}" {% if catalog_category == cat %}class="active"{% endif %}>{{ cat }}</a></li>
-                                
+
                             {% if forloop.last %}
                             </ul>
                             {% else %}
                             <div class="izquierda">
 
                                 {% if object %}
-                                <h2 id="product_category_title">{{ object.name }}</h2>
+                                <h3 id="product_category_title">{{ object.name }}</h3>
                                 <p id="product_description">{{ object.description }}</p>
                                 {% else %}
                                 {% with product_list|first as p %}
-                                <h2 id="product_category_title">{{ p.name }}</h2>
+                                <h3 id="product_category_title">{{ p.name }}</h3>
                                 <p id="product_description">{{ p.description }}</p>
                                 {% endwith %}
                                 {% endif %}
 							<div class="derecha" id="carousel_product">
                                 <ul>
                                     {% comment %}
-                                    ahora carga por javascrip 
+                                    ahora carga por javascrip
                                     {% for product in product_list %}
                                     <li pos="{{ forloop.counter }}">
                                         {% for media in product.get_media_content|slice:':2' %}
                                 {% with product.get_first_image as media %}
                                 <li><a href="{{ product.get_absolute_url }}" pos="{{ forloop.counter }}"><img src="{% if media.thumbnail %}{{ media.thumbnail.url }}{% endif %}" alt="{{ product.description }}" title="{{ product.name }}"/></a></li>
                                 {% endwith %}
-                                {% endfor %}	
+                                {% endfor %}
 							</ul>
                             <div class="clear"></div>
                         </div>
                         if (carousel.has(i)) {
                             continue;
                         }
-                 
+
                         if (i > mycarousel_itemList.length) {
                             break;
                         }
-                 
+
                         carousel.add(i, mycarousel_getItemHTML(mycarousel_itemList[i-1]));
                     }
                 };
-                 
+
                 /**
                  * Item html creation helper.
                  */
                 {
                     return '<div><img src="' + item.url + '" alt="' + item.url + '" /></div>';
                 };
-                
+
 
                 // Ride the carousel...
                 jQuery(document).ready(function() {
                         start: {{ forloop.counter }},
                         {% endif %}{% endfor %}
                         {% endif %}
-                        
+
                         size: mycarousel_itemList.length,
                         itemLoadCallback: {onBeforeAnimation: mycarousel_itemLoadCallback},
                         initCallback: mycarousel_initCallback,
                         buttonPrevHTML: null
                     });
                 });
-                  
+
                 </script>
 
                 {% endblock %}
+
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.