zuora_connect_ui 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/views/partials/_table.html.erb +5 -2
- data/lib/zuora_connect_ui/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d423707dd719c46d6d5c82b0140258928f1d72db
|
4
|
+
data.tar.gz: 456b11ca8a62f9f6a514ddb470d049b315414801
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71eff86252d864f8119761c6b6a4b4a665a15e4015aa7ffa0fc6a8361737d798e1416420ac5f83a301830287fdca4179308d4b6bf6b646616bdc5e71779b31df
|
7
|
+
data.tar.gz: 6e62f36f357a750d5040979716f45c98bd9379914810740853a561241c994f69c6482754c3e9a0b5cefaa97e4c56c2028a8c0404a039c2305c5bc56feeac926d
|
@@ -1,5 +1,6 @@
|
|
1
1
|
<% debug = defined?(debug) ? debug : false %>
|
2
2
|
<% defer_loading = defined?(defer_loading) ? defer_loading : false %>
|
3
|
+
<% quick_loading = defined?(quick_loading) ? quick_loading : false %>
|
3
4
|
|
4
5
|
<div id="<%= table_name %>_content">
|
5
6
|
<div class="table-header">
|
@@ -115,7 +116,7 @@
|
|
115
116
|
|
116
117
|
var <%= table_name %> = $('#<%= table_name %>').dataTable({
|
117
118
|
"sDom": "t<'grid_view'><'table-footer'i<'#<%= table_name %>_select_container.select_container'>p>",
|
118
|
-
"pagingType": "full_numbers",
|
119
|
+
"pagingType": "<%= quick_loading ? 'simple' : 'full_numbers' %>",
|
119
120
|
"language" : {
|
120
121
|
"paginate" : {
|
121
122
|
"previous" : "<span class='z-icon-arrow-left' />",
|
@@ -124,6 +125,7 @@
|
|
124
125
|
},
|
125
126
|
"bProcessing": true,
|
126
127
|
"bServerSide": true,
|
128
|
+
"bInfo": <%= !quick_loading %>,
|
127
129
|
"colReorder": true,
|
128
130
|
<% if defined?(table_group_actions) && table_group_actions.present? %>
|
129
131
|
"select": { style: 'multi'},
|
@@ -138,7 +140,8 @@
|
|
138
140
|
"fnServerParams": function ( aoData ) {
|
139
141
|
aoData.push(
|
140
142
|
{ "name": "table_view_mode", "value": getTableViewMode('<%= table_name %>', view) },
|
141
|
-
{ "name": "sSearch", "value": $('#<%= table_name %>_search').val() }
|
143
|
+
{ "name": "sSearch", "value": $('#<%= table_name %>_search').val() },
|
144
|
+
{ "name": "table_quick_load", "value": "<%= quick_loading ? 'simple' : 'full_numbers' %>"}
|
142
145
|
);
|
143
146
|
<% if !aoData.blank? %>
|
144
147
|
<% aoData.each do |data| %>
|