diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-03-22 00:09:56 +0200 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-03-22 00:09:56 +0200 |
commit | 755a894c911d6eb5604b97bee758306c41cd8d4a (patch) | |
tree | 9010b581e346128b2cdacc08987b37136355b01b /app/views/kaminari/gitlab/_first_page.html.haml | |
parent | 1fefd7cbd3ef65d34c36f2b4dd8cedb29200c569 (diff) | |
download | gitlab-ce-755a894c911d6eb5604b97bee758306c41cd8d4a.tar.gz |
Issues pagination
Diffstat (limited to 'app/views/kaminari/gitlab/_first_page.html.haml')
-rw-r--r-- | app/views/kaminari/gitlab/_first_page.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/kaminari/gitlab/_first_page.html.haml b/app/views/kaminari/gitlab/_first_page.html.haml new file mode 100644 index 00000000000..fee8112f6af --- /dev/null +++ b/app/views/kaminari/gitlab/_first_page.html.haml @@ -0,0 +1,9 @@ +-# Link to the "First" page +-# available local variables +-# url: url to the first page +-# current_page: a page object for the currently displayed page +-# num_pages: total number of pages +-# per_page: number of items to fetch per page +-# remote: data-remote +%span.first + = link_to_unless current_page.first?, raw(t 'views.pagination.first'), url, :remote => remote |