<table class="product-table">
    <thead>
        <tr>
            <th>
                <a href="$LinkSort('f')">
                    <% _t('FavoriteListPage.TABLE.HeadingName', 'Name') %>
                    <i class="fa $SortIconClass('f')"></i>
                </a>
            </th>
            <th>
                <a href="$LinkSort('n')">
                    <% _t('FavoriteListPage.TABLE.HeadingProductGeneratorName', 'Product Generator') %>
                    <i class="fa $SortIconClass('n')"></i>
                </a>
            </th>
            <th>
                <a href="$LinkSort('d')">
                    <% _t('FavoriteListPage.TABLE.HeadingProductInstanceDate', 'Date') %>
                    <i class="fa $SortIconClass('d')"></i>
                </a>
            </th>
            <th>
                <a href="$LinkSort('c')">
                    <% _t('ClassicViewPage.TABLE.HeadingCategory', 'Category') %>
                    <i class="fa $SortIconClass('c')"></i>
                </a>
            </th>
			<th></th>
        </tr>
    </thead>
    <tbody>
    <% loop $FavoriteList %>
        <tr data-generator-id="$ProductInstance.Generator.ID" data-instance-id="$ProductInstance.ID" data-show-url="products/show/">
            $ProductTableRow
        </tr>
    <% end_loop %>
    </tbody>
    <% if $FavoriteList.MoreThanOnePage %>
      <tfoot>
        <tr>
            <td colspan="4">
                <% include Pagination List=$FavoriteList %>
            </td>
        </tr>
      </tfoot>
    <% end_if %>
</table>
