Sha256: 4b8f4db603eb0a22c7a20d781e4e82c4c40a094b5faec39ae1d88046b4f49abc

Contents?: true

Size: 601 Bytes

Versions: 9

Compression:

Stored size: 601 Bytes

Contents

- rtc_controller_name ||= controller_name
- @controller_names = instance_variable_get("@#{rtc_controller_name}")
- if @controller_names.respond_to?(:total_pages)
  - if @controller_names.length > 0
    = will_paginate(@controller_names, :renderer => PaginationListLinkRenderer, params: params, remote: true, :page => params[:page], :per_page => params[:per_page].presence || @controller_names.per_page)
    .page_entries_info
      = page_entries_info @controller_names
      
  - else
    .rtc_empty_data{style: 'font-size: 11px'}
      = sanitize "Data #{t(rtc_controller_name.singularize)} kosong"

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rich_table_component-0.0.10 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.9 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.8 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.7 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.6 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.5 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.4 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.3 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.2 app/views/rich_table_component/_pagination.html.haml