Skip to content

Commit

Permalink
category file style
Browse files Browse the repository at this point in the history
  • Loading branch information
Kingston committed Nov 1, 2021
1 parent 879f433 commit 35992a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/categories/index.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@
<br>
{% set imageCategory = ['https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/93.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/52.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/78.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/2.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/139.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/24.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/109.svg','https://www.grandcruwijnen.nl/static/version1634749600/frontend/Grandcruwijnen/default/nl_NL/Grandcruwijnen_SmartSommelier/images/102.svg'] %}
{% set imageCounterArr = -1 %}
<div style='width:900px; margin-left:250px; text-align:center;'>
{% for meal in meals %}
{% set imageCounterArr = imageCounterArr + 1 %}
<section class="grid">
<section class="grid" style='height: 7vh;padding-left:auto;'>
{% if meal.parent is null %}
<a href="{{ path('meal_categories_for_parent', {parentId: meal.categoryId}) }}" class="meal-name">
<div class="item">{{ meal.name }}</div>
Expand All @@ -41,6 +42,7 @@
</section>

{% endfor %}
</div>
</div>
{% endblock %}

Expand Down

0 comments on commit 35992a6

Please sign in to comment.