caboose-rets 0.1.109 → 0.1.110
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2adc076fdf43c0b9e9d9948970b0b31090520a6c64a81e960eabaa6d83255f1d
|
4
|
+
data.tar.gz: 840d13ee59a2931e37d0de57be38d78aa0ca7acfcb1c3fc9bf5579c9b8a7aaef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 651fe55bfedfac2686d97c6e736f9b1bacf99c6b63c2645c78f330a948ab7c54d4308d6d60ea836a3bd036ee311a86d7982aa195b9101964019a0a521fe39c3b
|
7
|
+
data.tar.gz: 70abc7fe553432dcf39a67288d6587a4dd0b4583cbb24a855ddf7479cc72c23dd1e69146721628fce2b83a51af716434fd2d067646bb750fb6473f68f9518ee6
|
@@ -46,7 +46,8 @@ class CabooseRets::Schema < Caboose::Utilities::Schema
|
|
46
46
|
[ :designation , :string ],
|
47
47
|
[ :image_location , :string ],
|
48
48
|
[ :image , :attachment ],
|
49
|
-
[ :accepts_listings , :boolean , { :default => true }]
|
49
|
+
[ :accepts_listings , :boolean , { :default => true }],
|
50
|
+
[ :weight , :float ]
|
50
51
|
],
|
51
52
|
CabooseRets::Office => [
|
52
53
|
[ :lo_addr1 , :text ],
|
@@ -37,6 +37,8 @@
|
|
37
37
|
|
38
38
|
<div id="agent_<%= @agent.id %>_accepts_listings"></div>
|
39
39
|
<br />
|
40
|
+
<div id="agent_<%= @agent.id %>_weight"></div>
|
41
|
+
<br />
|
40
42
|
<div id="agent_<%= @agent.id %>_hide"></div>
|
41
43
|
<br />
|
42
44
|
<div id="agent_<%= @agent.id %>_slug"></div>
|
@@ -82,6 +84,10 @@ $(document).ready(function() {
|
|
82
84
|
attributes: [
|
83
85
|
{ name: 'accepts_listings', nice_name: 'Accepts Listings', type: 'checkbox', value: <%== Caboose.json(@agent_meta.accepts_listings) %>, width: 500, height: 300 },
|
84
86
|
{ name: 'hide', nice_name: 'Hide', type: 'checkbox', value: <%== Caboose.json(@agent_meta.hide) %>, width: 500, height: 300 },
|
87
|
+
{ name: 'weight', nice_name: 'Listing Assignment Weight', type: 'select', value: <%== Caboose.json(@agent_meta.weight) %>, width: 500, options: [
|
88
|
+
<% (0..10).each do |ind| %>
|
89
|
+
{'text':'<%= ind %>','value':<%= ind %>},
|
90
|
+
<% end %>]},
|
85
91
|
{ name: 'slug', nice_name: 'Slug', type: 'text', value: <%== Caboose.json(@agent.slug) %>, width: 500 },
|
86
92
|
{ name: 'bio', nice_name: 'Bio', type: 'richtext', value: <%== Caboose.json(@agent_meta.bio) %>, width: 500, height: 300 },
|
87
93
|
{ name: 'image' , nice_name: 'Image' , type: 'image' , value: <%= raw Caboose.json(@agent_meta.image ? @agent_meta.image.url(:thumb) : 'http://placehold.it?300x300') %>, width: 150, update_url: '/admin/agents/<%= @agent.id %>/image' }
|
data/lib/caboose_rets/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caboose-rets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.110
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- William Barry
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: caboose-cms
|