mirror of
https://github.com/grocy/grocy.git
synced 2026-04-11 06:56:16 +02:00
Hide elements when printing
This commit is contained in:
parent
53e405c4f8
commit
786a34981d
|
|
@ -57,7 +57,7 @@ $(".calendar").each(function()
|
||||||
}
|
}
|
||||||
|
|
||||||
$(".calendar[data-primary-section='true'] .fc-day-header").prepend('\
|
$(".calendar[data-primary-section='true'] .fc-day-header").prepend('\
|
||||||
<div class="btn-group mr-2 my-1"> \
|
<div class="btn-group mr-2 my-1 d-print-none"> \
|
||||||
<button type="button" class="btn btn-outline-dark btn-xs add-recipe-button" data-toggle="tooltip" title="' + __t('Add recipe') + '"><i class="fas fa-plus"></i></a></button> \
|
<button type="button" class="btn btn-outline-dark btn-xs add-recipe-button" data-toggle="tooltip" title="' + __t('Add recipe') + '"><i class="fas fa-plus"></i></a></button> \
|
||||||
<button type="button" class="btn btn-outline-dark btn-xs dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"></button> \
|
<button type="button" class="btn btn-outline-dark btn-xs dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"></button> \
|
||||||
<div class="table-inline-menu dropdown-menu"> \
|
<div class="table-inline-menu dropdown-menu"> \
|
||||||
|
|
@ -185,7 +185,7 @@ $(".calendar").each(function()
|
||||||
<h5 class="small text-truncate mb-1">' + __n(mealPlanEntry.recipe_servings, "%s serving", "%s servings") + '</h5> \
|
<h5 class="small text-truncate mb-1">' + __n(mealPlanEntry.recipe_servings, "%s serving", "%s servings") + '</h5> \
|
||||||
<h5 class="small timeago-contextual text-truncate mb-1">' + fulfillmentIconHtml + " " + fulfillmentInfoHtml + '</h5> \
|
<h5 class="small timeago-contextual text-truncate mb-1">' + fulfillmentIconHtml + " " + fulfillmentInfoHtml + '</h5> \
|
||||||
' + costsAndCaloriesPerServing + ' \
|
' + costsAndCaloriesPerServing + ' \
|
||||||
<h5> \
|
<h5 class="d-print-none"> \
|
||||||
<a class="ml-1 btn btn-outline-info btn-xs edit-meal-plan-entry-button" href="#" data-toggle="tooltip" title="' + __t("Edit this item") + '"><i class="fas fa-edit"></i></a> \
|
<a class="ml-1 btn btn-outline-info btn-xs edit-meal-plan-entry-button" href="#" data-toggle="tooltip" title="' + __t("Edit this item") + '"><i class="fas fa-edit"></i></a> \
|
||||||
<a class="btn btn-outline-danger btn-xs remove-recipe-button" href="#" data-toggle="tooltip" title="' + __t("Delete this item") + '"><i class="fas fa-trash"></i></a> \
|
<a class="btn btn-outline-danger btn-xs remove-recipe-button" href="#" data-toggle="tooltip" title="' + __t("Delete this item") + '"><i class="fas fa-trash"></i></a> \
|
||||||
' + shoppingListButtonHtml + ' \
|
' + shoppingListButtonHtml + ' \
|
||||||
|
|
|
||||||
|
|
@ -90,7 +90,7 @@
|
||||||
<i class="fas fa-ellipsis-v"></i>
|
<i class="fas fa-ellipsis-v"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100"
|
<div class="related-links collapse d-md-flex order-2 width-xs-sm-100 d-print-none"
|
||||||
id="related-links">
|
id="related-links">
|
||||||
<a class="btn btn-outline-secondary m-1 mt-md-0 mb-md-0 float-right"
|
<a class="btn btn-outline-secondary m-1 mt-md-0 mb-md-0 float-right"
|
||||||
href="{{ $U('/mealplansections') }}">
|
href="{{ $U('/mealplansections') }}">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user