app/views/gamification/inventories/_inventory.html.erb in go_gamification-0.0.19 vs app/views/gamification/inventories/_inventory.html.erb in go_gamification-0.0.20
- old
+ new
@@ -19,10 +19,10 @@
<div class="block-content">
<div class="row">
<% Gamification::ItemType.where("key not in('legsjump','rightarmjump','leftarmjump')").select(:key).distinct.order(key: :asc).each do |item_type| %>
<% Gamification::Inventory.where(user_id: @user.id, gamification_item_types: {key: item_type.key})
.joins(item: :item_type).each do |inventory| %>
- <div class="col-sm-6 col-lg-3">
+ <div class="col-sm-6 col-lg-2">
<div class="block block-bordered block-link-hover3 text-center" href="javascript:void(0)">
<div class="block-content block-content-full bg-gray-lighter border-black-op" style="min-height: 75px;max-height:
50px" data-toggle="popover" title="" data-placement="top" data-content="<%= inventory.item.description %>" type="button" data-original-title="<%= inventory.item.name %>">
<div class="h5 font-w700"><%= image_tag inventory.item.image.icon32 %></div>
\ No newline at end of file