Sha256: d75e177e07da84221ccf40b0ae24e2b45e49ac7432e2f6ed0fc87f060109cc4b

Contents?: true

Size: 641 Bytes

Versions: 14

Compression:

Stored size: 641 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) || fake_pagination(rtc_controller_name)
    .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

14 entries across 14 versions & 1 rubygems

Version Path
rich_table_component-0.0.30 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.29 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.28 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.27 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.26 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.24 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.22 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.21 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.18 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.17 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.16 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.15 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.14 app/views/rich_table_component/_pagination.html.haml
rich_table_component-0.0.13 app/views/rich_table_component/_pagination.html.haml