mirror of
https://github.com/grocy/grocy.git
synced 2025-08-21 04:43:32 +00:00
Optimized shopping list header
This commit is contained in:
@@ -545,3 +545,8 @@ $("img.barcode").each(function()
|
|||||||
|
|
||||||
img.attr("src", dummyCanvas.toDataURL("image/png"));
|
img.attr("src", dummyCanvas.toDataURL("image/png"));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if ($(window).width() < 768)
|
||||||
|
{
|
||||||
|
$("#filter-container").removeClass("border-bottom");
|
||||||
|
}
|
||||||
|
@@ -72,7 +72,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="border-top border-bottom my-2 py-1">
|
<div id="filter-container"
|
||||||
|
class="border-top border-bottom my-2 py-1">
|
||||||
<div id="table-filter-row"
|
<div id="table-filter-row"
|
||||||
data-status-filter="belowminstockamount"
|
data-status-filter="belowminstockamount"
|
||||||
class="collapse d-md-inline-block normal-message status-filter-message responsive-button @if(!GROCY_FEATURE_FLAG_STOCK) d-none @endif"><span class="d-block d-md-none">{{count($missingProducts)}} <i class="fas fa-exclamation-circle"></i></span><span class="d-none d-md-block">{{ $__n(count($missingProducts), '%s product is below defined min. stock amount', '%s products are below defined min. stock amount') }}</span></div>
|
class="collapse d-md-inline-block normal-message status-filter-message responsive-button @if(!GROCY_FEATURE_FLAG_STOCK) d-none @endif"><span class="d-block d-md-none">{{count($missingProducts)}} <i class="fas fa-exclamation-circle"></i></span><span class="d-none d-md-block">{{ $__n(count($missingProducts), '%s product is below defined min. stock amount', '%s products are below defined min. stock amount') }}</span></div>
|
||||||
|
Reference in New Issue
Block a user