mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
Also show working/waiting time if only one of both is set
This commit is contained in:
@@ -12,11 +12,11 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-img-overlay w-50 d-flex flex-column justify-content-left float-left text-left pt-2"
|
<div class="card-img-overlay w-50 d-flex flex-column justify-content-left float-left text-left pt-2"
|
||||||
v-if="recipe.waiting_time !== 0">
|
v-if="recipe.working_time !== 0 && recipe.waiting_time !== 0">
|
||||||
<b-badge pill variant="light" class="mt-1 font-weight-normal"><i class="fa fa-clock"></i>
|
<b-badge pill variant="light" class="mt-1 font-weight-normal" v-if="recipe.working_time !== 0"><i class="fa fa-clock"></i>
|
||||||
{{ recipe.working_time }} {{ $t('min') }}
|
{{ recipe.working_time }} {{ $t('min') }}
|
||||||
</b-badge>
|
</b-badge>
|
||||||
<b-badge pill variant="secondary" class="mt-1 font-weight-normal"><i class="fa fa-pause"></i>
|
<b-badge pill variant="secondary" class="mt-1 font-weight-normal" v-if="recipe.waiting_time !== 0"><i class="fa fa-pause"></i>
|
||||||
{{ recipe.waiting_time }} {{ $t('min') }}
|
{{ recipe.waiting_time }} {{ $t('min') }}
|
||||||
</b-badge>
|
</b-badge>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user