chaltron 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c137626426ad577a84df81068a09611fbcc40cd0
4
- data.tar.gz: 9e3800ab7f2610b444bb8ad9f8e9c20e8a655542
3
+ metadata.gz: 1fc2f7c172c6b77208c309d457c015abd1e2318c
4
+ data.tar.gz: 6f30b8ff43381020369ef2fa70baad1c2927d2c9
5
5
  SHA512:
6
- metadata.gz: 7d8213a9292b9463a63f139935ea62f677248e9a07a3da953222d0c3ed67a6bf3a4559f20e31bbac09ca275dea9ef339ec56a77b59a827787581282a7394210c
7
- data.tar.gz: b34b3ff7e0bc27b1451b61991cacf23cd87f55360cf998393dbec091fc7e84cb5970d558520ece8f52ae29df53e16bb46a70897f2137b6f45fc5e7153edbaeca
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](http://datatables.net/)
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
 
@@ -3,7 +3,7 @@ module Chaltron::LogsHelper
3
3
  case severity.to_s
4
4
  when 'emerg', 'alert', 'crit', 'err'
5
5
  'danger'
6
- when 'warning', 'notice'
6
+ when 'warning'
7
7
  'warning'
8
8
  when 'debug'
9
9
  'info'
@@ -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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Chaltron
2
- VERSION = '1.0.3'
2
+ VERSION = '1.0.4'.freeze
3
3
  end
@@ -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 ' unless revision.nil? %>
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('list') %> <%= singular_table_name.capitalize %> index
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('eye') %> Show
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('trash') %> Delete
15
+ <%%= icon(:fas, :trash) %> Delete
16
16
  <%% end %>
17
17
  </div>
18
18
  </div>
@@ -18,6 +18,6 @@
18
18
  </div>
19
19
  <hr>
20
20
  <%%= link_to new_<%= singular_table_name %>_path, class: 'btn btn-primary btn-lg' do %>
21
- <%%= icon('plus') %> New
21
+ <%%= icon(:fas, :plus) %> New
22
22
  <%% end %>
23
23
  </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('list') %> <%= singular_table_name.capitalize %> index
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('wrench') %> Edit
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('plus') %> New <%= singular_table_name %>
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.3
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-12 00:00:00.000000000 Z
11
+ date: 2018-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails