caboose-rets 0.1.14 → 0.1.15

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: c7b0da7c560988d30a5457eb7844926b99f5e948
4
- data.tar.gz: dbfc1311ef54ec0460870c478f3cccc32a8e2cbd
3
+ metadata.gz: a033964768964eac9217890f3cd586c02ee5206f
4
+ data.tar.gz: 4dd8d6172534941651858a091acf9031a8cd9efc
5
5
  SHA512:
6
- metadata.gz: d9476be7edfa7269be0401ba5db357f5cb844f5c88654096ac104332c1ae18f2b31fe959f4a641c72114758deb61ad155fcf4b2c9cf6f97705c5281b7012f71d
7
- data.tar.gz: b45c65ca4eac4be1ad08b1e1f853de1e6f2bc555a535bb39edc2785f1d55ee1a143c2359c2bf65282d54f8716c908c768379cdf97732e1cd0059a9bb84723043
6
+ metadata.gz: 5edca492c38aadbece443fc4707560fe460c68cbd695d6dc7d945b8fab361e2d3044b3107a53f797db2c417a5f1b480c80a824248131b5a6b4501ce0bd1c41fa
7
+ data.tar.gz: 21cbb114dcc1745cde35b44187f28e0b8b60742db4354121663ad90806b443fc6a52ab50ce1a83345073707bb2dbab92c2e3b8a9625bd684ed20ca446d8e9550
@@ -72,6 +72,13 @@ module CabooseRets
72
72
 
73
73
  @properties = @gen.items
74
74
  if params[:waterfront].present? then @properties.reject!{|p| p.waterfront.blank?} end
75
+
76
+ @block_options = {
77
+ :properties => @properties,
78
+ :saved_search => nil,
79
+ :pager => @gen
80
+ }
81
+
75
82
  end
76
83
 
77
84
  # GET /land/:mls_acct/details
@@ -83,7 +90,14 @@ module CabooseRets
83
90
  CabooseRets::RetsImporter.delay.import_property(@mls_acct.to_i)
84
91
  render 'land/not_exists'
85
92
  return
86
- end
93
+ end
94
+ @block_options = {
95
+ :mls_acct => params[:mls_acct],
96
+ :property => @property,
97
+ :saved => @saved,
98
+ :agent => @property ? Agent.where(:la_code => @property.la_code).first : nil,
99
+ :form_authenticity_token => form_authenticity_token
100
+ }
87
101
  end
88
102
 
89
103
  #=============================================================================
File without changes
File without changes
@@ -1,3 +1,3 @@
1
1
  module CabooseRets
2
- VERSION = '0.1.14'
2
+ VERSION = '0.1.15'
3
3
  end
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.14
4
+ version: 0.1.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-01 00:00:00.000000000 Z
11
+ date: 2016-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: caboose-cms
@@ -106,6 +106,8 @@ files:
106
106
  - app/views/caboose_rets/commercial/index.html.erb
107
107
  - app/views/caboose_rets/land/admin_edit.html.erb
108
108
  - app/views/caboose_rets/land/admin_index.html.erb
109
+ - app/views/caboose_rets/land/details.html.erb
110
+ - app/views/caboose_rets/land/index.html.erb
109
111
  - app/views/caboose_rets/media/admin_property_media.html.erb
110
112
  - app/views/caboose_rets/multi_family/admin_edit.html.erb
111
113
  - app/views/caboose_rets/multi_family/admin_index.html.erb