phcmemberspro 91.4.0 → 92.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +4 -4
  4. data/Rakefile +4 -18
  5. data/app/assets/config/phcmemberspro_manifest.js +2 -2
  6. data/app/controllers/phcmemberspro/api/v1/listings_controller.rb +1 -1
  7. data/app/controllers/phcmemberspro/application_controller.rb +4 -5
  8. data/app/controllers/phcmemberspro/directory/categories_controller.rb +1 -1
  9. data/app/controllers/phcmemberspro/member/addresses_controller.rb +1 -1
  10. data/app/controllers/phcmemberspro/member/listings_controller.rb +1 -1
  11. data/app/controllers/phcmemberspro/member/profiles_controller.rb +1 -1
  12. data/app/views/layouts/phcmemberspro/application.html.erb +58 -64
  13. data/app/views/layouts/phcmemberspro/components/backend/footer/_footer.html.erb +14 -6
  14. data/app/views/layouts/phcmemberspro/components/backend/navigation/_top_menu.html.erb +34 -30
  15. data/app/views/layouts/phcmemberspro/components/backend/sidebars/_side_menu.html.erb +919 -187
  16. data/app/views/layouts/phcmemberspro/member_profile.html.erb +58 -64
  17. data/app/views/phcmemberspro/directory/categories/_form.html.erb +12 -12
  18. data/app/views/phcmemberspro/directory/categories/components/_category_main.html.erb +20 -16
  19. data/app/views/phcmemberspro/directory/categories/components/_category_sidebar.html.erb +4 -1
  20. data/app/views/phcmemberspro/directory/categories/edit.html.erb +21 -17
  21. data/app/views/phcmemberspro/directory/categories/index.html.erb +26 -25
  22. data/app/views/phcmemberspro/directory/categories/new.html.erb +21 -17
  23. data/app/views/phcmemberspro/directory/categories/show.html.erb +11 -11
  24. data/app/views/phcmemberspro/member/addresses/_form.html.erb +30 -30
  25. data/app/views/phcmemberspro/member/addresses/components/_address_audits_table.html.erb +1 -1
  26. data/app/views/phcmemberspro/member/addresses/components/_address_main.html.erb +2 -2
  27. data/app/views/phcmemberspro/member/addresses/edit.html.erb +20 -16
  28. data/app/views/phcmemberspro/member/addresses/index.html.erb +29 -29
  29. data/app/views/phcmemberspro/member/addresses/new.html.erb +20 -16
  30. data/app/views/phcmemberspro/member/addresses/show.html.erb +18 -24
  31. data/app/views/phcmemberspro/member/listings/_form.html.erb +43 -43
  32. data/app/views/phcmemberspro/member/listings/components/_listing_audits_table.html.erb +1 -1
  33. data/app/views/phcmemberspro/member/listings/components/_listing_main.html.erb +2 -2
  34. data/app/views/phcmemberspro/member/listings/edit.html.erb +20 -16
  35. data/app/views/phcmemberspro/member/listings/index.html.erb +28 -29
  36. data/app/views/phcmemberspro/member/listings/new.html.erb +18 -16
  37. data/app/views/phcmemberspro/member/listings/show.html.erb +18 -24
  38. data/app/views/phcmemberspro/member/profiles/_form.html.erb +27 -27
  39. data/app/views/phcmemberspro/member/profiles/components/_profile_audits_table.html.erb +1 -1
  40. data/app/views/phcmemberspro/member/profiles/components/_profile_header.html.erb +25 -25
  41. data/app/views/phcmemberspro/member/profiles/components/_profile_sidebar.html.erb +15 -15
  42. data/app/views/phcmemberspro/member/profiles/edit.html.erb +21 -17
  43. data/app/views/phcmemberspro/member/profiles/index.html.erb +30 -30
  44. data/app/views/phcmemberspro/member/profiles/new.html.erb +21 -17
  45. data/app/views/phcmemberspro/member/profiles/show.html.erb +19 -31
  46. data/config/routes.rb +21 -24
  47. data/db/migrate/20160728230720_create_phcmemberspro_directory_categories.rb +17 -0
  48. data/db/migrate/20160728230901_create_phcmemberspro_member_addresses.rb +26 -0
  49. data/db/migrate/20160728231011_create_phcmemberspro_member_listings.rb +30 -0
  50. data/db/migrate/20160728231036_create_phcmemberspro_member_profiles.rb +23 -0
  51. data/db/migrate/20170509002355_create_phcmemberspro_friendly_id_slugs.rb +20 -0
  52. data/db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb +19 -0
  53. data/db/migrate/20170517064049_create_phcmemberspro_listing_versions.rb +19 -0
  54. data/db/migrate/20170517064114_create_phcmemberspro_address_versions.rb +19 -0
  55. data/db/migrate/20170517064427_create_phcmemberspro_category_versions.rb +19 -0
  56. data/db/migrate/20190317215659_create_join_table_categories_listings.rb +12 -0
  57. data/lib/phcmemberspro/engine.rb +42 -68
  58. data/lib/phcmemberspro/version.rb +1 -1
  59. data/lib/phcmemberspro.rb +2 -0
  60. metadata +71 -392
  61. data/app/assets/javascripts/phcmemberspro/application.js +0 -2
  62. data/app/assets/stylesheets/phcmemberspro/application.scss +0 -2
  63. data/app/views/layouts/phcmemberspro/mailer.html.erb +0 -11
  64. data/app/views/layouts/phcmemberspro/mailer.text.erb +0 -1
