Skip to content

Commit 1950578

Browse files
committed
fix: add download link on mobile and harmonize tags
1 parent ac55b46 commit 1950578

File tree

1 file changed

+28
-14
lines changed

1 file changed

+28
-14
lines changed

templates/customer/_partials/order-detail-no-return.tpl

Lines changed: 28 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,26 +83,24 @@
8383
</td>
8484

8585
<td>
86-
<strong>
86+
<p class="order__item__name fw-bold mb-0">
8787
<a href="{$link->getProductLink($product.id_product)}">
8888
{$product.name}
8989
</a>
90-
</strong>
91-
92-
<br />
90+
</p>
9391

9492
{if $product.product_reference}
95-
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}<br />
93+
<p class="order__item__ref">
94+
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
95+
</p>
9696
{/if}
9797

98-
<br />
99-
10098
{if isset($product.download_link)}
101-
<a href="{$product.download_link}">
102-
<i class="material-icons" aria-hidden="true">download</i> {l s='Download' d='Shop.Theme.Actions'}
103-
</a>
104-
105-
<br/>
99+
<p class="order__item__download my-2">
100+
<a href="{$product.download_link}">
101+
<i class="material-icons" aria-hidden="true">download</i> {l s='Download' d='Shop.Theme.Actions'}
102+
</a>
103+
</p>
106104
{/if}
107105

108106
{if $product.customizations}
@@ -167,10 +165,26 @@
167165
</div>
168166

169167
<div class="col-8">
170-
<p class="order__item__name fw-bold">{$product.name}</p>
168+
<p class="order__item__name fw-bold mb-0">
169+
<a href="{$link->getProductLink($product.id_product)}">
170+
{$product.name}
171+
</a>
172+
</p>
173+
171174
{if $product.product_reference}
172-
<div class="order__item__ref">{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}</div>
175+
<p class="order__item__ref">
176+
{l s='Reference' d='Shop.Theme.Catalog'}: {$product.product_reference}
177+
</p>
173178
{/if}
179+
180+
{if isset($product.download_link)}
181+
<p class="order__item__download my-2">
182+
<a href="{$product.download_link}">
183+
<i class="material-icons" aria-hidden="true">download</i> {l s='Download' d='Shop.Theme.Actions'}
184+
</a>
185+
</p>
186+
{/if}
187+
174188
{if $product.customizations}
175189
{foreach $product.customizations as $customization}
176190
<div class="customization">

0 commit comments

Comments
 (0)