From 7be2d94cf704354290b03cf6a6bb0fe9f1273f14 Mon Sep 17 00:00:00 2001 From: kriddles <54413450+kriddles@users.noreply.github.com> Date: Sun, 9 Feb 2020 14:08:11 -0600 Subject: [PATCH] View base servings on recipecard (#555) --- 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)