<ul>
    {{#each handles}}
        <li {{#if className}}class="{{className}}"{{/if}}>
            {{#if pageNumber}}
                <span>{{label}}</span>
            {{else}}
            <i class="pager-btn clickable {{label}}" data-action="{{action}}"/>
            {{/if}}
        </li>
    {{/each}}
</ul>
