ecm_user_area2 3.0.3 → 3.1.0

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
  SHA1:
3
- metadata.gz: b4698646a5a36f73c3fbcd5414a70032a206aa6d
4
- data.tar.gz: b557e7362c5c18839a67953b8ca38210ddbda3fa
3
+ metadata.gz: ee9c1781d33dfddecdc0c634fda392f7dbd1e26c
4
+ data.tar.gz: 375ccda93f4b6a4533900979e42526e58394e4b6
5
5
  SHA512:
6
- metadata.gz: 64fcad49fc6ddf24bb0e8ca393e7e3815444d013fde0b90c6360a1a9c530312c175f2779ad7c33e263df936782a605258d4a961b1cd0d8131e7782376ea39407
7
- data.tar.gz: 7fb95e9e86e26cabf6df94d5eb2ee8dd7a817d2f99109a31bd0636957297971fa6d235b0c55198b971de81ef0013b4b0872f8dbd6bcb2b589a67e54089d1e817
6
+ metadata.gz: 33c41c162e7d4c0a5723ed87d81c893f2e673084b543bc2b5b02c2fa3cc905832acad053b858911ada11e4fb1fb08ee7b0722815442d2e57c2f894d94f6a67b7
7
+ data.tar.gz: a0a9b4659b8180db2b7fd794ff8e2e63497f7eb16d9c0e9fcfe2f04f53e7d9ceaf66669d4dc0319075f93a0ecf7664fdf56b2bfdd1eafdd1af06e1858f83d78e
@@ -5,7 +5,7 @@
5
5
  = t('.not_signed_in')
6
6
  %ul.nav.navbar-nav
7
7
  - if user_signed_in?
8
- %li= link_to t('.edit'), ecm_user_area.edit_current_user_path
8
+ %li= link_to t('.show'), ecm_user_area.current_user_path
9
9
  %li= link_to t('.sign_out'), ecm_user_area.user_session_path, method: :delete
10
10
  - else
11
11
  %li= link_to t('.sign_in'), ecm_user_area.new_user_session_path
@@ -2,13 +2,13 @@
2
2
  = table.row :single_access_token
3
3
  = table.row :login_count
4
4
  = table.row :failed_login_count
5
- = table.row :last_request_at
6
- = table.row :current_login_at
7
- = table.row :last_login_at
5
+ = table.timestamp :last_request_at
6
+ = table.timestamp :current_login_at
7
+ = table.timestamp :last_login_at
8
8
  = table.row :current_login_ip
9
9
  = table.row :last_login_ip
10
10
  = table.row :active
11
+ = table.row :confirmed
11
12
  = table.row :approved
12
- = table.row :approved
13
- = table.row :created_at
14
- = table.row :updated_at
13
+ = table.timestamp :created_at
14
+ = table.timestamp :updated_at
@@ -1,4 +1,4 @@
1
- .panel.panel-default
1
+ .panel.panel-default.mb-2
2
2
  .panel-heading
3
3
  %h1= t('.title', inflections)
4
4
  .panel-body
@@ -2,12 +2,12 @@
2
2
 
3
3
  #page-title.bottom-margin-1
4
4
  .row
5
- .col-xs-8
5
+ .col-xs-8.col-8.mr-auto
6
6
  %h1= @resource.human
7
- .col-xs-4
7
+ .col-xs-4.col-4
8
8
  #page-actions.btn-container-right
9
9
  - if Ecm::UserArea::Configuration.allow_users_to_destroy_self
10
- .pull-right
10
+ .pull-right.text-right
11
11
  = link_to(ecm_user_area.current_user_path, method: :delete, class: 'btn btn-danger btn-responsive', 'data-confirm': I18n.t('confirmations.delete')) do
12
12
  %span.glyphicon.glyphicon-fire
13
13
  %span.btn-text= t('.destroy')
@@ -22,12 +22,13 @@
22
22
  = render 'show_extras', resource: @resource
23
23
 
24
24
  .well.well-sm
