effective_reports 0.4.4 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 785afdfa4fc380b5a195e473f9305b55ca373c8d32e45753b2016c6cf75841e8
4
- data.tar.gz: 260cc022bee2520239ace914ab140bbb19eb1812a9aaa5a22a8e52d513513efb
3
+ metadata.gz: bab0b4e74a447c50b3df13ac958875e0e0e8cb9bc450ccc7909dc4a76346f12c
4
+ data.tar.gz: 382eec07c9c0cff2acf158189e7efa6d206d7788abb71b6a8e781052163d1339
5
5
  SHA512:
6
- metadata.gz: 41e88a353a63cf6b453db60528cf3dae20c5dd6eb217b58d352bfd248b9ed3491f1b7a0565c8429d6db5c590b015fe70be12e045c4633ab78bcbefa501e69809
7
- data.tar.gz: 38cfca7da087b2b1c52f5be58c8d4acb97493a2c8abafac1ae4eccc3f416a6898d68d657a8b7f68267d74479576777c97a3bba07961a371b15db8e4039b93514
6
+ metadata.gz: 581576fbcb15d9f3245ca22643b21d9ea715a6d3ada1c908d17154d4eb09875b27329037fd43079cf63d27072f3455c7d8d9deba562b555cd86079cf9a2d8d51
7
+ data.tar.gz: ba9f71ac16a7ca0cc6f4cf45b8feee1cac60be99d12b782458e8c8ff01c9425a84ebf44c4241016ecea3b47880592d6a4b41ac10320bab2c2bfaee37c137a78c
@@ -0,0 +1,5 @@
1
+ .col-current_rows_count { width: 150px; }
2
+ .col-notifications { width: 50%; }
3
+ td.col-notifications { padding-left: 1.5rem; }
4
+ .col-notifications > .col-resource_item { display: list-item; list-style-type: disc; }
5
+
@@ -2,14 +2,16 @@ module Admin
2
2
  class EffectiveReportsDatatable < Effective::Datatable
3
3
 
4
4
  datatable do
5
- order :id
5
+ order :updated_at
6
+
6
7
  col :id, visible: false
7
8
 
9
+ col :updated_at, visible: false
8
10
  col :created_at, visible: false
9
11
  col :created_by, visible: false
10
12
 
11
13
  col :title
12
- col :description
14
+ col :description, visible: false
13
15
 
14
16
  col :reportable_class_name, label: 'Resource', search: EffectiveReports.reportable_classes.map(&:to_s), visible: false
15
17
 
@@ -20,7 +22,7 @@ module Admin
20
22
  col :notifications, label: 'Notifications'
21
23
  end
22
24
 
23
- col(:current_rows_count) do |report|
25
+ col :current_rows_count, label: 'Count' do |report|
24
26
  report.collection().count
25
27
  end
26
28
 
@@ -1,3 +1,3 @@
1
1
  module EffectiveReports
2
- VERSION = '0.4.4'.freeze
2
+ VERSION = '0.4.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_reports
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-20 00:00:00.000000000 Z
11
+ date: 2024-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails