feat: display teamers' average ratings in several locations

This commit is contained in:
Björn Fromme
2024-01-10 13:05:47 +01:00
parent 7215b3077b
commit 159ea37a42
9 changed files with 49 additions and 14 deletions
+2 -1
View File
@@ -29,7 +29,7 @@
{% endfor %}
</ul>
</div>
<div>
<div class="flex flex-col space-y-4">
{% if teamer.photo %}
<img src="{{ asset(teamer.photo.filename | imagine_filter('profile')) }}"
class="w-32 h-auto border-2 border-primary"
@@ -39,5 +39,6 @@
{{ icon('user', 'w-32 h-32 text-gray-200') }}
</div>
{% endif %}
{% include '_partials/_rating_stars.html.twig' with { 'teamer': teamer } %}
</div>
</div>