Commit 170aeb13a7fc7f267e2c5536283607123113d574
1 parent
2084ef47
Exists in
staging
and in
42 other branches
ActionItem490: remove attempt to list products
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2153 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
0 additions
and
14 deletions
Show diff stats
app/views/blocks/profile_info.rhtml
| ... | ... | @@ -34,20 +34,6 @@ |
| 34 | 34 | </div> |
| 35 | 35 | <% end %> |
| 36 | 36 | |
| 37 | -<% if profile.class == Enterprise %> | |
| 38 | -<div class="product-categories"> | |
| 39 | -<%= | |
| 40 | - profile.product_categories.map{ |c| c.size > 1 ? [c[0],c[1]] : nil }. | |
| 41 | - compact.uniq.map{ |c| | |
| 42 | - content_tag 'span', | |
| 43 | - content_tag( 'span', c.join(' → ') ), | |
| 44 | - :title => c[0] +' → '+ c[1], | |
| 45 | - :class => 'product_cat_' + (c[0]+'_'+c[1]).gsub( /\s/, '_' ) | |
| 46 | - }.join "\n" | |
| 47 | -%> | |
| 48 | -</div> | |
| 49 | -<% end %> | |
| 50 | - | |
| 51 | 37 | <div class="profile-info-options"> |
| 52 | 38 | <%= render :file => 'blocks/profile_info_actions/' + block.owner.class.name.underscore %> |
| 53 | 39 | </div> | ... | ... |