phcmemberspro 9.5.5 → 9.5.6

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: 1cae6f84ad77ace624e25d2241131f4d2e5c308d
4
- data.tar.gz: 40c2ec94b035a081947a53e54815f7dd94d9e051
3
+ metadata.gz: f4a3fafc6de39f41861e22f87a3a90b3058c0fc0
4
+ data.tar.gz: f4930823bb7719b23f2c18adbb0a90b70f045b20
5
5
  SHA512:
6
- metadata.gz: 941bcc945e64fc6c339f18075fe535ab96936ddafca2ed3aecd3faf98b0ae4cf9b4cdab0b865d879cbc404cc8a2598a4b6410047629cbb49bb2b6490402acb95
7
- data.tar.gz: 6e8ef19a24454a16eba176191bc3e2caf90ae1d20666888171267016396f0d6f64615c9b34fb73373f0616ed68a433c9c9b0a2453bf67b6b2d11947579a24cda
6
+ metadata.gz: 179fe33a806c862db85f8cf25ff14b8f8976d00868aa0fcc6b7ea9deb40f2d934c93bd4b9ed5ac91db871c262a402aab780d8afed438585ef4042759909dd0aa
7
+ data.tar.gz: 262b476c507f6a8fa3abdcd4b9521e8dfca011e8e9a8b932c25a62ba37bab37166fcd85a6c05bea4d2e5512c7f5f9ae8b67b7e059f85420f58f78b7917b67ebb
@@ -41,6 +41,9 @@ module Phcmemberspro
41
41
  @member_listing.membership_id = membership_info.id
42
42
  @member_listing.oganization_id = membership_info.org_id
43
43
  if @member_listing.save
44
+ @member_listing.user_id = current_user.id
45
+ @member_listing.membership_id = membership_info.id
46
+ @member_listing.oganization_id = membership_info.org_id
44
47
  @member_listing.categorylistings.build
45
48
  redirect_to member_profile_listings_url, notice: 'Listing was successfully created.'
46
49
  else
@@ -1,7 +1,7 @@
1
1
  <ul class="list-group">
2
2
  <% @directory_category.listings.each do |member_listing| %>
3
3
  <li class="list-group-item">
4
- <%= link_to member_listing.listing.mbcompanyname %>
4
+ <%= link_to member_listing.mbcompanyname %>
5
5
  </li>
6
6
  <% end %>
7
7
  </ul>
@@ -1,40 +1,40 @@
1
- <div class="col-md-6">
2
- <div class="portlet light ">
3
- <div class="portlet-title">
4
- <div class="caption caption-md">
5
- <i class="icon-globe theme-font hide"></i>
6
- <span class="caption-subject font-blue-madison bold uppercase">Recent Listings for <%= @directory_category.catname %></span>
7
- </div>
8
- <div class="actions">
9
- <%= link_to edit_directory_category_path, class: "btn blue-soft" do %>
10
- <i class="fa fa-pencil-square-o"></i> Update Category
11
- <% end %>
12
- <%= link_to directory_category_path, class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure? All listing connections will be removed.' } do %>
13
- <i class="fa fa-trash-o"></i> Delete Category
14
- <% end %>
15
- </div>
1
+ <div class="col-md-6">
2
+ <div class="portlet light ">
3
+ <div class="portlet-title">
4
+ <div class="caption caption-md">
5
+ <i class="icon-globe theme-font hide"></i>
6
+ <span class="caption-subject font-blue-madison bold uppercase">Recent Listings for <%= @directory_category.catname %></span>
16
7
  </div>
17
- <div class="portlet-body">
18
- <%= render 'phcmemberspro/directory/categories/components/category_list' %>
19
- <%= link_to directory_categorylistings_path(@directory_category), class: "btn blue-soft" do %>
20
- <i class="fa fa-list-alt"></i> All Listings for <%= @directory_category.catname %>
8
+ <div class="actions">
9
+ <%= link_to edit_directory_category_path, class: "btn blue-soft" do %>
10
+ <i class="fa fa-pencil-square-o"></i> Update Category Name
11
+ <% end %>
12
+ <%= link_to directory_category_path, class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure? All listing connections for this category will also be removed.' } do %>
13
+ <i class="fa fa-trash-o"></i> Delete Category
21
14
  <% end %>
22
15
  </div>
23
16
  </div>
17
+ <div class="portlet-body">
18
+ <%= render 'phcmemberspro/directory/categories/components/category_list' %>
19
+ <%= link_to directory_categorylistings_path(@directory_category), class: "btn blue-soft" do %>
20
+ <i class="fa fa-list-alt"></i> All Listings for <%= @directory_category.catname %>
21
+ <% end %>
22
+ </div>
24
23
  </div>
24
+ </div>
25
25
 
26
- <div class="col-md-6">
27
- <div class="portlet light ">
28
- <div class="portlet-title">
29
- <div class="caption caption-md">
30
- <i class="icon-globe theme-font hide"></i>
31
- <span class="caption-subject font-blue-madison bold uppercase">Category Change Log</span>
32
- </div>
33
- <div class="actions">
34
- </div>
26
+ <div class="col-md-6">
27
+ <div class="portlet light ">
28
+ <div class="portlet-title">
29
+ <div class="caption caption-md">
30
+ <i class="icon-globe theme-font hide"></i>
31
+ <span class="caption-subject font-blue-madison bold uppercase">Category Change Log</span>
35
32
  </div>
36
- <div class="portlet-body">
37
- <%= render 'phcmemberspro/directory/categories/components/category_audits' %>
33
+ <div class="actions">
38
34
  </div>
39
35
  </div>
40
- </div>
36
+ <div class="portlet-body">
37
+ <%= render 'phcmemberspro/directory/categories/components/category_audits' %>
38
+ </div>
39
+ </div>
40
+ </div>
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "9.5.5"
2
+ VERSION = "9.5.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmemberspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 9.5.5
4
+ version: 9.5.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts