Compare commits
1 Commits
feature/da
...
feature/fl
| Author | SHA1 | Date | |
|---|---|---|---|
| 5fbd555bb3 |
@@ -3,21 +3,22 @@
|
||||
{% block content %}
|
||||
{% cache 'list_' ~ listType %}
|
||||
<div class="table-responsive">
|
||||
<table class='table table-hover'>
|
||||
<thead>
|
||||
<tr>
|
||||
<th></th>
|
||||
<th></th>
|
||||
<th>Name</th>
|
||||
<th>Categories</th>
|
||||
<th></th>
|
||||
<th class="text-end">Lowest Price</th>
|
||||
<th class="text-end">Current Price</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
{# <table class='table table-hover'>#}
|
||||
{# <thead>#}
|
||||
{# <tr>#}
|
||||
{# <th></th>#}
|
||||
{# <th></th>#}
|
||||
{# <th>Name</th>#}
|
||||
{# <th>Categories</th>#}
|
||||
{# <th></th>#}
|
||||
{# <th class="text-end">Lowest Price</th>#}
|
||||
{# <th class="text-end">Current Price</th>#}
|
||||
{# <th></th>#}
|
||||
{# </tr>#}
|
||||
{# </thead>#}
|
||||
{% for product in products %}
|
||||
<tr>
|
||||
<div class="d-inline-flex">
|
||||
|
||||
<td class="align-middle font-weight-bold h3"><a class="text-warning text-decoration-none"
|
||||
href="{{ path('app_star', {'productId': product.id}) }}">{% if product.starred == true %}★{% else %} ☆ {% endif %}</a></td>
|
||||
<td class="align-middle" style="width: 120px;"><img src='{{ product.image }}&width=70' class='img-thumbnail' alt='{{ product.name }}'/></td>
|
||||
@@ -56,9 +57,9 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</table>
|
||||
{# </table>#}
|
||||
</div>
|
||||
{% endcache %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user