Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modified breadcrum to add rss icon

  • Loading branch information...
commit 4a60c18a9628d7921c8dff4053f8043595731a68 1 parent 78386d8
@Germanaz0 Germanaz0 authored
View
6 src/HotDesign/ScThemeBundle/Resources/public/css/site.css
@@ -9,4 +9,8 @@ body {
.categoriesNavigation.active.link {
font-weight:bold;
-}
+}
+
+ul.breadcrumb li.rss-add {
+ float: right;
+}
View
7 src/HotDesign/ScThemeBundle/Resources/views/Category/category_breadcumb.html.twig
@@ -20,4 +20,11 @@
{{ current_category.title }}
{% endif %}
</li>
+
+ <li class="rss-add">
+ <a href="{{ path('products_listing', {'slug': current_category.slug, '_format': 'xml' }) }}">
+ <img src="{{asset('_images/add_rss.png')}}" alt="RSS" width="18" />
+ </a>
+ </li>
+
</ul>
View
5 src/HotDesign/ScThemeBundle/Resources/views/Product/index.html.twig
@@ -13,6 +13,11 @@
{% else %}
<ul class="breadcrumb">
<li class="active">Todos</li>
+ <li class="rss-add">
+ <a href="{{ path('products_homepage', {'_format': 'xml' }) }}">
+ <img src="{{asset('_images/add_rss.png')}}" alt="RSS" width="18" />
+ </a>
+ </li>
</ul>
{% endif %}
Please sign in to comment.
Something went wrong with that request. Please try again.