<table>
  {{#each articles}}
    <tr class="articlerow">
      <td class="col col-2">
        <a href="/{{this.cSeo}}">
          <img src="/{{this.cVorschaubild}}" class="img-responsive" style="max-height: 80px;">
        </a>
      </td>
      <td class="col col-6">
        <h4 class="title">
          <a href="/{{this.cSeo}}" class="articlelink">{{{this.cName}}}</a>
        </h4>
        <div class="detail">
          <span>{{@root.lang.productcode}}: </span>
          <span>{{this.cArtNr}}</span>
        </div>
      </td>
      <td class="col col-4">
        {{#if @root.darfPreiseSehen}}
          <div class="price">
            {{{this.cUVPLocalized}}} *
          </div>
          <div class="vpe">
            {{{this.cLocalizedVPE}}}
          </div>
        {{else}}
          <div class="noprice">
            {{{../darfPreiseSehenText}}}
          </div>
        {{/if}}
        {{#ifCond this.canBePlacedIntoBasket true}}
          <div class="form-icon">
            <div class="input-group">
              <input type="number" class="form-control" placeholder="Anzahl" name="quantity-{{this.kArtikel}}" min="1"
                value="1" style="position: relative; vertical-align: top; background-color: transparent;">

              <div class="input-group-append">
                <button class="btn btn-primary pushtobasket" data-kartikel="{{this.kArtikel}}">
                  <span class="fas fa-shopping-cart"></span>
                </button>
              </div>
            </div>
          </div>
        {{/ifCond}}
        {{#ifCond this.canBePlacedIntoBasket false}}
          <div class="text-right">
            <a href="/{{this.cSeo}}">{{@root.lang.details}}</a>
          </div>
        {{/ifCond}}
      </td>
    </tr>
  {{/each}}
  {{#ifGT total size}}
    <tr>
      <td colspan="3">
        {{#pagination currentPage pageCount size}}
          <div class="pagination">
            {{#unless startFromFirstPage}}
              <a href="#">&lt;</a>
            {{/unless}}

            {{#each pages}}
              {{#if isCurrent}}
                <a href="#" class="currentPage" data-page="{{page}}">{{page}}</a>
              {{/if}}
              {{#unless isCurrent}}
                <a href="#" data-page="{{page}}">{{page}}</a>
              {{/unless}}
            {{/each}}

            {{#unless endAtLastPage}}
              <a href="#">&gt;</a>
            {{/unless}}
          </div>
        {{/pagination}}
      </td>
    </tr>
  {{/ifGT}}
</table>