25
- = link_to(ecm_user_area.user_session_path, class: 'btn btn-warning btn-responsive', method: :delete) do
26
- %span.glyphicon.glyphicon-pencil
27
- %span.btn-text= t('.sign_out')
28
- = link_to(ecm_user_area.edit_current_user_path, class: 'btn btn-primary btn-responsive') do
29
- %span.glyphicon.glyphicon-pencil
30
- %span.btn-text= t('.edit')
25
+ .btn-group
26
+ = link_to(ecm_user_area.user_session_path, class: 'btn btn-warning btn-responsive', method: :delete) do
27
+ %span.glyphicon.glyphicon-pencil
28
+ %span.btn-text= t('.sign_out')
29
+ = link_to(ecm_user_area.edit_current_user_path, class: 'btn btn-primary btn-responsive') do
30
+ %span.glyphicon.glyphicon-pencil
31
+ %span.btn-text= t('.edit')
31
32
  = link_to main_app.root_path, class: 'btn btn-default btn-responsive pull-right' do
32
33
  %span.glyphicon.glyphicon-arrow-left
33
34
  %span.btn-text= t('.back')
@@ -8,7 +8,7 @@
8
8
  %span.caret
9
9
  %ul.dropdown-menu
10
10
  - if user_signed_in?
11
- %li= link_to t('.edit'), ecm_user_area.edit_current_user_path
11
+ %li= link_to t('.show'), ecm_user_area.current_user_path
12
12
  %li= link_to t('.sign_out'), ecm_user_area.user_session_path, method: :delete
13
13
  - else
14
14
  %li= link_to t('.sign_in'), ecm_user_area.new_user_session_path
@@ -6,7 +6,7 @@
6
6
  = t('.not_signed_in')
7
7
  .dropdown-menu{"aria-labelledby" => "dropdown02"}
8
8
  - if user_signed_in?
9
- = link_to t('.edit'), ecm_user_area.edit_current_user_path, class: 'dropdown-item'
9
+ = link_to t('.show'), ecm_user_area.current_user_path, class: 'dropdown-item'
10
10
  = link_to t('.sign_out'), ecm_user_area.user_session_path, class: 'dropdown-item', method: :delete
11
11
  - else
12
12
  = link_to t('.sign_in'), ecm_user_area.new_user_session_path, class: 'dropdown-item'
@@ -1,4 +1,4 @@
1
- %div.panel.panel-default
1
+ %div.panel.panel-default.mb-2
2
2
  %div.panel-heading
3
3
  %h1= t('.title', inflections)
4
4
  %div.panel-body
@@ -1,4 +1,4 @@
1
- %div.panel.panel-default
1
+ %div.panel.panel-default.mb-2
2
2
  %div.panel-heading
3
3
  %h1= t('.title', resource: @resource.email)
4
4
  %div.panel-body
@@ -1,4 +1,4 @@
1
- %div.panel.panel-default
1
+ %div.panel.panel-default.mb-2
2
2
  %div.panel-heading
3
3
  %h1= t('.title', inflections)
4
4
  %div.panel-body
@@ -44,7 +44,7 @@ de:
44
44
  ecm:
45
45
  user_area:
46
46
  navigation: &navigation
47
- edit: Mein Account
47
+ show: Mein Account
48
48
  new: Registrieren
49
49
  not_signed_in: Nicht angemeldet
50
50
  sign_in: Einloggen
@@ -92,6 +92,7 @@ de:
92
92
  base:
93
93
  show:
94
94
  sign_out: Ausloggen
95
+ flash:
95
96
  ecm:
96
97
  user_area:
97
98
  user_password_resets:
@@ -99,7 +100,7 @@ de:
99
100
  notice: 'Passwort aktualisiert'
100
101
  user_password_reset_requests:
101
102
  create:
102
- notice: 'Anweisungen zum zurücksetzen des Passworts versandt'
103
+ notice: 'Anweisungen zum zurücksetzen des Passworts versandt.'
103
104
  helpers:
104
105
  submit:
105
106
  user_password_reset_request:
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module UserArea
3
- VERSION = '3.0.3'.freeze
3
+ VERSION = '3.1.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_user_area2
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-11 00:00:00.000000000 Z
11
+ date: 2018-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails