lyb_devise_admin 0.3.1 → 0.3.2

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.
@@ -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
@@ -20,3 +20,8 @@ de:
20
20
  flash:
21
21
  locked: "Benutzer %{user} gesperrt."
22
22
  unlocked: "Benutzer %{user} freigeschaltet."
23
+
24
+ devise:
25
+ sign_in: Anmelden
26
+ sign_out: Abmelden
27
+ profile: Profil
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module LybDeviseAdmin
4
- VERSION="0.3.1"
4
+ VERSION="0.3.2"
5
5
  end
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.1
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