trusty-cms 5.3.8 → 5.3.9
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.
- checksums.yaml +4 -4
- data/app/views/admin/users/index.html.haml +7 -0
- data/lib/trusty_cms/admin_ui.rb +2 -2
- data/lib/trusty_cms.rb +1 -1
- metadata +31 -31
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bedee4bc8c05973699af2e87db200f43d01f2ae4e828a78a932a78399e5d5b8c
|
|
4
|
+
data.tar.gz: 76dd1a71e70302e0dece24d647c81934f8c52e595aae0d5a5ae9257de532a2fe
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 34afa2d697742c47502c7f3f831edace40c262bfd9ed5318c7430c96cacd07fe628e35d656812751a1706ea5b53982b2d60d275f1aa37b1d158c8965181b5274
|
|
7
|
+
data.tar.gz: 427f7c9f248a29a66f8770082cdb99f375ec761be05a1d90ba9e87eb381faf572feb17267be8d59a379638b20c6d595a7c5a7b4a7737d946fad80f09ec6628fc
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
%th.roles= t('roles')
|
|
14
14
|
- thead.actions_header do
|
|
15
15
|
%th.actions{:style=>'width:9em'}= t('modify')
|
|
16
|
+
- thead.last_sign_in_at_header do
|
|
17
|
+
%th.last_sign_in_at= "Last Sign In"
|
|
16
18
|
%tbody
|
|
17
19
|
- @users.each do |user|
|
|
18
20
|
%tr[user]
|
|
@@ -32,6 +34,11 @@
|
|
|
32
34
|
= link_to remove_admin_user_url(user), :class => 'action' do
|
|
33
35
|
%i.fas.fa-minus-circle
|
|
34
36
|
= t('remove')
|
|
37
|
+
- tbody.last_sign_in_at_cell do
|
|
38
|
+
-if user.last_sign_in_at.present?
|
|
39
|
+
%td.last_sign_in_at= user.last_sign_in_at.to_date
|
|
40
|
+
- else
|
|
41
|
+
%td.last_sign_in_at
|
|
35
42
|
|
|
36
43
|
- render_region :bottom do |bottom|
|
|
37
44
|
- bottom.new_button do
|
data/lib/trusty_cms/admin_ui.rb
CHANGED
|
@@ -196,8 +196,8 @@ module TrustyCms
|
|
|
196
196
|
edit.form_bottom.concat %w{edit_buttons edit_timestamp}
|
|
197
197
|
end
|
|
198
198
|
user.index = RegionSet.new do |index|
|
|
199
|
-
index.thead.concat %w{title_header roles_header actions_header}
|
|
200
|
-
index.tbody.concat %w{title_cell roles_cell actions_cell}
|
|
199
|
+
index.thead.concat %w{title_header roles_header actions_header last_sign_in_at_header}
|
|
200
|
+
index.tbody.concat %w{title_cell roles_cell actions_cell last_sign_in_at_cell}
|
|
201
201
|
index.bottom.concat %w{new_button}
|
|
202
202
|
end
|
|
203
203
|
user.new = user.edit
|
data/lib/trusty_cms.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: trusty-cms
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 5.3.
|
|
4
|
+
version: 5.3.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- TrustyCms CMS dev team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2022-09-
|
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activestorage-validator
|
|
@@ -1165,52 +1165,52 @@ signing_key:
|
|
|
1165
1165
|
specification_version: 4
|
|
1166
1166
|
summary: A no-fluff content management system designed for small teams.
|
|
1167
1167
|
test_files:
|
|
1168
|
-
- spec/
|
|
1169
|
-
- spec/fixtures/users.yml
|
|
1168
|
+
- spec/factories/layout.rb
|
|
1170
1169
|
- spec/factories/user.rb
|
|
1171
|
-
- spec/factories/page_part.rb
|
|
1172
1170
|
- spec/factories/page.rb
|
|
1173
|
-
- spec/factories/
|
|
1174
|
-
- spec/
|
|
1175
|
-
- spec/dummy/
|
|
1176
|
-
- spec/dummy/
|
|
1177
|
-
- spec/dummy/public/404.html
|
|
1178
|
-
- spec/dummy/public/500.html
|
|
1171
|
+
- spec/factories/page_part.rb
|
|
1172
|
+
- spec/dummy/package.json
|
|
1173
|
+
- spec/dummy/README.rdoc
|
|
1174
|
+
- spec/dummy/bin/rails
|
|
1179
1175
|
- spec/dummy/bin/bundle
|
|
1180
1176
|
- spec/dummy/bin/setup
|
|
1181
|
-
- spec/dummy/bin/rails
|
|
1182
1177
|
- spec/dummy/bin/rake
|
|
1183
|
-
- spec/dummy/
|
|
1184
|
-
- spec/dummy/
|
|
1178
|
+
- spec/dummy/config.ru
|
|
1179
|
+
- spec/dummy/public/500.html
|
|
1180
|
+
- spec/dummy/public/404.html
|
|
1181
|
+
- spec/dummy/public/favicon.ico
|
|
1182
|
+
- spec/dummy/public/422.html
|
|
1185
1183
|
- spec/dummy/config/database.yml
|
|
1186
|
-
- spec/dummy/config/
|
|
1187
|
-
- spec/dummy/config/
|
|
1188
|
-
- spec/dummy/config/
|
|
1184
|
+
- spec/dummy/config/environments/test.rb
|
|
1185
|
+
- spec/dummy/config/environments/production.rb
|
|
1186
|
+
- spec/dummy/config/environments/development.rb
|
|
1187
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
|
1189
1188
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
|
1190
|
-
- spec/dummy/config/initializers/mime_types.rb
|
|
1191
1189
|
- spec/dummy/config/initializers/cookies_serializer.rb
|
|
1192
|
-
- spec/dummy/config/initializers/
|
|
1190
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
|
1191
|
+
- spec/dummy/config/initializers/trusty_cms_config.rb
|
|
1193
1192
|
- spec/dummy/config/initializers/inflections.rb
|
|
1193
|
+
- spec/dummy/config/initializers/mime_types.rb
|
|
1194
|
+
- spec/dummy/config/initializers/assets.rb
|
|
1194
1195
|
- spec/dummy/config/initializers/session_store.rb
|
|
1195
1196
|
- spec/dummy/config/boot.rb
|
|
1196
|
-
- spec/dummy/config/
|
|
1197
|
+
- spec/dummy/config/secrets.yml
|
|
1198
|
+
- spec/dummy/config/routes.rb
|
|
1197
1199
|
- spec/dummy/config/environment.rb
|
|
1198
1200
|
- spec/dummy/config/application.rb
|
|
1199
|
-
- spec/dummy/config/
|
|
1200
|
-
- spec/dummy/config/environments/development.rb
|
|
1201
|
-
- spec/dummy/config/environments/test.rb
|
|
1202
|
-
- spec/dummy/config/environments/production.rb
|
|
1203
|
-
- spec/dummy/app/assets/config/manifest.js
|
|
1204
|
-
- spec/dummy/package.json
|
|
1205
|
-
- spec/dummy/README.rdoc
|
|
1201
|
+
- spec/dummy/config/locales/en.yml
|
|
1206
1202
|
- spec/dummy/yarn.lock
|
|
1207
|
-
- spec/dummy/
|
|
1203
|
+
- spec/dummy/db/schema.rb
|
|
1208
1204
|
- spec/dummy/Rakefile
|
|
1209
|
-
- spec/
|
|
1205
|
+
- spec/dummy/app/assets/config/manifest.js
|
|
1210
1206
|
- spec/controllers/users_controller_spec.rb
|
|
1207
|
+
- spec/controllers/application_controller_spec.rb
|
|
1208
|
+
- spec/models/layout_spec.rb
|
|
1209
|
+
- spec/fixtures/users.yml
|
|
1210
|
+
- spec/ci/database.mysql.yml
|
|
1211
1211
|
- spec/support/custom_actions.rb
|
|
1212
|
-
- spec/rails_helper.rb
|
|
1213
|
-
- spec/features/pages_spec.rb
|
|
1214
1212
|
- spec/features/layouts_spec.rb
|
|
1215
1213
|
- spec/features/config_spec.rb
|
|
1214
|
+
- spec/features/pages_spec.rb
|
|
1216
1215
|
- spec/spec_helper.rb
|
|
1216
|
+
- spec/rails_helper.rb
|