@@ -4,34 +4,38 @@
4
4
  <% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name, phcmemberspro.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="panel panel-inverse">
23
+
24
+ <!-- -PHCDEV- Panel - Heading -->
23
25
  <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
26
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
27
  </div>
28
+ <!-- -PHCDEV- Panel - Heading -->
29
+
30
+ <!-- -PHCDEV- Panel - Body -->
31
31
  <div class="panel-body">
32
- <!-- Form to Edit Member Address -->
33
- <%= render 'form', { form_url: member_profile_address_path } %>
34
- <!-- Form to Edit Member Address -->
32
+
33
+ <!-- -PHCDEV- Form to Edit Member Address -->
34
+ <%= render "form", { form_url: member_profile_address_path } %>
35
+ <!-- -PHCDEV- Form to Edit Member Address -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -4,34 +4,32 @@
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Members List", phcmemberspro.member_profiles_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
11
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  </ol>
14
- <!-- Page Bradcrumbs -->
14
+ <!-- -PHCDEV- Bradcrumbs -->
15
15
 
16
- <!-- Page Header -->
16
+ <!-- -PHCDEV- Header -->
17
17
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
- <!-- Page Header -->
18
+ <!-- -PHCDEV- Header -->
19
19
 
20
- <!-- Page & Panel Content -->
20
+ <!-- -PHCDEV- Panel -->
21
21
  <div class="panel panel-inverse">
22
- <!-- Panel Heading -->
23
- <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
30
- </div>
31
- <!-- Panel Heading -->
32
- <!-- Panel Body -->
33
- <div class="panel-body">
34
- <!-- Table - Member - Addresses - Index -->
22
+
23
+ <!-- -PHCDEV- Panel - Heading -->
24
+ <div class="panel-heading">
25
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
26
+ </div>
27
+ <!-- -PHCDEV- Panel - Heading -->
28
+
29
+ <!-- -PHCDEV- Panel - Body -->
30
+ <div class="panel-body">
31
+
32
+ <!-- -PHCDEV- Table - Member - Addresses - Index -->
35
33
  <div class="table-responsive">
36
34
  <table class="table table-striped table-bordered">
37
35
  <thead>
@@ -54,9 +52,9 @@
54
52
  <td><%= link_to member_address.address_type, phcmemberspro.member_profile_address_path(member_address.profile, member_address) %></td>
55
53
  <td>
56
54
  <div class="btn-group d-flex" role="group">
57
- <%= link_to 'Details', member_profile_address_path(member_address.profile, member_address), class: "btn btn-purple btn-xs" %>
58
- <%= link_to 'Update', edit_member_profile_address_path(member_address.profile, member_address), class: "btn btn-primary btn-xs" %>
59
- <%= link_to 'Remove', member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %>
55
+ <%= link_to "Details", member_profile_address_path(member_address.profile, member_address), class: "btn btn-purple btn-xs" %>
56
+ <%= link_to "Update", edit_member_profile_address_path(member_address.profile, member_address), class: "btn btn-primary btn-xs" %>
57
+ <%= link_to "Remove", member_profile_address_path(member_address.profile, member_address), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure? This will remove listing information and cannot be reversed." } %>
60
58
  </div>
61
59
  </td>
62
60
  </tr>
@@ -68,8 +66,10 @@
68
66
  <%= "Add a New Address for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %>
