[Git][noosfero/noosfero][master] products: fix and move featured products view from core
Bráulio Bhavamitra
gitlab at mg.gitlab.com
Thu Apr 13 17:02:39 BRT 2017
Bráulio Bhavamitra pushed to branch master at Noosfero / noosfero
Commits:
b219ae34 by Braulio Bhavamitra at 2017-04-13T17:02:26-03:00
products: fix and move featured products view from core
- - - - -
1 changed file:
- app/views/blocks/featured_products.html.erb → plugins/products/views/blocks/featured_products.html.erb
Changes:
=====================================
app/views/blocks/featured_products.html.erb → plugins/products/views/blocks/featured_products.html.erb
=====================================
--- a/app/views/blocks/featured_products.html.erb
+++ b/plugins/products/views/blocks/featured_products.html.erb
@@ -1,3 +1,5 @@
+<% extend ProductsPlugin::ProductsHelper %>
+
<%= block_title(block.title, block.subtitle) %>
<% unless block.products.blank? %>
<%= link_to content_tag(:span, _('Previous')), '#', :class => 'featured-product-prev featured-product-arrow' %>
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/b219ae34bbc03f4c26c8280f6445a397de92ee54
---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/b219ae34bbc03f4c26c8280f6445a397de92ee54
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170413/367eb4b2/attachment.html>
More information about the Noosfero-dev
mailing list