agilidee-devise 1.1.1 → 1.1.2

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
  SHA256:
3
- metadata.gz: bc87a749dfffd7247ce9880249be4684027951d0500d47d1c1285021e8140bcc
4
- data.tar.gz: 352b42eb7f51647c7638727db2d69953d6f1ec4619fc330b89936b99c1cd7c0d
3
+ metadata.gz: 15d01babff97e30508150b3f7de1a5874b29d3695ea322f4e08e5468ed503970
4
+ data.tar.gz: 5a6da2c0a5cc01a110f7ab89bfc3e2b32fa7823485b05fe1781a17fb3961d5a0
5
5
  SHA512:
6
- metadata.gz: d22fc1756700aa54f67f88fbb629aa2cf9b569c0703d768f09285f87890981c675b972127d1194f5585d554a567025c406e06fea1e428fedeaa8ceb023cdf00e
7
- data.tar.gz: 805d24b57c628e4811ce0cdc3a52a01244a9cf8cde3b14393ec85a6045d0811c17a8fd8b6659af5e8f9ea7337d8ba5160a9becf0fc1f995ea67c7f982a6ca914
6
+ metadata.gz: 94fa499c9749f5b22b1ae0cf3d019152a1c6fc275e01a2e584ea4aa23e2fb33067e314604688b79dcb86ab904ea033d4a4aeedef399c6c664853aeb69da44e25
7
+ data.tar.gz: 0a231e6f0363034988c1f7645ca744ad7f669f55342d87b400b93cac43fc4600ea996e9287263b50fe3687380d8eec676bb41902385f55f9a7814349f4ed5fb8
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.1.2
4
+
5
+ - I18n changes
6
+ - HTML improvements
7
+
3
8
  ## 1.1.1
4
9
 
5
10
  - Add missing translation
@@ -11,7 +11,7 @@ module AgilideeDevise::ApplicationHelper
11
11
  html = <<-HTML
12
12
  <div class="alert alert-danger alert-block alert-devise">
13
13
  <button type="button" class="close" data-dismiss="alert">&times;</button>
14
- <h5>#{sentence}</h5>
14
+ <p>#{sentence}</p>
15
15
  <ul>#{messages}</ul>
16
16
  </div>
17
17
  HTML
@@ -8,4 +8,4 @@
8
8
 
9
9
  = f.submit t(".resend_confirmation_instructions"), class: "btn btn-primary"
10
10
 
11
- = render "devise/shared/links"
11
+ = render "devise/shared/links"
@@ -14,4 +14,4 @@
14
14
 
15
15
  = f.submit t(".change_my_password"), class: "btn btn-primary"
16
16
 
17
- = render "devise/shared/links"
17
+ = render "devise/shared/links"
@@ -8,4 +8,4 @@
8
8
 
9
9
  = f.submit t(".send_me_reset_password_instructions"), class: "btn btn-primary"
10
10
 
11
- = render "devise/shared/links"
11
+ = render "devise/shared/links"
@@ -22,9 +22,10 @@
22
22
 
23
23
  = f.submit t(".update"), class: "btn btn-primary"
24
24
 
25
- p
26
- = t(".unhappy")
27
- = " "
28
- = link_to t(".cancel_my_account"), registration_path(resource_name), data: { confirm: t(".are_you_sure") }, method: :delete
25
+ .devise-bottom-links
26
+ p
27
+ = t(".unhappy")
28
+ = " "
29
+ = link_to t(".cancel_my_account"), registration_path(resource_name), data: { confirm: t(".are_you_sure") }, method: :delete
29
30
 
30
- = link_to t(".back"), :back
31
+ = link_to t(".back"), :back
@@ -16,4 +16,4 @@
16
16
 
17
17
  = f.submit t(".sign_up"), class: "btn btn-primary"
18
18
 
19
- = render "devise/shared/links"
19
+ = render "devise/shared/links"
@@ -17,4 +17,4 @@
17
17
 
18
18
  = f.submit t(".sign_in"), class: "btn btn-primary"
19
19
 
20
- = render "devise/shared/links"
20
+ = render "devise/shared/links"
@@ -1,24 +1,25 @@
1
- - if controller_name != "sessions"
2
- = link_to t(".sign_in"), new_session_path(resource_name)
3
- br
4
-
5
- - if devise_mapping.registerable? && controller_name != "registrations"
6
- = link_to t(".sign_up"), new_registration_path(resource_name)
7
- br
1
+ .devise-bottom-links
2
+ - if controller_name != "sessions"
3
+ = link_to t(".sign_in"), new_session_path(resource_name)
4
+ br
8
5
 
9
- - if devise_mapping.recoverable? && controller_name != "passwords"
10
- = link_to t(".forgot_your_password"), new_password_path(resource_name)
11
- br
6
+ - if devise_mapping.registerable? && controller_name != "registrations"
7
+ = link_to t(".sign_up"), new_registration_path(resource_name)
8
+ br
12
9
 
13
- - if devise_mapping.confirmable? && controller_name != "confirmations"
14
- = link_to t(".didn_t_receive_confirmation_instructions"), new_confirmation_path(resource_name)
15
- br
10
+ - if devise_mapping.recoverable? && controller_name != "passwords"
11
+ = link_to t(".forgot_your_password"), new_password_path(resource_name)
12
+ br
16
13
 
17
- - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != "unlocks"
18
- = link_to t(".didn_t_receive_unlock_instructions"), new_unlock_path(resource_name)
19
- br
14
+ - if devise_mapping.confirmable? && controller_name != "confirmations"
15
+ = link_to t(".didn_t_receive_confirmation_instructions"), new_confirmation_path(resource_name)
16
+ br
20
17
 
21
- - if devise_mapping.omniauthable?
22
- - resource_class.omniauth_providers.each do |provider|
23
- = link_to t(".sign_in_with_provider", provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider)
18
+ - if devise_mapping.lockable? && resource_class.unlock_strategy_enabled?(:email) && controller_name != "unlocks"
19
+ = link_to t(".didn_t_receive_unlock_instructions"), new_unlock_path(resource_name)
24
20
  br
21
+
22
+ - if devise_mapping.omniauthable?
23
+ - resource_class.omniauth_providers.each do |provider|
24
+ = link_to t(".sign_in_with_provider", provider: provider.to_s.titleize), omniauth_authorize_path(resource_name, provider)
25
+ br
@@ -8,4 +8,4 @@
8
8
 
9
9
  = f.submit t(".resend_unlock_instructions"), class: "btn btn-primary"
10
10
 
11
- = render "devise/shared/links"
11
+ = render "devise/shared/links"
@@ -117,5 +117,5 @@ fr:
117
117
  not_found: n’a pas été trouvé(e)
118
118
  not_locked: n’était pas verrouillé(e)
119
119
  not_saved:
120
- one: 'une erreur a empêché ce (cet ou cette) %{resource} d’être enregistré(e) :'
121
- other: "%{count} erreurs ont empêché ce (cet ou cette) %{resource} d’être enregistré(e) :"
120
+ one: 'Une erreur est survenue :'
121
+ other: "Des erreurs sont survenues :"
@@ -1,3 +1,3 @@
1
1
  module AgilideeDevise
2
- VERSION = "1.1.1"
2
+ VERSION = "1.1.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilidee-devise
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-05-08 00:00:00.000000000 Z
11
+ date: 2018-12-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise