lyb_devise_admin 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/app/views/users/_user_bar.html.haml +10 -0
- data/config/locales/de.yml +5 -0
- data/lib/lyb_devise_admin/version.rb +1 -1
- metadata +2 -1
@@ -0,0 +1,10 @@
|
|
1
|
+
- if user_signed_in?
|
2
|
+
.btn-group.pull-right
|
3
|
+
= link_to '#', :class => 'btn dropdown-toggle', 'data-toggle' => 'dropdown' do
|
4
|
+
%i.icon-user
|
5
|
+
= current_user
|
6
|
+
%span.caret
|
7
|
+
%ul.dropdown-menu
|
8
|
+
%li= link_to t('devise.profile'), current_user
|
9
|
+
%li.divider
|
10
|
+
%li= link_to t('devise.sign_out'), destroy_user_session_path, :method => :delete
|
data/config/locales/de.yml
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lyb_devise_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -26,6 +26,7 @@ files:
|
|
26
26
|
- app/views/users/_list.html.haml
|
27
27
|
- app/views/users/_show.html.haml
|
28
28
|
- app/views/users/_user.html.haml
|
29
|
+
- app/views/users/_user_bar.html.haml
|
29
30
|
- config/locales/de.yml
|
30
31
|
- config/routes.rb
|
31
32
|
- lib/lyb_devise_admin.rb
|