69
67
  <% end %>
70
68
  </div>
71
- <!-- Table - Member - Addresses - Index -->
72
- </div>
73
- <!-- Panel Body -->
69
+ <!-- -PHCDEV- Table - Member - Addresses - Index -->
70
+
71
+ </div>
72
+ <!-- -PHCDEV- Panel - Body -->
73
+
74
74
  </div>
75
- <!-- Page & Panel Content -->
75
+ <!-- -PHCDEV- Panel -->
@@ -4,34 +4,38 @@
4
4
  <% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name, phcmemberspro.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="panel panel-inverse">
23
+
24
+ <!-- -PHCDEV- Panel - Heading -->
23
25
  <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
26
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
27
  </div>
28
+ <!-- -PHCDEV- Panel - Heading -->
29
+
30
+ <!-- -PHCDEV- Panel - Body -->
31
31
  <div class="panel-body">
32
- <!-- Form for New Member Address -->
33
- <%= render 'form', { form_url: member_profile_addresses_path } %>
34
- <!-- Form for New Member Address -->
32
+
33
+ <!-- -PHCDEV- Form for New Member Address -->
34
+ <%= render "form", { form_url: member_profile_addresses_path } %>
35
+ <!-- -PHCDEV- Form for New Member Address -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -4,38 +4,35 @@
4
4
  <% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name, phcmemberspro.member_profile_addresses_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="row">
23
23
 
24
24
  <!-- Address Information -->
25
25
  <div class="col-12">
26
26
  <div class="panel panel-inverse">
27
27
  <div class="panel-heading">
28
- <div class="panel-heading-btn">
29
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
30
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
31
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
32
- </div>
33
28
  <h4 class="panel-title"><%= @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %> Address Details</h4>
34
29
  </div>
35
30
  <div class="panel-body">
36
- <!-- Table - Members Address -->
37
- <%= render 'phcmemberspro/member/addresses/components/address_main' %>
38
- <!-- Table - Members Address -->
31
+
32
+ <!-- -PHCDEV- Table - Members Address -->
33
+ <%= render "phcmemberspro/member/addresses/components/address_main" %>
34
+ <!-- -PHCDEV- Table - Members Address -->
35
+
39
36
  </div>
40
37
  </div>
41
38
  </div>
@@ -45,21 +42,18 @@
45
42
  <div class="col-12">
46
43
  <div class="panel panel-inverse">
47
44
  <div class="panel-heading">
48
- <div class="panel-heading-btn">
49
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
50
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
51
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
52
- </div>
53
45
  <h4 class="panel-title"><%= @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %> Address Change Log</h4>
54
46
  </div>
55
47
  <div class="panel-body">
56
- <!-- Table - Members Address Audit -->
57
- <%= render 'phcmemberspro/member/addresses/components/address_audits_table' %>
58
- <!-- Table - Members Address Audit -->
48
+
49
+ <!-- -PHCDEV- Table - Members Address Audit -->
50
+ <%= render "phcmemberspro/member/addresses/components/address_audits_table" %>
51
+ <!-- -PHCDEV- Table - Members Address Audit -->
52
+
59
53
  </div>
60
54
  </div>
61
55
  </div>
62
56
  <!-- Address Information -->
63
57
 
64
58
  </div>
65
- <!-- Page Content -->
59
+ <!-- -PHCDEV- Panel -->
@@ -1,68 +1,68 @@
1
- <!-- Form - Member - Listing -->
1
+ <!-- -PHCDEV- Form - Member - Listing -->
2
2
  <%= form_with(model: [ @member_profile, @member_listing], url: form_url, local: true) do |form| %>
3
3
 
4
- <!-- PHCNotifi Render Validation -->
5
- <%= render 'phcnotifi/default/validations', :object => @member_listing %>
6
- <!-- PHCNotifi Render Validation -->
4
+ <!-- -PHCDEV- Form Validation -->
5
+ <%= render "phcdevworks_notifications/bootstrap/validations", :object => @member_listing %>
6
+ <!-- -PHCDEV- Form Validation -->
7
7
 
8
- <!-- Form Input Fields -->
9
- <div class="form-group field_with_errors">
10
- <%= form.label :listing_company_name, "Company Name" %>
11
- <%= form.text_field :listing_company_name, class: "form-control", placeholder: "Business/Organization: Name" %>
8
+ <!-- -PHCDEV- Form Input Fields -->
9
+ <div class="mb-3">
10
+ <%= form.label :listing_company_name, "Company Name", class: "form-label" %>
11
+ <%= form.text_field :listing_company_name, placeholder: "Business/Organization: Name", class: "form-control" %>
12
12
  </div>
