Commit d40d7e7d7e36942b3edd2cdb4305ff699ab84672
1 parent
6ae89038
Exists in
master
and in
29 other branches
Added an exclusive div to extra-content on product visualization
(ActionItem1970)
Showing
1 changed file
with
4 additions
and
2 deletions
Show diff stats
app/views/manage_products/show.rhtml
@@ -12,11 +12,13 @@ | @@ -12,11 +12,13 @@ | ||
12 | <div id='product-image'> | 12 | <div id='product-image'> |
13 | <%= render :partial => 'manage_products/display_image' %> | 13 | <%= render :partial => 'manage_products/display_image' %> |
14 | </div> | 14 | </div> |
15 | - <div id='product-info'> | ||
16 | - <%= render :partial => 'manage_products/display_info' %> | 15 | + <div id='product-extra-content'> |
17 | <% extra_content = @plugins.map(:product_info_extras, @product).collect { |content| instance_eval(&content) } %> | 16 | <% extra_content = @plugins.map(:product_info_extras, @product).collect { |content| instance_eval(&content) } %> |
18 | <%= extra_content.join("\n") %> | 17 | <%= extra_content.join("\n") %> |
19 | </div> | 18 | </div> |
19 | + <div id='product-info'> | ||
20 | + <%= render :partial => 'manage_products/display_info' %> | ||
21 | + </div> | ||
20 | </div> | 22 | </div> |
21 | 23 | ||
22 | <br style='clear: both'/> | 24 | <br style='clear: both'/> |