phcmemberspro 82.2.0 → 82.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/phcmemberspro/application.js +1 -1
- data/app/assets/stylesheets/phcmemberspro/application.scss +1 -1
- data/app/controllers/phcmemberspro/member/dashboards_controller.rb +4 -4
- data/app/mailers/phcmemberspro/application_mailer.rb +1 -1
- data/app/views/layouts/phcmemberspro/components/frontend/footer/_footer_copyright.html.erb +1 -1
- data/app/views/phcmemberspro/api/v1/{categories/listings → listings}/index.json.rabl +0 -0
- data/app/views/phcmemberspro/directory/categories/components/_category_main.html.erb +20 -22
- data/app/views/phcmemberspro/directory/categories/edit.html.erb +13 -1
- data/app/views/phcmemberspro/directory/categories/index.html.erb +12 -1
- data/app/views/phcmemberspro/directory/categories/new.html.erb +13 -1
- data/app/views/phcmemberspro/directory/categories/show.html.erb +11 -21
- data/app/views/phcmemberspro/member/addresses/_form.html.erb +1 -1
- data/app/views/phcmemberspro/member/addresses/edit.html.erb +14 -2
- data/app/views/phcmemberspro/member/addresses/index.html.erb +16 -3
- data/app/views/phcmemberspro/member/addresses/new.html.erb +14 -2
- data/app/views/phcmemberspro/member/addresses/show.html.erb +14 -2
- data/app/views/phcmemberspro/member/dashboards/index.html.erb +34 -40
- data/app/views/phcmemberspro/member/listings/_form.html.erb +1 -1
- data/app/views/phcmemberspro/member/listings/edit.html.erb +14 -2
- data/app/views/phcmemberspro/member/listings/index.html.erb +16 -3
- data/app/views/phcmemberspro/member/listings/new.html.erb +14 -2
- data/app/views/phcmemberspro/member/listings/show.html.erb +15 -3
- data/app/views/phcmemberspro/member/profiles/edit.html.erb +15 -2
- data/app/views/phcmemberspro/member/profiles/index.html.erb +12 -1
- data/app/views/phcmemberspro/member/profiles/new.html.erb +15 -2
- data/app/views/phcmemberspro/member/profiles/show.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/db/migrate/20160728230720_create_phcmemberspro_directory_categories.rb +2 -1
- data/db/migrate/20160728230901_create_phcmemberspro_member_addresses.rb +2 -0
- data/db/migrate/20160728231011_create_phcmemberspro_member_listings.rb +2 -0
- data/db/migrate/20160728231036_create_phcmemberspro_member_profiles.rb +2 -0
- data/db/migrate/20170509002355_create_phcmemberspro_friendly_id_slugs.rb +13 -11
- data/db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb +2 -0
- data/db/migrate/20170517064049_create_phcmemberspro_listing_versions.rb +2 -0
- data/db/migrate/20170517064114_create_phcmemberspro_address_versions.rb +3 -0
- data/db/migrate/20170517064427_create_phcmemberspro_category_versions.rb +3 -0
- data/db/migrate/20190317215659_create_join_table_categories_listings.rb +4 -0
- data/lib/phcmemberspro/engine.rb +66 -66
- data/lib/phcmemberspro/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a17766fb1d8bb614e69732347f2e53047649331546e2ce4fb465edec9151ccc8
|
4
|
+
data.tar.gz: 47c1f6a6abdf92f7cd05e5658c591c64d81a6c802a1e9464f3ffe455462bd2c6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 133f76e49edd5299635f1d7466019198d690c0ef6033887682e9bc2c3de3eaa984a67f538a3913d61cc8562083c60382e117e5699541099b3a8735bdc33586db
|
7
|
+
data.tar.gz: 5ff4fefdaa0d8573cc62f8715a7177b6b994d52566b8d63fb90e64991e1da3cb5a4ec92d71d633c2e5f2e406bbd77cf82a36ded1ac7c80bcc080fd34d39dcef3
|
@@ -1,2 +1,2 @@
|
|
1
1
|
// Load Admin Theme
|
2
|
-
//= require phc_admin_theme_scripts_four
|
2
|
+
//= require phc_admin_theme_scripts_four
|
@@ -1,2 +1,2 @@
|
|
1
1
|
// Load Admin Theme
|
2
|
-
@import "phc_admin_theme_styles_four";
|
2
|
+
@import "phc_admin_theme_styles_four";
|
@@ -7,10 +7,10 @@ module Phcmemberspro
|
|
7
7
|
before_action :authenticate_user!
|
8
8
|
|
9
9
|
def index
|
10
|
-
@member_profile = Member::Profile.where(org_id: current_user.org_id)
|
11
|
-
@member_listing = Member::Listing.where(org_id: current_user.org_id)
|
12
|
-
@member_address = Member::Address.where(org_id: current_user.org_id)
|
13
|
-
@directory_category = Directory::Category.where(org_id: current_user.org_id)
|
10
|
+
@member_profile = Phcmemberspro::Member::Profile.where(org_id: current_user.org_id)
|
11
|
+
@member_listing = Phcmemberspro::Member::Listing.where(org_id: current_user.org_id)
|
12
|
+
@member_address = Phcmemberspro::Member::Address.where(org_id: current_user.org_id)
|
13
|
+
@directory_category = Phcmemberspro::Directory::Category.where(org_id: current_user.org_id)
|
14
14
|
end
|
15
15
|
|
16
16
|
end
|
@@ -14,6 +14,6 @@
|
|
14
14
|
<li><%= link_to "Terms & Conditions", "#", target: "_blank", rel: "nofollow" %></li>
|
15
15
|
</ul>
|
16
16
|
|
17
|
-
<strong>PHC</strong>
|
17
|
+
<strong>PHC</strong>Members © 2012-<%= Time.now.year %> - v<%= Gem.loaded_specs["phccontentpack"].version.to_s %> - RELEASED - <%= Date.today.month %>-<%= Date.today.year %>
|
18
18
|
|
19
19
|
</div>
|
File without changes
|
@@ -1,33 +1,31 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
<div class="
|
5
|
-
<a class="
|
6
|
-
|
7
|
-
|
8
|
-
<a class="close-link">
|
9
|
-
<i class="fa fa-times"></i>
|
10
|
-
</a>
|
1
|
+
<!-- Page Content -->
|
2
|
+
<div class="panel panel-inverse">
|
3
|
+
<div class="panel-heading">
|
4
|
+
<div class="panel-heading-btn">
|
5
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
6
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
7
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
|
11
8
|
</div>
|
9
|
+
<h4 class="panel-title">Active Listings in <%= @directory_category.catname %> Directory Category</h4>
|
12
10
|
</div>
|
13
|
-
<div class="
|
11
|
+
<div class="panel-body">
|
14
12
|
<%= render 'phcmemberspro/directory/categories/components/category_list' %>
|
15
13
|
</div>
|
16
14
|
</div>
|
15
|
+
<!-- Page Content -->
|
17
16
|
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
<div class="
|
22
|
-
<a class="
|
23
|
-
|
24
|
-
|
25
|
-
<a class="close-link">
|
26
|
-
<i class="fa fa-times"></i>
|
27
|
-
</a>
|
17
|
+
<!-- Page Content -->
|
18
|
+
<div class="panel panel-inverse">
|
19
|
+
<div class="panel-heading">
|
20
|
+
<div class="panel-heading-btn">
|
21
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
|
22
|
+
<a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
|
23
|
+
<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
24
|
</div>
|
25
|
+
<h4 class="panel-title">Active Listings in <%= @directory_category.catname %> Directory Category Change Log</h4>
|
29
26
|
</div>
|
30
|
-
<div class="
|
27
|
+
<div class="panel-body">
|
31
28
|
<%= render 'phcmemberspro/directory/categories/components/category_audits' %>
|
32
29
|
</div>
|
33
30
|
</div>
|
31
|
+
<!-- Page Content -->
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Directory Category Manager" %>
|
3
3
|
<% phc_title_tagline "Edit " + @directory_category.catname + " Category Name" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,10 +1,21 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Directory Category Manager" %>
|
3
3
|
<% phc_title_tagline "Web Directory Category Index" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
+
<!-- Page Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb pull-right">
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
+
</ol>
|
13
|
+
<!-- Page Bradcrumbs -->
|
14
|
+
|
15
|
+
<!-- Page Header -->
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
+
<!-- Page Header -->
|
18
|
+
|
8
19
|
<!-- Page Content -->
|
9
20
|
<div class="panel panel-inverse">
|
10
21
|
<div class="panel-heading">
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Directory Category Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Directory Category" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,33 +1,23 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Directory Category Manager" %>
|
3
3
|
<% phc_title_tagline "Detailed Information for " + @directory_category.catname %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two link_to "Directory Category Index", phcmemberspro.directory_categories_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
9
17
|
<!-- Page Header -->
|
10
|
-
<
|
11
|
-
<div class="col-sm-8">
|
12
|
-
<h2><%= yield(:phc_title) %></h2>
|
13
|
-
<!-- Bread Crumb -->
|
14
|
-
<ol class="breadcrumb">
|
15
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
16
|
-
<li><%= yield(:phc_breadcrumb_two) %></li>
|
17
|
-
<li class="active"><%= yield(:phc_breadcrumb_three) %></li>
|
18
|
-
</ol>
|
19
|
-
<!-- Bread Crumb -->
|
20
|
-
</div>
|
21
|
-
<div class="col-sm-4">
|
22
|
-
<div class="title-action">
|
23
|
-
<%= link_to phcmemberspro.directory_categories_path, class: "btn btn-primary" do %>
|
24
|
-
<i class="fa fa-sitemap"></i> Back to Category Index
|
25
|
-
<% end %>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
</div>
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
29
19
|
<!-- Page Header -->
|
30
|
-
|
20
|
+
|
31
21
|
<!-- Page Content -->
|
32
22
|
<div class="wrapper wrapper-content animated fadeInRight">
|
33
23
|
<div class="row">
|
@@ -24,7 +24,7 @@
|
|
24
24
|
</div>
|
25
25
|
<div class="form-group field_with_errors">
|
26
26
|
<%= phc_members_pro_member_address.label :mccountry, "Country" %>
|
27
|
-
<%=
|
27
|
+
<%= phc_members_pro_member_address.text_field :mccountry, class: "form-control", placeholder: "Country" %>
|
28
28
|
</div>
|
29
29
|
<div class="form-group field_with_errors">
|
30
30
|
<%= phc_members_pro_member_address.label :mcpostalcode, "PostalCode" %>
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Address Manager" %>
|
3
3
|
<% phc_title_tagline "Update Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "
|
5
|
-
<% phc_breadcrumb_two link_to "
|
4
|
+
<% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmemberspro.member_profile_addresses_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,10 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Address Manager" %>
|
3
|
-
<% phc_title_tagline "
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
5
|
-
<% phc_breadcrumb_two
|
3
|
+
<% phc_title_tagline "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Members List", phcmemberspro.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
6
7
|
<!-- Title System -->
|
7
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
8
21
|
<!-- Page Content -->
|
9
22
|
<div class="panel panel-inverse">
|
10
23
|
<div class="panel-heading">
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Address Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "
|
5
|
-
<% phc_breadcrumb_two link_to "
|
4
|
+
<% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmemberspro.member_profile_addresses_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Address Manager" %>
|
3
3
|
<% phc_title_tagline "Detailed Address Information for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "
|
5
|
-
<% phc_breadcrumb_two link_to "
|
4
|
+
<% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Addresses for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmemberspro.member_profile_addresses_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -6,61 +6,55 @@
|
|
6
6
|
<div class="wrapper wrapper-content">
|
7
7
|
|
8
8
|
<div class="row">
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
</div>
|
9
|
+
|
10
|
+
<div class="col-lg-3 col-md-6">
|
11
|
+
<div class="widget widget-stats bg-gradient-teal">
|
12
|
+
<div class="stats-icon stats-icon-lg">
|
13
|
+
<i class="fas fa-users fa-fw"></i>
|
14
|
+
</div>
|
15
|
+
<div class="stats-content">
|
16
|
+
<div class="stats-title">Total <%= "Member".pluralize(2) %></div>
|
17
|
+
<div class="stats-number"><%= @member_profile.count(:all) %></div>
|
19
18
|
</div>
|
20
19
|
</div>
|
21
20
|
</div>
|
22
21
|
|
23
|
-
<div class="col-lg-3">
|
24
|
-
<div class="widget
|
25
|
-
<div class="
|
26
|
-
<
|
27
|
-
|
28
|
-
|
29
|
-
<div class="
|
30
|
-
|
31
|
-
<h2 class="font-bold"><%= @member_address.count(:all) %></h2>
|
32
|
-
</div>
|
22
|
+
<div class="col-lg-3 col-md-6">
|
23
|
+
<div class="widget widget-stats bg-gradient-blue">
|
24
|
+
<div class="stats-icon stats-icon-lg">
|
25
|
+
<i class="fas fa-globe-asia fa-fw"></i>
|
26
|
+
</div>
|
27
|
+
<div class="stats-content">
|
28
|
+
<div class="stats-title">Total <%= "Address".pluralize(2) %></div>
|
29
|
+
<div class="stats-number"><%= @member_address.count(:all) %></div>
|
33
30
|
</div>
|
34
31
|
</div>
|
35
32
|
</div>
|
36
33
|
|
37
|
-
<div class="col-lg-3">
|
38
|
-
<div class="widget
|
39
|
-
<div class="
|
40
|
-
<
|
41
|
-
|
42
|
-
|
43
|
-
<div class="
|
44
|
-
|
45
|
-
<h2 class="font-bold"><%= @member_listing.count(:all) %></h2>
|
46
|
-
</div>
|
34
|
+
<div class="col-lg-3 col-md-6">
|
35
|
+
<div class="widget widget-stats bg-gradient-purple">
|
36
|
+
<div class="stats-icon stats-icon-lg">
|
37
|
+
<i class="fas fa-address-card fa-fw"></i>
|
38
|
+
</div>
|
39
|
+
<div class="stats-content">
|
40
|
+
<div class="stats-title">Total <%= "Listing".pluralize(2) %></div>
|
41
|
+
<div class="stats-number"><%= @member_listing.count(:all) %></div>
|
47
42
|
</div>
|
48
43
|
</div>
|
49
44
|
</div>
|
50
45
|
|
51
|
-
<div class="col-lg-3">
|
52
|
-
<div class="widget
|
53
|
-
<div class="
|
54
|
-
<
|
55
|
-
|
56
|
-
|
57
|
-
<div class="
|
58
|
-
|
59
|
-
<h2 class="font-bold"><%= @directory_category.count(:all) %></h2>
|
60
|
-
</div>
|
46
|
+
<div class="col-lg-3 col-md-6">
|
47
|
+
<div class="widget widget-stats bg-gradient-pink">
|
48
|
+
<div class="stats-icon stats-icon-lg">
|
49
|
+
<i class="fas fa-sitemap fa-fw"></i>
|
50
|
+
</div>
|
51
|
+
<div class="stats-content">
|
52
|
+
<div class="stats-title">Total <%= "Category".pluralize(2) %></div>
|
53
|
+
<div class="stats-number"><%= @directory_category.count(:all) %></div>
|
61
54
|
</div>
|
62
55
|
</div>
|
63
56
|
</div>
|
57
|
+
|
64
58
|
</div>
|
65
59
|
|
66
60
|
</div>
|
@@ -32,7 +32,7 @@
|
|
32
32
|
</div>
|
33
33
|
<div class="form-group field_with_errors">
|
34
34
|
<%= phc_members_pro_member_listings.label :mbcountry, "Country" %>
|
35
|
-
<%=
|
35
|
+
<%= phc_members_pro_member_listings.text_field :mbcountry, class: "form-control", placeholder: "Country" %>
|
36
36
|
</div>
|
37
37
|
<div class="form-group field_with_errors">
|
38
38
|
<%= phc_members_pro_member_listings.label :mbpostalcode, "Postal Code" %><br>
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Listing Manager" %>
|
3
3
|
<% phc_title_tagline "Update Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "
|
5
|
-
<% phc_breadcrumb_two link_to "
|
4
|
+
<% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Listings for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmemberspro.member_profile_listings_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,10 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Listings Manager" %>
|
3
|
-
<% phc_title_tagline "
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
5
|
-
<% phc_breadcrumb_two
|
3
|
+
<% phc_title_tagline "Listings for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Members List", phcmemberspro.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
6
7
|
<!-- Title System -->
|
7
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
8
21
|
<!-- Page Content -->
|
9
22
|
<div class="panel panel-inverse">
|
10
23
|
<div class="panel-heading">
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Listing Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "
|
5
|
-
<% phc_breadcrumb_two link_to "
|
4
|
+
<% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Listings for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmemberspro.member_profile_listings_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,11 +1,23 @@
|
|
1
1
|
<!-- Title Variables -->
|
2
2
|
<% phc_title "Member Listing Manager" %>
|
3
|
-
<% phc_title_tagline "Listing Information for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "
|
5
|
-
<% phc_breadcrumb_two link_to "
|
3
|
+
<% phc_title_tagline "Detailed Listing Information for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
+
<% phc_breadcrumb_one link_to "Members List", phcmemberspro.member_profiles_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Listings for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname, phcmemberspro.member_profile_listings_path %>
|
6
6
|
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
7
|
<!-- Title System -->
|
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
9
21
|
<!-- Page Content -->
|
10
22
|
<div class="panel panel-inverse">
|
11
23
|
<div class="panel-heading">
|
@@ -1,10 +1,23 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Members Manager" %>
|
3
3
|
<% phc_title_tagline "Update Member Information for " + @member_profile.mfirstname + " " + @member_profile.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
5
|
-
<% phc_breadcrumb_two
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Member Profiles", phcmemberspro.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
6
7
|
<!-- Title System -->
|
7
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
8
21
|
<!-- Page Content -->
|
9
22
|
<div class="panel panel-inverse">
|
10
23
|
<div class="panel-heading">
|
@@ -1,10 +1,21 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Members Manager" %>
|
3
3
|
<% phc_title_tagline "Members List" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
8
|
+
<!-- Page Bradcrumbs -->
|
9
|
+
<ol class="breadcrumb pull-right">
|
10
|
+
<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
|
11
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
|
12
|
+
</ol>
|
13
|
+
<!-- Page Bradcrumbs -->
|
14
|
+
|
15
|
+
<!-- Page Header -->
|
16
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
17
|
+
<!-- Page Header -->
|
18
|
+
|
8
19
|
<!-- Page Content -->
|
9
20
|
<div class="panel panel-inverse">
|
10
21
|
<div class="panel-heading">
|
@@ -1,10 +1,23 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Members Manager" %>
|
3
3
|
<% phc_title_tagline "Create a New Member" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
5
|
-
<% phc_breadcrumb_two
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Member Profiles", phcmemberspro.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
6
7
|
<!-- Title System -->
|
7
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"><%= yield(:phc_breadcrumb_two) %></li>
|
13
|
+
<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_three) %></li>
|
14
|
+
</ol>
|
15
|
+
<!-- Page Bradcrumbs -->
|
16
|
+
|
17
|
+
<!-- Page Header -->
|
18
|
+
<h1 class="page-header"><%= yield(:phc_title) %></h1>
|
19
|
+
<!-- Page Header -->
|
20
|
+
|
8
21
|
<!-- Page Content -->
|
9
22
|
<div class="panel panel-inverse">
|
10
23
|
<div class="panel-heading">
|
@@ -1,7 +1,7 @@
|
|
1
1
|
<!-- Title System -->
|
2
2
|
<% phc_title "Members Manager" %>
|
3
3
|
<% phc_title_tagline "Detailed Information" %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.dashboard_path %>
|
5
5
|
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
6
|
<!-- Title System -->
|
7
7
|
|
data/config/routes.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
class CreatePhcmembersproDirectoryCategories < ActiveRecord::Migration[5.2]
|
2
2
|
def change
|
3
|
+
|
3
4
|
create_table :phcmemberspro_directory_categories do |t|
|
4
5
|
|
5
6
|
t.string :catname
|
6
|
-
|
7
7
|
t.string :slug
|
8
8
|
|
9
9
|
t.string :user_id
|
@@ -12,5 +12,6 @@ class CreatePhcmembersproDirectoryCategories < ActiveRecord::Migration[5.2]
|
|
12
12
|
t.timestamps
|
13
13
|
|
14
14
|
end
|
15
|
+
|
15
16
|
end
|
16
17
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class CreatePhcmembersproMemberAddresses < ActiveRecord::Migration[5.2]
|
2
2
|
def change
|
3
|
+
|
3
4
|
create_table :phcmemberspro_member_addresses do |t|
|
4
5
|
|
5
6
|
t.string :mcaddressl1
|
@@ -20,5 +21,6 @@ class CreatePhcmembersproMemberAddresses < ActiveRecord::Migration[5.2]
|
|
20
21
|
t.timestamps
|
21
22
|
|
22
23
|
end
|
24
|
+
|
23
25
|
end
|
24
26
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class CreatePhcmembersproMemberListings < ActiveRecord::Migration[5.2]
|
2
2
|
def change
|
3
|
+
|
3
4
|
create_table :phcmemberspro_member_listings do |t|
|
4
5
|
|
5
6
|
t.string :mbcompanyname
|
@@ -24,5 +25,6 @@ class CreatePhcmembersproMemberListings < ActiveRecord::Migration[5.2]
|
|
24
25
|
t.timestamps
|
25
26
|
|
26
27
|
end
|
28
|
+
|
27
29
|
end
|
28
30
|
end
|
@@ -1,5 +1,6 @@
|
|
1
1
|
class CreatePhcmembersproMemberProfiles < ActiveRecord::Migration[5.2]
|
2
2
|
def change
|
3
|
+
|
3
4
|
create_table :phcmemberspro_member_profiles do |t|
|
4
5
|
|
5
6
|
t.string :mfirstname
|
@@ -17,5 +18,6 @@ class CreatePhcmembersproMemberProfiles < ActiveRecord::Migration[5.2]
|
|
17
18
|
t.timestamps
|
18
19
|
|
19
20
|
end
|
21
|
+
|
20
22
|
end
|
21
23
|
end
|
@@ -1,18 +1,20 @@
|
|
1
1
|
class CreatePhcmembersproFriendlyIdSlugs < ActiveRecord::Migration[5.2]
|
2
2
|
def change
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
4
|
+
create_table :phcmemberspro_friendly_id_slugs do |t|
|
5
|
+
|
6
|
+
t.string :slug, :null => false
|
7
|
+
t.integer :sluggable_id, :null => false
|
8
|
+
t.string :sluggable_type, :limit => 50
|
9
|
+
t.string :scope
|
10
|
+
t.datetime :created_at
|
11
|
+
|
12
|
+
end
|
11
13
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
14
|
+
add_index :phcmemberspro_friendly_id_slugs, :sluggable_id, name: 'phcmp_slugable_id'
|
15
|
+
add_index :phcmemberspro_friendly_id_slugs, [:slug, :sluggable_type], name: 'phcmp_slug_slugable_type', length: { slug: 140, sluggable_type: 50 }
|
16
|
+
add_index :phcmemberspro_friendly_id_slugs, [:slug, :sluggable_type, :scope], name: 'phcmp_slugable_type_scope', length: { slug: 70, sluggable_type: 50, scope: 70 }, unique: true
|
17
|
+
add_index :phcmemberspro_friendly_id_slugs, :sluggable_type, name: 'phcmp_slugable_type'
|
16
18
|
|
17
19
|
end
|
18
20
|
end
|
@@ -3,12 +3,14 @@ class CreatePhcmembersproProfileVersions < ActiveRecord::Migration[5.2]
|
|
3
3
|
def change
|
4
4
|
|
5
5
|
create_table :phcmemberspro_profile_versions do |t|
|
6
|
+
|
6
7
|
t.string :item_type, {:null=>false}
|
7
8
|
t.integer :item_id, null: false
|
8
9
|
t.string :event, null: false
|
9
10
|
t.string :whodunnit
|
10
11
|
t.text :object, limit: TEXT_BYTES
|
11
12
|
t.datetime :created_at
|
13
|
+
|
12
14
|
end
|
13
15
|
|
14
16
|
add_index :phcmemberspro_profile_versions, %i(item_type item_id), :name => 'mempro_profile_versions'
|
@@ -3,12 +3,14 @@ class CreatePhcmembersproListingVersions < ActiveRecord::Migration[5.2]
|
|
3
3
|
def change
|
4
4
|
|
5
5
|
create_table :phcmemberspro_listing_versions do |t|
|
6
|
+
|
6
7
|
t.string :item_type, {:null=>false}
|
7
8
|
t.integer :item_id, null: false
|
8
9
|
t.string :event, null: false
|
9
10
|
t.string :whodunnit
|
10
11
|
t.text :object, limit: TEXT_BYTES
|
11
12
|
t.datetime :created_at
|
13
|
+
|
12
14
|
end
|
13
15
|
|
14
16
|
add_index :phcmemberspro_listing_versions, %i(item_type item_id), :name => 'mempro_listing_versions'
|
@@ -3,13 +3,16 @@ class CreatePhcmembersproAddressVersions < ActiveRecord::Migration[5.2]
|
|
3
3
|
def change
|
4
4
|
|
5
5
|
create_table :phcmemberspro_address_versions do |t|
|
6
|
+
|
6
7
|
t.string :item_type, {:null=>false}
|
7
8
|
t.integer :item_id, null: false
|
8
9
|
t.string :event, null: false
|
9
10
|
t.string :whodunnit
|
10
11
|
t.text :object, limit: TEXT_BYTES
|
11
12
|
t.datetime :created_at
|
13
|
+
|
12
14
|
end
|
15
|
+
|
13
16
|
add_index :phcmemberspro_address_versions, %i(item_type item_id), :name => 'mempro_address_versions'
|
14
17
|
|
15
18
|
end
|
@@ -3,13 +3,16 @@ class CreatePhcmembersproCategoryVersions < ActiveRecord::Migration[5.2]
|
|
3
3
|
def change
|
4
4
|
|
5
5
|
create_table :phcmemberspro_category_versions do |t|
|
6
|
+
|
6
7
|
t.string :item_type, {:null=>false}
|
7
8
|
t.integer :item_id, null: false
|
8
9
|
t.string :event, null: false
|
9
10
|
t.string :whodunnit
|
10
11
|
t.text :object, limit: TEXT_BYTES
|
11
12
|
t.datetime :created_at
|
13
|
+
|
12
14
|
end
|
15
|
+
|
13
16
|
add_index :phcmemberspro_category_versions, %i(item_type item_id), :name => 'mempro_category_versions'
|
14
17
|
|
15
18
|
end
|
data/lib/phcmemberspro/engine.rb
CHANGED
@@ -1,69 +1,69 @@
|
|
1
1
|
module Phcmemberspro
|
2
|
-
|
3
|
-
|
4
|
-
# PHCTheme Dependencies
|
5
|
-
require 'phctheme1'
|
6
|
-
require 'phctheme2'
|
7
|
-
require 'phctheme3'
|
8
|
-
require 'phctheme4'
|
9
|
-
require 'phctheme5'
|
10
|
-
require 'phctheme6'
|
11
|
-
require 'phctheme7'
|
12
|
-
|
13
|
-
require 'phcadmin1'
|
14
|
-
require 'phcadmin2'
|
15
|
-
require 'phcadmin3'
|
16
|
-
require 'phcadmin4'
|
17
|
-
require 'phcadmin5'
|
18
|
-
require 'phcadmin6'
|
19
|
-
require 'phcadmin7'
|
20
|
-
|
21
|
-
# PHC Helper Dependencies
|
22
|
-
require 'phccorehelpers'
|
23
|
-
require 'phcmenus'
|
24
|
-
require 'phcnotifi'
|
25
|
-
require 'phctitleseo'
|
26
|
-
|
27
|
-
# UI & URL Frontend Dependencies
|
28
|
-
require 'gravtastic'
|
29
|
-
require 'friendly_id'
|
30
|
-
|
31
|
-
# File Upload & Service Dependencies
|
32
|
-
require 'aws-sdk-s3'
|
33
|
-
require 'google-cloud-storage'
|
34
|
-
require 'mini_magick'
|
35
|
-
|
36
|
-
# Database & Paper Trail Dependencies
|
37
|
-
require 'paper_trail'
|
38
|
-
require 'pg'
|
39
|
-
|
40
|
-
# Security Dependencies
|
41
|
-
require 'phcaccountspro'
|
2
|
+
class Engine < ::Rails::Engine
|
42
3
|
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
4
|
+
# PHCTheme Dependencies
|
5
|
+
require 'phctheme1'
|
6
|
+
require 'phctheme2'
|
7
|
+
require 'phctheme3'
|
8
|
+
require 'phctheme4'
|
9
|
+
require 'phctheme5'
|
10
|
+
require 'phctheme6'
|
11
|
+
require 'phctheme7'
|
12
|
+
|
13
|
+
# PHCAdmin Dependencies
|
14
|
+
require 'phcadmin1'
|
15
|
+
require 'phcadmin2'
|
16
|
+
require 'phcadmin3'
|
17
|
+
require 'phcadmin4'
|
18
|
+
require 'phcadmin5'
|
19
|
+
require 'phcadmin6'
|
20
|
+
require 'phcadmin7'
|
21
|
+
|
22
|
+
# PHCHelper Dependencies
|
23
|
+
require 'phccorehelpers'
|
24
|
+
require 'phcmenus'
|
25
|
+
require 'phcnotifi'
|
26
|
+
require 'phctitleseo'
|
27
|
+
|
28
|
+
# Frontend Dependencies
|
29
|
+
require 'gravtastic'
|
30
|
+
require 'friendly_id'
|
31
|
+
|
32
|
+
# Upload Dependencies
|
33
|
+
require 'aws-sdk-s3'
|
34
|
+
require 'google-cloud-storage'
|
35
|
+
require 'mini_magick'
|
36
|
+
|
37
|
+
# Database Dependencies
|
38
|
+
require 'paper_trail'
|
39
|
+
require 'pg'
|
40
|
+
|
41
|
+
# Payment Dependencies
|
42
|
+
require 'phcaccountspro'
|
43
|
+
|
44
|
+
# Isolate Namespace
|
45
|
+
isolate_namespace Phcmemberspro
|
46
|
+
|
47
|
+
# Testing Generator
|
48
|
+
config.generators do |g|
|
49
|
+
g.test_framework :rspec,
|
50
|
+
fixtures: true,
|
51
|
+
view_specs: false,
|
52
|
+
helper_specs: false,
|
53
|
+
routing_specs: false,
|
54
|
+
controller_specs: true,
|
55
|
+
request_specs: false
|
56
|
+
g.fixture_replacement :factory_bot,
|
57
|
+
dir: "spec/factories"
|
58
|
+
end
|
59
|
+
|
60
|
+
# Load Requried Helper Files
|
61
|
+
config.to_prepare do
|
62
|
+
Phccorehelpers::ApplicationController.helper(ApplicationHelper)
|
63
|
+
Phcmenus::ApplicationController.helper(ApplicationHelper)
|
64
|
+
Phcnotifi::ApplicationController.helper(ApplicationHelper)
|
65
|
+
Phctitleseo::ApplicationController.helper(ApplicationHelper)
|
66
|
+
end
|
67
|
+
|
68
|
+
end
|
69
69
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: phcmemberspro
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 82.
|
4
|
+
version: 82.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- BradPotts
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-04-
|
11
|
+
date: 2019-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -716,7 +716,7 @@ files:
|
|
716
716
|
- app/views/layouts/phcmemberspro/mailer.html.erb
|
717
717
|
- app/views/layouts/phcmemberspro/mailer.text.erb
|
718
718
|
- app/views/phcmemberspro/api/v1/categories/index.json.rabl
|
719
|
-
- app/views/phcmemberspro/api/v1/
|
719
|
+
- app/views/phcmemberspro/api/v1/listings/index.json.rabl
|
720
720
|
- app/views/phcmemberspro/directory/categories/_form.html.erb
|
721
721
|
- app/views/phcmemberspro/directory/categories/components/_category_audits.html.erb
|
722
722
|
- app/views/phcmemberspro/directory/categories/components/_category_list.html.erb
|
@@ -785,7 +785,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
785
785
|
- !ruby/object:Gem::Version
|
786
786
|
version: '0'
|
787
787
|
requirements: []
|
788
|
-
rubygems_version: 3.0.
|
788
|
+
rubygems_version: 3.0.3
|
789
789
|
signing_key:
|
790
790
|
specification_version: 4
|
791
791
|
summary: Rails 5.2 Enterprise App Engine
|