added customizable Servings text

This commit is contained in:
vabene1111
2021-01-21 20:05:46 +01:00
parent 32044907bf
commit 6992bf83aa
6 changed files with 25 additions and 3 deletions

View File

@ -59,7 +59,7 @@
type="number" class="form-control form-control-lg" v-model.number="servings"/>
</div>
<div class="my-auto">
<b>{{ _('Servings') }}</b>
<b><template v-if="recipe.servings_text === ''">{{ _('Servings') }}</template><template v-else>{{recipe.servings_text}}</template></b>
</div>
</div>
</div>