zutils 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/app/assets/javascripts/zutils.js +1 -1
- data/app/assets/stylesheets/zutils.scss +0 -0
- data/app/views/shared/_action_links.html.erb +0 -0
- data/app/views/shared/_fields.html.erb +0 -0
- data/app/views/shared/_form.html.erb +0 -0
- data/app/views/shared/_index.html.erb +5 -2
- data/app/views/shared/_list.html.erb +0 -0
- data/app/views/shared/_modal.html.erb +0 -0
- data/app/views/shared/_show.html.erb +0 -0
- data/bin/console +0 -0
- data/bin/setup +0 -0
- data/lib/zutils/engine.rb +0 -0
- data/lib/zutils/version.rb +1 -1
- data/lib/zutils.rb +0 -0
- data/zutils.gemspec +0 -0
- 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: 160377b52e19d0d783a832a833e6d1b650f9f5b9c627e708555f55803ccda183
|
4
|
+
data.tar.gz: 1acfa0727db0c49be6ffc58f0668677396941faf375760a6b8769a7ef68aa3f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82f3ee65bd3fc78f4f24de539f09d9037c6d7b9e358fcad0328fe92ef7eff30b7e874f40014938e1f5a5ef23412761a9bc77a931f1d2ebb49137dd9adeb11ce5
|
7
|
+
data.tar.gz: f8eda3f402e0417e08b804274c816542db33aad21c27d5b22f569d5de0345419fc4f66bddec48dcd0438d086851bff245a0daff56e6d7e8aed665f840e6f1c6c
|
data/.gitignore
CHANGED
File without changes
|
data/CODE_OF_CONDUCT.md
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -5,6 +5,7 @@
|
|
5
5
|
<% nested_resource ||= false %>
|
6
6
|
<% excluded_columns ||= [] %>
|
7
7
|
<% additional_columns ||= [] %>
|
8
|
+
<% additional_actions ||= [] %>
|
8
9
|
<% box_class ||= 'primary' %>
|
9
10
|
|
10
11
|
<div class='box box-<%= box_class %>'>
|
@@ -36,7 +37,9 @@
|
|
36
37
|
</table>
|
37
38
|
<% else %>
|
38
39
|
<%= render 'shared/list', list: list, exceptions: exceptions, excluded_columns: excluded_columns,
|
39
|
-
additional_columns: additional_columns, sort_fields: sort_fields, sort_all: sort_all
|
40
|
+
additional_columns: additional_columns, sort_fields: sort_fields, sort_all: sort_all,
|
41
|
+
additional_actions: additional_actions
|
42
|
+
%>
|
40
43
|
<% if defined? list.total_pages %>
|
41
44
|
<div class='col-md-4'>
|
42
45
|
<%= page_entries_info list, entry_name: 'resultado(s)' %>
|
@@ -53,7 +56,7 @@
|
|
53
56
|
|
54
57
|
<% unless controller_name == 'users' %>
|
55
58
|
<div class="box-footer">
|
56
|
-
<% if can? :new,
|
59
|
+
<% if can? :new, controller_name.singularize %>
|
57
60
|
<% if nested_resource == true %>
|
58
61
|
<% if parent_resource %>
|
59
62
|
<%= link_to eval("new_#{parent_resource.class.model_name.singular}_#{list.klass.model_name.singular}_path(#{parent_resource.id})"), class: "btn btn-#{box_class}" do %>
|
File without changes
|
File without changes
|
File without changes
|
data/bin/console
CHANGED
File without changes
|
data/bin/setup
CHANGED
File without changes
|
data/lib/zutils/engine.rb
CHANGED
File without changes
|
data/lib/zutils/version.rb
CHANGED
data/lib/zutils.rb
CHANGED
File without changes
|
data/zutils.gemspec
CHANGED
File without changes
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ricardo Viana
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-03-
|
11
|
+
date: 2019-03-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|