13
- <div class="form-group field_with_errors">
14
- <%= form.label :listing_contact_name, "Contact Name" %>
15
- <%= form.text_field :listing_contact_name, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
13
+ <div class="mb-3">
14
+ <%= form.label :listing_contact_name, "Contact Name", class: "form-label" %>
15
+ <%= form.text_field :listing_contact_name, placeholder: "Business/Organization: Contact Person", class: "form-control" %>
16
16
  </div>
17
- <div class="form-group field_with_errors">
18
- <%= form.label :listing_address_line_1, "Address Line 1" %>
19
- <%= form.text_field :listing_address_line_1, class: "form-control", placeholder: "Location: Street Address" %>
17
+ <div class="mb-3">
18
+ <%= form.label :listing_address_line_1, "Address Line 1", class: "form-label" %>
19
+ <%= form.text_field :listing_address_line_1, placeholder: "Location: Street Address", class: "form-control" %>
20
20
  </div>
21
- <div class="form-group field_with_errors">
22
- <%= form.label :listing_address_line_2, "Address Line 2" %>
23
- <%= form.text_field :listing_address_line_2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
21
+ <div class="mb-3">
22
+ <%= form.label :listing_address_line_2, "Address Line 2", class: "form-label" %>
23
+ <%= form.text_field :listing_address_line_2, placeholder: "Location: Box - Suite - Floor", class: "form-control" %>
24
24
  </div>
25
- <div class="form-group field_with_errors">
26
- <%= form.label :listing_city, "City" %>
27
- <%= form.text_field :listing_city, class: "form-control", placeholder: "Location: City" %>
25
+ <div class="mb-3">
26
+ <%= form.label :listing_city, "City", class: "form-label" %>
27
+ <%= form.text_field :listing_city, placeholder: "Location: City", class: "form-control" %>
28
28
  </div>
29
- <div class="form-group field_with_errors">
30
- <%= form.label :listing_province, "Province/State" %>
31
- <%= form.text_field :listing_province, class: "form-control", placeholder: "Location: Province/State" %>
29
+ <div class="mb-3">
30
+ <%= form.label :listing_province, "Province/State", class: "form-label" %>
31
+ <%= form.text_field :listing_province, placeholder: "Location: Province/State", class: "form-control" %>
32
32
  </div>
33
- <div class="form-group field_with_errors">
34
- <%= form.label :listing_country, "Country" %>
35
- <%= form.text_field :listing_country, class: "form-control", placeholder: "Country" %>
33
+ <div class="mb-3">
34
+ <%= form.label :listing_country, "Country", class: "form-label" %>
35
+ <%= form.text_field :listing_country, placeholder: "Country", class: "form-control" %>
36
36
  </div>
37
- <div class="form-group field_with_errors">
38
- <%= form.label :listing_postal_code, "Postal Code" %><br>
39
- <%= form.text_field :listing_postal_code, class: "form-control", placeholder: "Location: PostalCode" %>
37
+ <div class="mb-3">
38
+ <%= form.label :listing_postal_code, "Postal Code", class: "form-label" %>
39
+ <%= form.text_field :listing_postal_code, placeholder: "Location: PostalCode", class: "form-control" %>
40
40
  </div>
41
- <div class="form-group field_with_errors">
42
- <%= form.label :listing_phone, "Business Phone Number" %>
43
- <%= form.text_field :listing_phone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
41
+ <div class="mb-3">
42
+ <%= form.label :listing_phone, "Business Phone Number", class: "form-label" %>
43
+ <%= form.text_field :listing_phone, placeholder: "Business/Organization: PhoneNumber (Public)", class: "form-control" %>
44
44
  </div>
45
- <div class="form-group field_with_errors">
46
- <%= form.label :listing_contact_email, "Business General Email" %>
47
- <%= form.text_field :listing_contact_email, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
45
+ <div class="mb-3">
46
+ <%= form.label :listing_contact_email, "Business General Email", class: "form-label" %>
47
+ <%= form.text_field :listing_contact_email, placeholder: "Business/Organization: Email Address (Public)", class: "form-control" %>
48
48
  </div>
