c80_estate 0.1.0.21 → 0.1.0.22

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d43a612c39e2ea9c3cd02bfbc712edc2b551582d
4
- data.tar.gz: 22581768c9e5e1802d81ed0d0e466764a76676d9
3
+ metadata.gz: efe8917ffaa47a57c2ea9dbe69c253ea82df4496
4
+ data.tar.gz: 22753244eddd3fb0be188a693b56e12d6793e2f0
5
5
  SHA512:
6
- metadata.gz: 3b43d89a3bbd7123a7d9a493765743072623e4dbfaed37db2e64e08c62580b3cffceb26280d95dfc7e9fca53056d5ad30bbf16a82b85aa7654eea570fe44f1ec
7
- data.tar.gz: 4f9f10d5ec504cf22e5c2e197299ab9e8adce85731083b831315b4eba95cd42a13564015498976c6b68cc84ad5332fbaf1fd9e9018c17283a80c093ac943bf2e
6
+ metadata.gz: 85cf184d15a8e6bdef07f5c755d6b7b2a1604922d703fc4b32c59c073134999d2cb1e90dcf3f2b90110ad5d9b8b2755885331e0245ba3c71efdc8e5987aa7f33
7
+ data.tar.gz: fa5e83e1437a05d697b741fa6efaacbe5a14a3ab81a3351f4b6d6f0a23e6bc2bd0c42876bb7e2ecf2749c145cd991c3111558da5e8855e50b2f13f065c27d37d
@@ -49,13 +49,13 @@ ActiveAdmin.register AdminUser do
49
49
  f.inputs "Свойства" do
50
50
  f.input :email
51
51
 
52
- if f.object.new_record?
52
+ # if f.object.new_record?
53
53
  f.input :password
54
54
  f.input :password_confirmation
55
- else
55
+ # else
56
56
  # f.input :password
57
57
  # f.input :password_confirmation
58
- end
58
+ # end
59
59
 
60
60
  # f.input :roles
61
61
  f.has_many :roles,
@@ -1,6 +1,6 @@
1
1
  div#div_vendor_logo {
2
2
  width: 150px;
3
- min-height: 61px;
3
+ min-height: 1px;
4
4
  background-color: rgba(255, 0, 0, 0.008);
5
5
  float: left;
6
6
  padding-top: 0;
@@ -9,10 +9,12 @@ div#div_vendor_logo {
9
9
  width: 150px !important;
10
10
  border: none !important;
11
11
  min-height: 1px !important;
12
+ height: 150px !important;
12
13
  }
13
14
 
14
15
  img {
15
16
  max-width: 100%;
16
17
  border: none !important;
18
+ height: auto !important;
17
19
  }
18
20
  }
@@ -63,7 +63,10 @@ module C80Estate
63
63
  end
64
64
 
65
65
  def last_updater
66
- pstats.last.sevent.auser.email
66
+ res = '-'
67
+ if pstats.count > 0
68
+ res = pstats.last.sevent.auser.email
69
+ end
67
70
  end
68
71
 
69
72
  def square_value
@@ -1,3 +1,3 @@
1
1
  module C80Estate
2
- VERSION = "0.1.0.21"
2
+ VERSION = '0.1.0.22'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: c80_estate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.21
4
+ version: 0.1.0.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - C80609A