forked from OpenNeo/impress
263670a013
In the interest of clearing out Resque, I'm just gonna remove a lot of our more complex caching stuff, and we can do a perf pass for things like big item list pages once everything's upgraded. (I'm hopeful that the upgrades themselves improve perf; and if not, that some improved sensibilities 10 years later can find simpler approaches.)
4 lines
310 B
Text
4 lines
310 B
Text
%div{'class' => closet_hanger_partial_class(closet_hanger), 'data-item-id' => closet_hanger.item_id, 'data-quantity' => closet_hanger.quantity, 'data-id' => closet_hanger.id}
|
|
= render_item_link(closet_hanger.item)
|
|
.quantity{:class => "quantity-#{closet_hanger.quantity}"}
|
|
%span= closet_hanger.quantity
|