-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #111 from anamariasosa/feature/rephrase-dash
Feature/rephrase dash
- Loading branch information
Showing
6 changed files
with
71 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,30 @@ | ||
<% cache product do %> | ||
<div class="col-sm-4 col-md-3 col-lg-3"> | ||
<div class="thumbnail productList"> | ||
<div class="productList__actions"> | ||
<a class="productList__zoom" href="<%= product.instagram_image %>" data-lightbox="image-1" data-title="<%= product.product_name %> - Valor: <%= number_to_currency product.price, precision:0 %>" >Zoom</a> | ||
<span class="productList__separator">|</span> | ||
<%= link_to 'Ver Más', product, class: "productList__more" %> | ||
</div> | ||
<div class="col-xs-6 col-sm-4 col-md-3 col-lg-3"> | ||
<div class="thumbnail productList"> | ||
<div class="productList__actions"> | ||
<a class="productList__zoom" href="<%= product.instagram_image %>" data-lightbox="image-1" data-title="<%= product.product_name %> - Valor: <%= number_to_currency product.price, precision:0 %>" >Zoom</a> | ||
<span class="productList__separator">|</span> | ||
<%= link_to 'Ver Más', product, class: "productList__more" %> | ||
</div> | ||
|
||
<%= link_to product do %> | ||
<img src="<%= product.instagram_image %>" class="img-responsive" alt="product"> | ||
<% end %> | ||
<%= link_to product do %> | ||
<img src="<%= product.instagram_image %>" class="img-responsive" alt="product"> | ||
<% end %> | ||
|
||
<div class="caption"> | ||
<h3 class="productList__name"> | ||
<%= link_to product.product_name, product, class: 'productList__link' %> | ||
</h3> | ||
<div class="caption"> | ||
<h3 class="productList__name"> | ||
<%= link_to product.product_name, product, class: 'productList__link' %> | ||
</h3> | ||
|
||
<p class="productList__price"> | ||
<%= number_to_currency product.price, precision: 0 %> | ||
</p> | ||
<p class="productList__price"> | ||
<%= number_to_currency product.price, precision: 0 %> | ||
</p> | ||
|
||
<p class="productList__by" > | ||
<%= link_to product.store.name, store_path(product.store.slug), class: "productList__store" %> | ||
</p> | ||
<p class="productList__by" > | ||
<%= link_to product.store.name, store_path(product.store.slug), class: "productList__store" %> | ||
</p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,20 @@ | ||
<li class="dashboard__item"> | ||
<%= link_to customers_dashboard_path, class: "dashboard__link js_instagramLoad" do %> | ||
<i class="fa fa-home"></i> | ||
<br> | ||
<span class="hidden-xs">Dashboard</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class="dashboard__item"> | ||
<%= link_to customers_dashboard_orders_path, class: "dashboard__link" do %> | ||
<i class="fa fa-shopping-bag"></i> | ||
<br> | ||
Productos comprados | ||
<span class="hidden-xs">Mis Productos</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class="dashboard__item"> | ||
<%= link_to edit_user_registration_path, class: "dashboard__link " do %> | ||
<i class="fa fa-pencil"></i> | ||
<br> | ||
<span class="hidden-xs">Editar mi información</span> | ||
<i class="fa fa-pencil-square"></i> | ||
<span class="hidden-xs">Información</span> | ||
<% end %> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,41 @@ | ||
<li class='dashboard__item'> | ||
<%= link_to stores_dashboard_path, class: 'dashboard__link' do %> | ||
<i class="fa fa-home"></i> | ||
<br> | ||
<span class="hidden-xs">Dashboard</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class='dashboard__item'> | ||
<%= link_to stores_instagram_media_path, class: 'dashboard__link js_instagramLoad' do %> | ||
<i class="fa fa-plus"></i> | ||
<br> | ||
<span class="hidden-xs">Crear un producto</span> | ||
<span class="hidden-xs">Crear Producto</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class='dashboard__item'> | ||
<%= link_to stores_products_path, class: "dashboard__link" do %> | ||
<i class="fa fa-shopping-basket"></i> | ||
<br> | ||
<span class="hidden-xs">Productos de la tienda</span> | ||
<span class="hidden-xs">Ver Productos</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class='dashboard__item'> | ||
<%= link_to stores_orders_path, class: "dashboard__link" do %> | ||
<i class="fa fa-paper-plane"></i> | ||
<br> | ||
<span class="hidden-xs">Reporte de órdenes</span> | ||
<span class="hidden-xs">Ver Órdenes</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class='dashboard__item'> | ||
<%= link_to edit_user_registration_path, class: "dashboard__link" do %> | ||
<i class="fa fa-pencil"></i> | ||
<br> | ||
<span class="hidden-xs">Editar mi información</span> | ||
<i class="fa fa-pencil-square"></i> | ||
<span class="hidden-xs">Información</span> | ||
<% end %> | ||
</li> | ||
|
||
<li class='dashboard__item'> | ||
<%= link_to store_path(current_user), class: "dashboard__link" do %> | ||
<i class="fa fa-eye"></i> | ||
<br> | ||
<span class="hidden-xs">Ver mi tienda</span> | ||
<%= link_to store_path(current_user), class: "dashboard__link", target: '_blank' do %> | ||
<i class="fa fa-external-link-square"></i> | ||
<span class="hidden-xs">Ver Tienda</span> | ||
<% end %> | ||
</li> |