From d914afc6ea80e92ba7db6188ccaaf2908750bc09 Mon Sep 17 00:00:00 2001 From: Kurt Riddlesperger Date: Wed, 5 Feb 2020 14:07:21 -0600 Subject: [PATCH] View base servings on recipecard --- views/recipes.blade.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/views/recipes.blade.php b/views/recipes.blade.php index 612ab1bd..ba8c81d4 100644 --- a/views/recipes.blade.php +++ b/views/recipes.blade.php @@ -53,7 +53,7 @@ {{ $__t('Name') }} - {{ $__t('Servings') }} + {{ $__t('Desired Servings') }} {{ $__t('Requirements fulfilled') }} Hidden status for sorting of "Requirements fulfilled" column Hidden status for filtering by status @@ -155,11 +155,12 @@
@include('components.numberpicker', array( 'id' => 'servings-scale', - 'label' => 'Servings', + 'label' => 'Desired Servings', 'min' => 1, 'value' => $selectedRecipe->desired_servings, 'invalidFeedback' => $__t('This cannot be lower than %s', '1'), - 'additionalAttributes' => 'data-recipe-id="' . $selectedRecipe->id . '"' + 'additionalAttributes' => 'data-recipe-id="' . $selectedRecipe->id . '"', + 'hint' => $__t('Initial Base Servings:%s', $selectedRecipe->base_servings) ))
@if(!empty($selectedRecipeTotalCalories) && intval($selectedRecipeTotalCalories) > 0)