silverstripe-webpack/app/templates/SilverShop/Model/Order_Content_ItemLine.ss
2018-08-26 17:46:03 +07:00

23 lines
914 B
Scheme

<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 %>">
<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>