egov_utils 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/common/_grid.html.coffee +2 -2
- data/lib/egov_utils/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c7404de774b1b5bb75b4528608dbf47d049bcafdb9b53d8f8dfb2089ef12ac8
|
4
|
+
data.tar.gz: b748146456eb6e9db1c5cdf9fba4cd523084fe05d99fdc5cadf1ac5f48274356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff6e3b1508eb5e1d5f95e5e8945c2c6d9d99e715b3e096f75484c553aff80bd7f6d3c84fa37e1a2cc7dcced18451dfe563f9465fb65b5e952fe4469dc91879f0
|
7
|
+
data.tar.gz: c5ecb9e8209c7996add1aaca3021b71a6b5ab9464272a605cf0ead3b6312c7981382a365aff1dbddad8afc1c1573651c922b40e44b967d984bdf687b3f8855e4
|
@@ -25,7 +25,7 @@ $ ->
|
|
25
25
|
downloadRecord = (format, index) ->
|
26
26
|
grid = $("#<%= grid_id %>").swidget()
|
27
27
|
item = grid.dataItem(index)
|
28
|
-
|
28
|
+
$(event.target).data('id', item.id)
|
29
29
|
|
30
30
|
<% if local_assigns[:detail_for] %>
|
31
31
|
<% detail_col = schema.column(detail_for) %>
|
@@ -105,7 +105,7 @@ $ ->
|
|
105
105
|
buttons: [
|
106
106
|
<% if can?(:read, schema.model) %>
|
107
107
|
<% local_assigns.fetch(:downloads, {}).each do |format, label| %>
|
108
|
-
{ cls: 'btn btn-sm btn-secondary', caption: '<%= label %>', click: prepareDownload('<%= format %>') },
|
108
|
+
{ cls: 'btn btn-sm btn-secondary <%= "download-button-#{format}" %>', caption: '<%= label %>', click: prepareDownload('<%= format %>') },
|
109
109
|
<% end %>
|
110
110
|
<% end %>
|
111
111
|
<% if can?(:update, schema.model) %>
|
data/lib/egov_utils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: egov_utils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ondřej Ezr
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-11-
|
11
|
+
date: 2021-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|