49
- <div class="form-group field_with_errors">
50
- <%= form.label :listing_website, "Business Website" %>
51
- <%= form.text_field :listing_website, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
49
+ <div class="mb-3">
50
+ <%= form.label :listing_website, "Business Website", class: "form-label" %>
51
+ <%= form.text_field :listing_website, placeholder: "Business/Organization: Website (Public)", class: "form-control" %>
52
52
  </div>
53
- <div class="form-group field_with_errors">
53
+ <div class="mb-3">
54
54
  <%= form.collection_check_boxes :category_ids, Phcmemberspro::Directory::Category.all, :id, :category_name do |listing_category| %>
55
55
  <%= listing_category.check_box %>
56
56
  <%= listing_category.label %><br>
57
57
  <% end %>
58
58
  </div>
59
- <!-- Form Input Fields -->
59
+ <!-- -PHCDEV- Form Input Fields -->
60
60
 
61
- <!-- Form Submition Button -->
61
+ <!-- -PHCDEV- Form Submition Button -->
62
62
  <div class="actions">
63
63
  <%= form.submit class: "btn btn-primary btn-md" %>
64
64
  </div>
65
- <!-- For Submition Button -->
65
+ <!-- -PHCDEV- Form Submition Button -->
66
66
 
67
67
  <% end %>
68
- <!-- Form - Member - Listing -->
68
+ <!-- -PHCDEV- Form - Member - Listing -->
@@ -5,7 +5,7 @@
5
5
  <tr>
6
6
  <td><span class="label label-primary"><%= member_listing_version.event.humanize %></span></td>
7
7
  <td><small>LISTING EVENT ID#<%= member_listing_version.id %></small></td>
8
- <td><%= member_listing_version.event.humanize + ' ' + @members_profile_info.member_first_name + ' ' + @members_profile_info.member_last_name %> Listing Information</td>
8
+ <td><%= member_listing_version.event.humanize + " " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %> Listing Information</td>
9
9
  <td><%= member_listing_version.whodunnit %></td>
10
10
  <td><%= l(member_listing_version.created_at, format: "%-d/%m/%Y") %> - <%= l(member_listing_version.created_at, format: "%H:%M %Z") %></td>
11
11
  </tr>
@@ -17,6 +17,6 @@
17
17
  </div>
18
18
  <br>
19
19
  <div class="btn-group d-flex" role="group">
20
- <%= link_to 'Update', edit_member_profile_listing_path, class: "btn btn-primary btn-xs" %>
21
- <%= link_to 'Remove', member_profile_listing_path, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %>
20
+ <%= link_to "Update", edit_member_profile_listing_path, class: "btn btn-primary btn-xs" %>
21
+ <%= link_to "Remove", member_profile_listing_path, class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure? This will remove listing information and cannot be reversed." } %>
22
22
  </div>
@@ -4,34 +4,38 @@
4
4
  <% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Listings for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name, phcmemberspro.member_profile_listings_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="panel panel-inverse">
23
+
24
+ <!-- -PHCDEV- Panel - Heading -->
23
25
  <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
26
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
27
  </div>
28
+ <!-- -PHCDEV- Panel - Heading -->
29
+
30
+ <!-- -PHCDEV- Panel - Body -->
31
31
  <div class="panel-body">
32
- <!-- Form to Edit Member Listing -->
33
- <%= render 'form', { form_url: member_profile_listing_path } %>
34
- <!-- Form to Edit Member Listing -->
32
+
33
+ <!-- -PHCDEV- Form to Edit Member Listing -->
34
+ <%= render "form", { form_url: member_profile_listing_path } %>
35
+ <!-- -PHCDEV- Form to Edit Member Listing -->
36
+
35
37
  </div>
38
+ <!-- -PHCDEV- Panel - Body -->
39
+
36
40
  </div>
37
- <!-- Page Content -->
41
+ <!-- -PHCDEV- Panel -->
@@ -4,34 +4,32 @@
4
4
  <% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
5
5
  <% phc_breadcrumb_two link_to "Members List", phcmemberspro.member_profiles_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
11
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
+ <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
+ <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  </ol>
14
- <!-- Page Bradcrumbs -->
14
+ <!-- -PHCDEV- Bradcrumbs -->
15
15
 
16
- <!-- Page Header -->
16
+ <!-- -PHCDEV- Header -->
17
17
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
18
- <!-- Page Header -->
18
+ <!-- -PHCDEV- Header -->
19
19
 
20
- <!-- Page & Panel Content -->
20
+ <!-- -PHCDEV- Panel -->
21
21
  <div class="panel panel-inverse">
