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 +4 -4
- data/app/controllers/phcmemberspro/member/listings_controller.rb +3 -0
- data/app/views/phcmemberspro/directory/categories/components/_category_list.html.erb +1 -1
- data/app/views/phcmemberspro/directory/categories/components/_category_main.html.erb +31 -31
- data/lib/phcmemberspro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4a3fafc6de39f41861e22f87a3a90b3058c0fc0
|
4
|
+
data.tar.gz: f4930823bb7719b23f2c18adbb0a90b70f045b20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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,40 +1,40 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
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="
|
18
|
-
<%=
|
19
|
-
|
20
|
-
|
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
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
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="
|
37
|
-
<%= render 'phcmemberspro/directory/categories/components/category_audits' %>
|
33
|
+
<div class="actions">
|
38
34
|
</div>
|
39
35
|
</div>
|
40
|
-
|
36
|
+
<div class="portlet-body">
|
37
|
+
<%= render 'phcmemberspro/directory/categories/components/category_audits' %>
|
38
|
+
</div>
|
39
|
+
</div>
|
40
|
+
</div>
|