Sha256: 3467a8495b46a2c7d33782b143921ec4a8f4784cb0e7a7dd0aff715b59ef4336

Contents?: true

Size: 617 Bytes

Versions: 14

Compression:

Stored size: 617 Bytes

Contents

- if @total_size > @count
  .pagination.pagination-right
    ul
      li class="#{'disabled' if @current_page == 1}"
        a href="#{url}?page=1" «
      - if @current_page > 1
        li
          a href="#{url}?page=#{@current_page - 1}" #{@current_page - 1}
      li.disabled
        a href="#{url}?page=#{@current_page}" #{@current_page}
      - if @total_size > @current_page * @count
        li
          a href="#{url}?page=#{@current_page + 1}" #{@current_page + 1}
      li class="#{'disabled' if @total_size <= @current_page * @count}"
        a href="#{url}?page=#{(@total_size.to_f / @count).ceil}" »

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
sidekiq-2.13.1 web/views/_paging.slim
sidekiq-2.13.0 web/views/_paging.slim
sidekiq-2.12.4 web/views/_paging.slim
sidekiq-2.12.3 web/views/_paging.slim
sidekiq-2.12.1 web/views/_paging.slim
sidekiq-2.12.0 web/views/_paging.slim
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_paging.slim
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/sidekiq-2.11.2/web/views/_paging.slim
sidekiq-2.11.2 web/views/_paging.slim
sidekiq-2.11.1 web/views/_paging.slim
sidekiq-2.11.0 web/views/_paging.slim
sidekiq-2.10.1 web/views/_paging.slim
sidekiq-2.10.0 web/views/_paging.slim
sidekiq-2.9.0 web/views/_paging.slim