22
- <!-- Panel Heading -->
23
- <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
30
- </div>
31
- <!-- Panel Heading -->
32
- <!-- Panel Body -->
33
- <div class="panel-body">
34
- <!-- Table - Member - Listings - Index -->
22
+
23
+ <!-- -PHCDEV- Panel - Heading -->
24
+ <div class="panel-heading">
25
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
26
+ </div>
27
+ <!-- -PHCDEV- Panel - Heading -->
28
+
29
+ <!-- -PHCDEV- Panel - Body -->
30
+ <div class="panel-body">
31
+
32
+ <!-- -PHCDEV- Table - Member - Listings - Index -->
35
33
  <div class="table-responsive">
36
34
  <table class="table table-striped table-bordered">
37
35
  <thead>
@@ -56,9 +54,9 @@
56
54
  <td class="highlight"><%= link_to member_listing.listing_website, member_profile_listing_path(member_listing.profile, member_listing) %></td>
57
55
  <td>
58
56
  <div class="btn-group d-flex" role="group">
59
- <%= link_to 'Details', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %>
60
- <%= link_to 'Update', edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %>
61
- <%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %>
57
+ <%= link_to "Details", member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %>
58
+ <%= link_to "Update", edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %>
59
+ <%= link_to "Remove", member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure? This will remove listing information and cannot be reversed." } %>
62
60
  </div>
63
61
  </td>
64
62
  </tr>
@@ -70,8 +68,9 @@
70
68
  <%= "Add a New Listing for " + @members_profile_info .member_first_name + " " + @members_profile_info .member_last_name %>
71
69
  <% end %>
72
70
  </div>
73
- <!-- Table - Member - Listings - Index -->
74
- </div>
75
- <!-- Panel Body -->
71
+ <!-- -PHCDEV- Table - Member - Listings - Index -->
72
+
73
+ </div>
74
+ <!-- -PHCDEV- Panel - Body -->
76
75
  </div>
77
- <!-- Page & Panel Content -->
76
+ <!-- -PHCDEV- Panel -->
@@ -4,34 +4,36 @@
4
4
  <% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
5
5
  <% phc_breadcrumb_two link_to "Listings for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name, phcmemberspro.member_profile_listings_path %>
6
6
  <% phc_breadcrumb_three yield(:phc_title_tagline) %>
7
- <!-- Title System -->
7
+ <!-- -PHCDEV- Title Variables -->
8
8
 
9
- <!-- Page Bradcrumbs -->
10
- <ol class="breadcrumb pull-right">
9
+ <!-- -PHCDEV- Bradcrumbs -->
10
+ <ol class="breadcrumb float-xl-end">
11
11
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
12
12
  <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_two) %></li>
13
13
  <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
14
14
  </ol>
15
- <!-- Page Bradcrumbs -->
15
+ <!-- -PHCDEV- Bradcrumbs -->
16
16
 
17
- <!-- Page Header -->
17
+ <!-- -PHCDEV- Header -->
18
18
  <h1 class="page-header"><%= yield(:phc_title) %></h1>
19
- <!-- Page Header -->
19
+ <!-- -PHCDEV- Bradcrumbs -->
20
20
 
21
- <!-- Page Content -->
21
+ <!-- -PHCDEV- Panel -->
22
22
  <div class="panel panel-inverse">
23
+
24
+ <!-- -PHCDEV- Panel - Heading -->
23
25
  <div class="panel-heading">
24
- <div class="panel-heading-btn">
25
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
26
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
27
- <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
28
- </div>
29
26
  <h4 class="panel-title"><%= yield(:phc_title) %></h4>
30
27
  </div>
28
+ <!-- -PHCDEV- Panel - Heading -->
29
+
30
+ <!-- -PHCDEV- Panel - Body -->
31
31
  <div class="panel-body">
32
- <!-- Form for New Member Listings -->
33
- <%= render 'form', { form_url: member_profile_listings_path } %>
34
- <!-- Form for New Member Listings -->
32
+ <!-- -PHCDEV- Form for New Member Listings -->
33
+ <%= render "form", { form_url: member_profile_listings_path } %>
34
+ <!-- -PHCDEV- Form for New Member Listings -->
35
35
  </div>
36
+ <!-- -PHCDEV- Panel - Body -->
37
+
36
38
  </div>
37
- <!-- Page Content -->
39
+ <!-- -PHCDEV- Panel -->