slash_admin 1.2.0 → 1.2.1

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: 3076a02b7ac9bdec780ff285197d489ee05a27f81343e5b47f09d327929f2287
4
- data.tar.gz: 94e9fdabd365ad4e0d3366dcdcd9794bcc73bd1b7562f805987b6d9ebdf35575
3
+ metadata.gz: ebe752f1d9c7b3db8257c911d1d8d22266be1ca3b82f6e8fe46e884e8d2ac5d3
4
+ data.tar.gz: 73e5dc332ed479b79e9e8d1c0e2a84cd58c49dbe75ead00ab42803f2bc7754c7
5
5
  SHA512:
6
- metadata.gz: 6aff6a578fdfabc8a06ba9ddf6e2eb3133d9c6e5706b7dd2cb5633e804d3ab0c40acd30bd9cf95be8020a784ce77fce21ae51dde700fa82aad5766cf022f2c32
7
- data.tar.gz: 89b7b2435b230a9ed1076fc71d9acef3999ca8f149c4aa8b4fb37ab8b57fa02ca45bea41e0fb7c72b9f0c6dc2a91c07863984763f2b7aef41e0deaf47ca3b7eb
6
+ metadata.gz: 980ea6895531a10a5ec28af525c98adb5170f3c198e54e510ccaca4232bf0209acbac781c14295256a6d8ffebd7bb3767c1a44055204f3ed41b33ad176cb02ac
7
+ data.tar.gz: 3698513797002065186e88cc1cbd57d67adabd2fb557f1746ebd18fbba5a62360a5b379d04354ef795f3490d8333d66e742e2b489ccee010d4ac139bfbb19e62
@@ -0,0 +1,3 @@
1
+ //= link_tree ../images
2
+ //= link_directory ../javascripts/slash_admin .js
3
+ //= link_directory ../stylesheets/slash_admin scss
@@ -8,7 +8,7 @@
8
8
  <div class="section-separator"></div>
9
9
  <div class="section-separator"></div>
10
10
  <h1 class="main-title">Administration</h1>
11
- <span class="sub-title"><%= I18n.t('dol.fill_login_and_password') %></span>
11
+ <span class="sub-title"><%= I18n.t('slash_admin.view.fill_login_and_password') %></span>
12
12
  <div class="section-separator"></div>
13
13
  <div class="content-width content-login">
14
14
  <%= form_for(:admin, url: '') do |f| %>
@@ -13,6 +13,7 @@ en:
13
13
  error: Impossible to create '%{model_name}'
14
14
  success: Operation successed.
15
15
  view:
16
+ fill_login_and_password: "Please enter your credentials to proceed."
16
17
  administration: Administration
17
18
  home: Home
18
19
  welcome: Alow you to administrate your application
@@ -13,6 +13,7 @@ fr:
13
13
  error: Impossible de trier '%{model_name}'
14
14
  success: Opération réussi.
15
15
  view:
16
+ fill_login_and_password: "Merci d'entrer votre identifiant et mot de passe."
16
17
  administration: Administration
17
18
  home: Accueil
18
19
  welcome: Vous permet d'administrer votre application
@@ -1,8 +1,13 @@
1
1
  module SlashAdmin
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace SlashAdmin
4
- config.to_prepare do
5
- Rails.application.config.assets.precompile += %w[slash_admin/*]
4
+
5
+ initializer "slash_admin.assets.precompile" do |app|
6
+ app.config.assets.precompile += %w[slash_admin/*]
6
7
  end
8
+
9
+ # config.to_prepare do
10
+ # Rails.application.config.assets.precompile += %w[slash_admin/*]
11
+ # end
7
12
  end
8
13
  end
@@ -1,3 +1,3 @@
1
1
  module SlashAdmin
2
- VERSION = "1.2.0"
2
+ VERSION = "1.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slash_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - KOVACS Nicolas
@@ -298,7 +298,7 @@ extensions: []
298
298
  extra_rdoc_files: []
299
299
  files:
300
300
  - README.md
301
- - app/assets/config/relax_admin_manifest.js
301
+ - app/assets/config/slash_admin_manifest.js
302
302
  - app/assets/images/slash_admin/de.png
303
303
  - app/assets/images/slash_admin/en.png
304
304
  - app/assets/images/slash_admin/es.png
@@ -1,2 +0,0 @@
1
- //= link_directory ../javascripts/slash_admin .js
2
- //= link_directory ../stylesheets/slash_admin .css