Merge branch 'develop' of https://github.com/vabene1111/recipes into develop
This commit is contained in:
@ -37,6 +37,6 @@ pytest==6.2.4
|
||||
pytest-django==4.4.0
|
||||
django-cors-headers==3.7.0
|
||||
django-storages==1.11.1
|
||||
boto3==1.17.101
|
||||
boto3==1.17.102
|
||||
django-prometheus==2.1.0
|
||||
django-hCaptcha==0.1.0
|
@ -24,12 +24,15 @@
|
||||
<b-card-text style="text-overflow: ellipsis;">
|
||||
<template v-if="recipe !== null">
|
||||
<recipe-rating :recipe="recipe"></recipe-rating>
|
||||
<template v-if="recipe.description !== null">
|
||||
<span v-if="recipe.description.length > 120">
|
||||
{{ recipe.description.substr(0, 120) + "\u2026" }}
|
||||
</span>
|
||||
<span v-if="recipe.description.length <= 120">
|
||||
{{ recipe.description }}
|
||||
</span>
|
||||
</template>
|
||||
|
||||
<br/> <!-- TODO UGLY! -->
|
||||
<last-cooked :recipe="recipe"></last-cooked>
|
||||
<keywords :recipe="recipe" style="margin-top: 4px"></keywords>
|
||||
|
Reference in New Issue
Block a user