{namespace JIRA.Templates.Common} /** * Pagination * * @param currentPage * @param firstPage * @param lastPage * @param totalPages * @param url * @param cssClass */ {template .pagination}
    {if $firstPage < $lastPage}
  1. {getText('common.words.previous')}
  2. {for $page in range($firstPage, $lastPage + 1)} {if $page == $currentPage}
  3. {$page}
  4. {else}
  5. {$page}
  6. {/if} {/for}
  7. {getText('common.words.next')}
  8. {/if}
{/template}