silverstripe-webpack/app/templates/SilverShop/Model/Order_Content_ItemLine.ss

23 lines
914 B
Scheme
Raw Permalink Normal View History

<tr class="itemRow $EvenOdd $FirstLast">
<td class="image">
<% if $Image %>
<a href="$Link" title="<%t SilverShop\Generic.ReadMoreTitle "Click here to read more on &quot;{Title}&quot;" Title=$TableTitle %>">
2018-08-26 12:46:03 +02:00
<img src="$Image.Fill(100,100).AbsoluteURL" alt="$Buyable.Title"/>
</a>
<% end_if %>
</td>
<td class="product title" scope="row">
<% if $Link %>
<a href="$Link" title="<%t SilverShop\Generic.ReadMoreTitle "Click here to read more on &quot;{Title}&quot;" Title=$TableTitle %>">$TableTitle</a>
<% else %>
$TableTitle
<% end_if %>
<% if $SubTitle %>
<span class="subtitle">$SubTitle</span>
<% end_if %>
</td>
<td class="center unitprice">$UnitPrice.Nice</td>
<td class="center quantity">$Quantity</td>
<td class="right total">$Total.Nice</td>
</tr>