chaltron 1.0.3 → 1.0.4
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/README.md +1 -1
- data/app/helpers/chaltron/logs_helper.rb +1 -1
- data/config/locales/en.yml +6 -1
- data/config/locales/it.yml +6 -1
- data/lib/chaltron/version.rb +1 -1
- data/lib/generators/chaltron/templates/app/views/layouts/_footer.html.erb +1 -1
- data/lib/templates/erb/scaffold/edit.html.erb +3 -3
- data/lib/templates/erb/scaffold/index.html.erb +1 -1
- data/lib/templates/erb/scaffold/show.html.erb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fc2f7c172c6b77208c309d457c015abd1e2318c
|
4
|
+
data.tar.gz: 6f30b8ff43381020369ef2fa70baad1c2927d2c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 141ac4414fddb7839f77c0795d3290b4f1a5700feae0e698306306954f4d16fbac247907a0766e3e7b4ae7cb7db2e7b158990175c3618b7aa7d2dc17ff92135b
|
7
|
+
data.tar.gz: 9d77c17117137770e17bb3df380fd2b7f9c2c5335d0ad95900f334f8c00d7a2b3d6067b8fde7711546800cb41eac655157a2b15438ebdd065eb0c599c8ebf331
|
data/README.md
CHANGED
@@ -54,7 +54,7 @@ Chaltron is powered by
|
|
54
54
|
* [cancancan](https://github.com/CanCanCommunity/cancancan/)
|
55
55
|
* [bootstrap](https://github.com/twbs/bootstrap-rubygem)
|
56
56
|
* [font-awesome](https://github.com/FortAwesome/font-awesome-sass)
|
57
|
-
* [datatables](
|
57
|
+
* [datatables](https://github.com/mkhairi/jquery-datatables)
|
58
58
|
|
59
59
|
Refer to [wiki pages](https://github.com/vicvega/chaltron/wiki) for further instructions
|
60
60
|
|
data/config/locales/en.yml
CHANGED
@@ -27,9 +27,14 @@ en:
|
|
27
27
|
already_present: Already present!
|
28
28
|
logs:
|
29
29
|
severity:
|
30
|
+
emerg: Emergency
|
31
|
+
alert: Alert
|
32
|
+
crit: Critical error
|
33
|
+
err: Error
|
34
|
+
warning: Warning
|
35
|
+
notice: Notice
|
30
36
|
info: Info
|
31
37
|
debug: Debug
|
32
|
-
error: Error
|
33
38
|
category:
|
34
39
|
login: Login
|
35
40
|
user_admin: User administration
|
data/config/locales/it.yml
CHANGED
@@ -27,9 +27,14 @@ it:
|
|
27
27
|
already_present: Giá presente!
|
28
28
|
logs:
|
29
29
|
severity:
|
30
|
+
emerg: Emergenza
|
31
|
+
alert: Allarme
|
32
|
+
crit: Errore critico
|
33
|
+
err: Errore
|
34
|
+
warning: Avviso
|
35
|
+
notice: Nota
|
30
36
|
info: Info
|
31
37
|
debug: Debug
|
32
|
-
error: Errore
|
33
38
|
category:
|
34
39
|
login: Login
|
35
40
|
user_admin: Amministrazione utenti
|
data/lib/chaltron/version.rb
CHANGED
@@ -4,5 +4,5 @@
|
|
4
4
|
Created with
|
5
5
|
<%= link_to 'chaltron', 'https://github.com/vicvega/chaltron', class: 'navbar-link' %>
|
6
6
|
<% end %>
|
7
|
-
<%= content_tag :div, revision, class: 'navbar-text
|
7
|
+
<%= content_tag :div, revision, class: 'navbar-text' unless revision.nil? %>
|
8
8
|
</nav>
|
@@ -5,14 +5,14 @@
|
|
5
5
|
<div class='col-md-3'>
|
6
6
|
<div class='list-group'>
|
7
7
|
<%%= link_to <%= index_helper %>_path, class: 'list-group-item list-group-item-action' do %>
|
8
|
-
<%%= icon(
|
8
|
+
<%%= icon(:fas, :list) %> <%= singular_table_name.capitalize %> index
|
9
9
|
<%% end %>
|
10
10
|
<%%= link_to @<%= singular_table_name %>, class: 'list-group-item list-group-item-action' do %>
|
11
|
-
<%%= icon(
|
11
|
+
<%%= icon(:fas, :eye) %> Show
|
12
12
|
<%% end %>
|
13
13
|
<%%= link_to @<%= singular_table_name %>, data: {confirm: 'Are you sure?'},
|
14
14
|
method: :delete, class: 'list-group-item list-group-item-danger list-group-item-action' do %>
|
15
|
-
<%%= icon(
|
15
|
+
<%%= icon(:fas, :trash) %> Delete
|
16
16
|
<%% end %>
|
17
17
|
</div>
|
18
18
|
</div>
|
@@ -5,13 +5,13 @@
|
|
5
5
|
<div class='col-md-3'>
|
6
6
|
<div class='list-group'>
|
7
7
|
<%%= link_to <%= index_helper %>_path, class: 'list-group-item list-group-item-action' do %>
|
8
|
-
<%%= icon(
|
8
|
+
<%%= icon(:fas, :list) %> <%= singular_table_name.capitalize %> index
|
9
9
|
<%% end %>
|
10
10
|
<%%= link_to edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: 'list-group-item list-group-item-action' do %>
|
11
|
-
<%%= icon(
|
11
|
+
<%%= icon(:fas, :wrench) %> Edit
|
12
12
|
<%% end %>
|
13
13
|
<%%= link_to new_<%= singular_table_name %>_path, class: 'list-group-item list-group-item-action' do %>
|
14
|
-
<%%= icon(
|
14
|
+
<%%= icon(:fas, :plus) %> New <%= singular_table_name %>
|
15
15
|
<%% end %>
|
16
16
|
</div>
|
17
17
|
</div>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chaltron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vicvega
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-03-
|
11
|
+
date: 2018-03-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|