diff options
author | Kushal Pandya <kushal@gitlab.com> | 2016-12-23 15:07:12 +0530 |
---|---|---|
committer | Kushal Pandya <kushal@gitlab.com> | 2016-12-31 11:43:08 +0530 |
commit | dd5ffd9ca648dba4c0b58be2172cd14c428fa654 (patch) | |
tree | c83bff9e852b8dacefb3cee11920bde1c8d0eb81 /app/views/kaminari | |
parent | 7157f5857a187cfa7011ef7e0077d599e846d452 (diff) | |
download | gitlab-ce-dd5ffd9ca648dba4c0b58be2172cd14c428fa654.tar.gz |
HAMLLint: Fix `ImplicitDiv` offences
Diffstat (limited to 'app/views/kaminari')
-rw-r--r-- | app/views/kaminari/gitlab/_paginator.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/kaminari/gitlab/_paginator.html.haml b/app/views/kaminari/gitlab/_paginator.html.haml index f5e0d2ed3f3..8fe6bd653ae 100644 --- a/app/views/kaminari/gitlab/_paginator.html.haml +++ b/app/views/kaminari/gitlab/_paginator.html.haml @@ -6,7 +6,7 @@ -# remote: data-remote -# paginator: the paginator that renders the pagination tags inside = paginator.render do - %div.gl-pagination + .gl-pagination %ul.pagination.clearfix - unless current_page.first? = first_page_tag unless total_pages < 5 # As kaminari will always show the first 5 pages @@ -19,4 +19,3 @@ = next_page_tag - unless current_page.last? = last_page_tag unless total_pages < 5 - |