devise_rails3_ennder 1.0.4 → 1.0.5

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.
data/History.txt CHANGED
@@ -20,3 +20,8 @@
20
20
 
21
21
  == 1.0.4 / 2011-08-14
22
22
  * README.rdoc updated
23
+
24
+ == 1.0.5 / 2011-08-14
25
+ * README.rdoc updated
26
+ * shared/_user_nav.html.erb optimisé
27
+
data/README.rdoc CHANGED
@@ -16,7 +16,7 @@ You will have to provide this partial filled with you User personal fields input
16
16
 
17
17
  devise_for :users
18
18
 
19
- +This gem does not (you have to do it yoursel):+
19
+ +This gem does not (you have to do it yourself):+
20
20
  * install the *warden* and *devise* gems
21
21
  * lauch the 3 rake tasks
22
22
  * add the before_filter instruction to your ApplicationController:
@@ -1,10 +1,10 @@
1
- <div id="user_nav" align="right">
1
+ <div id="user_nav" align="right">
2
2
  <%
3
3
  if user_signed_in?
4
- %> <%= t('devise.sessions.signed_in_as') %> <b><%= current_user.email %></b>.&nbsp;&nbsp;&nbsp;<%= link_to t('devise.sessions.Logout'), destroy_user_session_path %>&nbsp;&nbsp;&nbsp;<%= link_to t('devise.registrations.edit'), edit_user_registration_path %><%
4
+ %> <%= t('devise.sessions.signed_in_as') %> <b><%= current_user.email %></b>.&nbsp;&nbsp;&nbsp;<%= link_to t('devise.sessions.Logout'), destroy_user_session_path %>&nbsp;&nbsp;&nbsp;<%= link_to t('devise.registrations.edit'), edit_user_registration_path %><%
5
5
  else
6
- %> <%= link_to( t('devise.registrations.link'), new_user_registration_path ) %> <%= t('devise.sessions.or') %> <%= link_to( t('devise.sessions.link'), new_user_session_path ) %><%
7
- end
6
+ %> <%= link_to( t('devise.registrations.link'), new_user_registration_path ) %> <%= t('devise.sessions.or') %> <%= link_to( t('devise.sessions.link'), new_user_session_path ) %><%
7
+ end
8
8
 
9
9
  if I18n.locale == :en
10
10
  %> [&nbsp;en&nbsp;|&nbsp;<%= link_to 'fr', url_for(:locale => 'fr') %>&nbsp;]<%
@@ -12,4 +12,4 @@
12
12
  %> [&nbsp;<%= link_to 'en', url_for(:locale => 'en') %>&nbsp;|&nbsp;fr&nbsp;]<%
13
13
  end
14
14
  %>
15
- </div>
15
+ </div>
data/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.4
1
+ 1.0.5
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: devise_rails3_ennder
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.4
5
+ version: 1.0.5
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Jos\xC3\xA9 VALIM, Carlos ANT\xC3\x94NIO, J\xC3\xA9r\xC3\xB4me BATAILLE"