phcmembers 11.0.0 → 12.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.md +45 -45
- data/Rakefile +33 -33
- data/app/assets/config/phcmembers_manifest.js +2 -2
- data/app/assets/javascripts/phcmembers/application.js +2 -2
- data/app/assets/stylesheets/phcmembers/application.scss +2 -2
- data/app/controllers/phcmembers/api/directories_controller.rb +18 -18
- data/app/controllers/phcmembers/application_controller.rb +17 -17
- data/app/controllers/phcmembers/directory/categories_controller.rb +68 -68
- data/app/controllers/phcmembers/directory/categorylistings_controller.rb +21 -21
- data/app/controllers/phcmembers/member/addresses_controller.rb +75 -75
- data/app/controllers/phcmembers/member/listings_controller.rb +77 -77
- data/app/controllers/phcmembers/member/profiles_controller.rb +68 -68
- data/app/controllers/phcmembers/modules/dashboards_controller.rb +14 -14
- data/app/helpers/phcmembers/application_helper.rb +14 -14
- data/app/jobs/phcmembers/application_job.rb +4 -4
- data/app/mailers/phcmembers/application_mailer.rb +8 -8
- data/app/models/phcmembers/application_record.rb +5 -5
- data/app/models/phcmembers/connections.rb +7 -7
- data/app/models/phcmembers/directory.rb +7 -7
- data/app/models/phcmembers/directory/category.rb +29 -19
- data/app/models/phcmembers/directory/categorylisting.rb +12 -18
- data/app/models/phcmembers/member.rb +7 -7
- data/app/models/phcmembers/member/address.rb +45 -17
- data/app/models/phcmembers/member/listing.rb +66 -26
- data/app/models/phcmembers/member/profile.rb +49 -49
- data/app/models/phcmembers/versions_address.rb +5 -0
- data/app/models/phcmembers/versions_category.rb +5 -0
- data/app/models/phcmembers/versions_category_listing.rb +5 -0
- data/app/models/phcmembers/versions_listing.rb +5 -0
- data/app/models/phcmembers/versions_profile.rb +5 -0
- data/app/views/layouts/phcmembers/application.html.erb +56 -56
- data/app/views/layouts/phcmembers/components/backend/footer/_footer.html.erb +4 -4
- data/app/views/layouts/phcmembers/components/backend/navigation/_navigation.html.erb +60 -60
- data/app/views/layouts/phcmembers/components/backend/topbar/_topbar.html.erb +5 -5
- data/app/views/layouts/phcmembers/components/backend/topbar/_topbar_links.html.erb +0 -0
- data/app/views/layouts/phcmembers/directory/directory_all.html.erb +56 -56
- data/app/views/layouts/phcmembers/members/members_all.html.erb +56 -56
- data/app/views/phcmembers/directory/categories/_form.html.erb +15 -15
- data/app/views/phcmembers/directory/categories/components/_category_audits.html.erb +14 -14
- data/app/views/phcmembers/directory/categories/components/_category_list.html.erb +7 -7
- data/app/views/phcmembers/directory/categories/components/_category_main.html.erb +31 -31
- data/app/views/phcmembers/directory/categories/edit.html.erb +38 -38
- data/app/views/phcmembers/directory/categories/index.html.erb +47 -47
- data/app/views/phcmembers/directory/categories/new.html.erb +36 -36
- data/app/views/phcmembers/directory/categories/show.html.erb +27 -27
- data/app/views/phcmembers/directory/categorylistings/index.html.erb +63 -63
- data/app/views/phcmembers/directory/categorylistings/show.html.erb +4 -4
- data/app/views/phcmembers/member/addresses/_form.html.erb +44 -44
- data/app/views/phcmembers/member/addresses/components/_address_address.html.erb +29 -29
- data/app/views/phcmembers/member/addresses/components/_address_audits.html.erb +12 -12
- data/app/views/phcmembers/member/addresses/components/_address_main.html.erb +31 -31
- data/app/views/phcmembers/member/addresses/edit.html.erb +40 -40
- data/app/views/phcmembers/member/addresses/index.html.erb +74 -74
- data/app/views/phcmembers/member/addresses/new.html.erb +40 -40
- data/app/views/phcmembers/member/addresses/show.html.erb +27 -27
- data/app/views/phcmembers/member/listings/_form.html.erb +68 -68
- data/app/views/phcmembers/member/listings/components/_listing_address.html.erb +48 -48
- data/app/views/phcmembers/member/listings/components/_listing_audits.html.erb +14 -14
- data/app/views/phcmembers/member/listings/components/_listing_main.html.erb +31 -31
- data/app/views/phcmembers/member/listings/edit.html.erb +40 -40
- data/app/views/phcmembers/member/listings/index.html.erb +76 -76
- data/app/views/phcmembers/member/listings/new.html.erb +40 -40
- data/app/views/phcmembers/member/listings/show.html.erb +27 -27
- data/app/views/phcmembers/member/profiles/_form.html.erb +36 -36
- data/app/views/phcmembers/member/profiles/components/_profile_main.html.erb +44 -44
- data/app/views/phcmembers/member/profiles/components/_profile_sidebar.html.erb +28 -28
- data/app/views/phcmembers/member/profiles/edit.html.erb +39 -39
- data/app/views/phcmembers/member/profiles/index.html.erb +68 -68
- data/app/views/phcmembers/member/profiles/new.html.erb +39 -39
- data/app/views/phcmembers/member/profiles/show.html.erb +31 -31
- data/app/views/phcmembers/modules/dashboards/index.html.erb +66 -66
- data/config/initializers/friendly_id.rb +92 -92
- data/config/initializers/paper_trail.rb +1 -0
- data/config/locales/en.yml +9 -9
- data/config/routes.rb +36 -36
- data/db/migrate/20160724220339_create_phcmembers_member_profiles.rb +23 -23
- data/db/migrate/20160725153306_create_phcmembers_member_addresses.rb +26 -26
- data/db/migrate/20160725182257_create_phcmembers_directory_categories.rb +18 -18
- data/db/migrate/20160727024006_create_phcmembers_member_listings.rb +30 -30
- data/db/migrate/20160727042756_create_phcmembers_directory_categorylistings.rb +19 -19
- data/db/migrate/20170509002355_create_phcmembers_friendly_id_slugs.rb +15 -0
- data/db/migrate/20170517064030_create_phcmembers_versions_profiles.rb +12 -0
- data/db/migrate/20170517064049_create_phcmembers_versions_listings.rb +12 -0
- data/db/migrate/20170517064114_create_phcmembers_versions_addresses.rb +12 -0
- data/db/migrate/20170517064208_create_phcmembers_versions_categorylistings.rb +12 -0
- data/db/migrate/20170517064427_create_phcmembers_versions_categories.rb +12 -0
- data/lib/phcmembers.rb +4 -4
- data/lib/phcmembers/engine.rb +73 -73
- data/lib/phcmembers/version.rb +3 -3
- data/lib/tasks/phcmembers_tasks.rake +4 -4
- metadata +59 -7
- data/db/migrate/20160707154842_create_versions.rb +0 -80
- data/db/migrate/20170509002355_create_friendly_id_slugs.rb +0 -15
@@ -1,40 +1,40 @@
|
|
1
|
-
<!-- Title Variables -->
|
2
|
-
<% phc_title "Member Listing Manager" %>
|
3
|
-
<% phc_title_tagline "Update Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title System -->
|
8
|
-
|
9
|
-
<!-- Page Title Bar -->
|
10
|
-
<section class="content-header">
|
11
|
-
<!-- Page Title and BreadCrumb -->
|
12
|
-
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Page Title and BreadCrumb -->
|
18
|
-
</section>
|
19
|
-
<!-- Page Title Bar -->
|
20
|
-
|
21
|
-
<!-- Main Content -->
|
22
|
-
<section class="content">
|
23
|
-
<div class="row">
|
24
|
-
<div class="col-lg-12">
|
25
|
-
<div class="box">
|
26
|
-
<div class="box-header with-border">
|
27
|
-
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
28
|
-
</div>
|
29
|
-
<div class="box-body">
|
30
|
-
|
31
|
-
<!-- Page Form (Edit) -->
|
32
|
-
<%= render 'form', { form_url: member_profile_listing_path } %>
|
33
|
-
<!-- Page Form (Edit) -->
|
34
|
-
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</section>
|
40
|
-
<!-- Main Content -->
|
1
|
+
<!-- Title Variables -->
|
2
|
+
<% phc_title "Member Listing Manager" %>
|
3
|
+
<% phc_title_tagline "Update Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- Title System -->
|
8
|
+
|
9
|
+
<!-- Page Title Bar -->
|
10
|
+
<section class="content-header">
|
11
|
+
<!-- Page Title and BreadCrumb -->
|
12
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
13
|
+
<ol class="breadcrumb">
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
+
</ol>
|
17
|
+
<!-- Page Title and BreadCrumb -->
|
18
|
+
</section>
|
19
|
+
<!-- Page Title Bar -->
|
20
|
+
|
21
|
+
<!-- Main Content -->
|
22
|
+
<section class="content">
|
23
|
+
<div class="row">
|
24
|
+
<div class="col-lg-12">
|
25
|
+
<div class="box">
|
26
|
+
<div class="box-header with-border">
|
27
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
28
|
+
</div>
|
29
|
+
<div class="box-body">
|
30
|
+
|
31
|
+
<!-- Page Form (Edit) -->
|
32
|
+
<%= render 'form', { form_url: member_profile_listing_path } %>
|
33
|
+
<!-- Page Form (Edit) -->
|
34
|
+
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</section>
|
40
|
+
<!-- Main Content -->
|
@@ -1,76 +1,76 @@
|
|
1
|
-
<!-- Title Variables -->
|
2
|
-
<% phc_title "Member Listings Manager" %>
|
3
|
-
<% phc_title_tagline "Listing Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
-
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
-
<!-- Title System -->
|
7
|
-
|
8
|
-
<!-- Page Title Bar -->
|
9
|
-
<section class="content-header">
|
10
|
-
<!-- Page Title and BreadCrumb -->
|
11
|
-
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
-
<ol class="breadcrumb">
|
13
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
-
</ol>
|
16
|
-
<!-- Page Title and BreadCrumb -->
|
17
|
-
</section>
|
18
|
-
<!-- Page Title Bar -->
|
19
|
-
|
20
|
-
<!-- Main Content -->
|
21
|
-
<section class="content">
|
22
|
-
<div class="row">
|
23
|
-
<div class="col-lg-12">
|
24
|
-
<div class="box">
|
25
|
-
<div class="box-header with-border">
|
26
|
-
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
-
</div>
|
28
|
-
<div class="box-body">
|
29
|
-
|
30
|
-
<!-- Index Table -->
|
31
|
-
<div class="table-responsive">
|
32
|
-
<table class="table table-bordered table-striped table-hover">
|
33
|
-
<thead>
|
34
|
-
<tr>
|
35
|
-
<th>Company Name</th>
|
36
|
-
<th>Conact Name</th>
|
37
|
-
<th>City</th>
|
38
|
-
<th>Country</th>
|
39
|
-
<th>Listing Phone</th>
|
40
|
-
<th>Listing Email</th>
|
41
|
-
<th>Listing Website</th>
|
42
|
-
<th></th>
|
43
|
-
</tr>
|
44
|
-
</thead>
|
45
|
-
<tbody>
|
46
|
-
<% @member_listings.each do |member_listing| %>
|
47
|
-
<tr>
|
48
|
-
<td class="highlight"><%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
49
|
-
<td class="highlight"><%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
50
|
-
<td class="highlight"><%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
51
|
-
<td class="highlight"><%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
52
|
-
<td class="highlight"><%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
53
|
-
<td class="highlight"><%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
54
|
-
<td class="highlight"><%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
55
|
-
<td><%= 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 address information and cannot be reversed.' } %></td>
|
56
|
-
</tr>
|
57
|
-
<% end %>
|
58
|
-
</tbody>
|
59
|
-
</table>
|
60
|
-
</div>
|
61
|
-
<!-- Index Table -->
|
62
|
-
|
63
|
-
<!-- Panel Footer -->
|
64
|
-
<div class="box-footer clearfix">
|
65
|
-
<%= link_to new_member_profile_listing_path, class: "btn btn-primary" do %>
|
66
|
-
<i class="fa fa-plus"></i> Create a New Listing for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %>
|
67
|
-
<% end %>
|
68
|
-
</div>
|
69
|
-
<!-- Panel Footer -->
|
70
|
-
|
71
|
-
</div>
|
72
|
-
</div>
|
73
|
-
</div>
|
74
|
-
</div>
|
75
|
-
</section>
|
76
|
-
<!-- Main Content -->
|
1
|
+
<!-- Title Variables -->
|
2
|
+
<% phc_title "Member Listings Manager" %>
|
3
|
+
<% phc_title_tagline "Listing Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
+
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
|
6
|
+
<!-- Title System -->
|
7
|
+
|
8
|
+
<!-- Page Title Bar -->
|
9
|
+
<section class="content-header">
|
10
|
+
<!-- Page Title and BreadCrumb -->
|
11
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
12
|
+
<ol class="breadcrumb">
|
13
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
14
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
15
|
+
</ol>
|
16
|
+
<!-- Page Title and BreadCrumb -->
|
17
|
+
</section>
|
18
|
+
<!-- Page Title Bar -->
|
19
|
+
|
20
|
+
<!-- Main Content -->
|
21
|
+
<section class="content">
|
22
|
+
<div class="row">
|
23
|
+
<div class="col-lg-12">
|
24
|
+
<div class="box">
|
25
|
+
<div class="box-header with-border">
|
26
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
27
|
+
</div>
|
28
|
+
<div class="box-body">
|
29
|
+
|
30
|
+
<!-- Index Table -->
|
31
|
+
<div class="table-responsive">
|
32
|
+
<table class="table table-bordered table-striped table-hover">
|
33
|
+
<thead>
|
34
|
+
<tr>
|
35
|
+
<th>Company Name</th>
|
36
|
+
<th>Conact Name</th>
|
37
|
+
<th>City</th>
|
38
|
+
<th>Country</th>
|
39
|
+
<th>Listing Phone</th>
|
40
|
+
<th>Listing Email</th>
|
41
|
+
<th>Listing Website</th>
|
42
|
+
<th></th>
|
43
|
+
</tr>
|
44
|
+
</thead>
|
45
|
+
<tbody>
|
46
|
+
<% @member_listings.each do |member_listing| %>
|
47
|
+
<tr>
|
48
|
+
<td class="highlight"><%= link_to member_listing.mbcompanyname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
49
|
+
<td class="highlight"><%= link_to member_listing.mbcontactname, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
50
|
+
<td class="highlight"><%= link_to member_listing.mbcity, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
51
|
+
<td class="highlight"><%= link_to member_listing.mbcountry, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
52
|
+
<td class="highlight"><%= link_to member_listing.mbphone, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
53
|
+
<td class="highlight"><%= link_to member_listing.mbcontactemail, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
54
|
+
<td class="highlight"><%= link_to member_listing.mbwebsite, member_profile_listing_path(member_listing.profile, member_listing) %></td>
|
55
|
+
<td><%= 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 address information and cannot be reversed.' } %></td>
|
56
|
+
</tr>
|
57
|
+
<% end %>
|
58
|
+
</tbody>
|
59
|
+
</table>
|
60
|
+
</div>
|
61
|
+
<!-- Index Table -->
|
62
|
+
|
63
|
+
<!-- Panel Footer -->
|
64
|
+
<div class="box-footer clearfix">
|
65
|
+
<%= link_to new_member_profile_listing_path, class: "btn btn-primary" do %>
|
66
|
+
<i class="fa fa-plus"></i> Create a New Listing for <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %>
|
67
|
+
<% end %>
|
68
|
+
</div>
|
69
|
+
<!-- Panel Footer -->
|
70
|
+
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
</section>
|
76
|
+
<!-- Main Content -->
|
@@ -1,40 +1,40 @@
|
|
1
|
-
<!-- Title Variables -->
|
2
|
-
<% phc_title "Member Listing Manager" %>
|
3
|
-
<% phc_title_tagline "Create a New Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
-
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title System -->
|
8
|
-
|
9
|
-
<!-- Page Title Bar -->
|
10
|
-
<section class="content-header">
|
11
|
-
<!-- Page Title and BreadCrumb -->
|
12
|
-
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Page Title and BreadCrumb -->
|
18
|
-
</section>
|
19
|
-
<!-- Page Title Bar -->
|
20
|
-
|
21
|
-
<!-- Main Content -->
|
22
|
-
<section class="content">
|
23
|
-
<div class="row">
|
24
|
-
<div class="col-lg-12">
|
25
|
-
<div class="box">
|
26
|
-
<div class="box-header with-border">
|
27
|
-
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
28
|
-
</div>
|
29
|
-
<div class="box-body">
|
30
|
-
|
31
|
-
<!-- Page Form (New) -->
|
32
|
-
<%= render 'form', { form_url: member_profile_listings_path } %>
|
33
|
-
<!-- Page Form (New) -->
|
34
|
-
|
35
|
-
</div>
|
36
|
-
</div>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</section>
|
40
|
-
<!-- Main Content -->
|
1
|
+
<!-- Title Variables -->
|
2
|
+
<% phc_title "Member Listing Manager" %>
|
3
|
+
<% phc_title_tagline "Create a New Listing for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %>
|
4
|
+
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- Title System -->
|
8
|
+
|
9
|
+
<!-- Page Title Bar -->
|
10
|
+
<section class="content-header">
|
11
|
+
<!-- Page Title and BreadCrumb -->
|
12
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
13
|
+
<ol class="breadcrumb">
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
+
</ol>
|
17
|
+
<!-- Page Title and BreadCrumb -->
|
18
|
+
</section>
|
19
|
+
<!-- Page Title Bar -->
|
20
|
+
|
21
|
+
<!-- Main Content -->
|
22
|
+
<section class="content">
|
23
|
+
<div class="row">
|
24
|
+
<div class="col-lg-12">
|
25
|
+
<div class="box">
|
26
|
+
<div class="box-header with-border">
|
27
|
+
<h3 class="box-title"><%= yield(:phc_title) %></h3>
|
28
|
+
</div>
|
29
|
+
<div class="box-body">
|
30
|
+
|
31
|
+
<!-- Page Form (New) -->
|
32
|
+
<%= render 'form', { form_url: member_profile_listings_path } %>
|
33
|
+
<!-- Page Form (New) -->
|
34
|
+
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
</section>
|
40
|
+
<!-- Main Content -->
|
@@ -1,27 +1,27 @@
|
|
1
|
-
<!-- Title Variables -->
|
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 "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
-
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
|
6
|
-
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
-
<!-- Title System -->
|
8
|
-
|
9
|
-
<!-- Page Title Bar -->
|
10
|
-
<section class="content-header">
|
11
|
-
<!-- Page Title and BreadCrumb -->
|
12
|
-
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
13
|
-
<ol class="breadcrumb">
|
14
|
-
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
-
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
-
</ol>
|
17
|
-
<!-- Page Title and BreadCrumb -->
|
18
|
-
</section>
|
19
|
-
<!-- Page Title Bar -->
|
20
|
-
|
21
|
-
<!-- Main Content -->
|
22
|
-
<section class="content">
|
23
|
-
<div class="row">
|
24
|
-
<%= render 'phcmembers/member/listings/components/listing_main' %>
|
25
|
-
</div>
|
26
|
-
</section>
|
27
|
-
<!-- Main Content -->
|
1
|
+
<!-- Title Variables -->
|
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 "Dashboard", phcmembers.modules_dashboards_index_path %>
|
5
|
+
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
|
6
|
+
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
|
7
|
+
<!-- Title System -->
|
8
|
+
|
9
|
+
<!-- Page Title Bar -->
|
10
|
+
<section class="content-header">
|
11
|
+
<!-- Page Title and BreadCrumb -->
|
12
|
+
<h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1>
|
13
|
+
<ol class="breadcrumb">
|
14
|
+
<li><%= yield(:phc_breadcrumb_one) %></li>
|
15
|
+
<li class="active"><%= yield(:phc_breadcrumb_two) %></li>
|
16
|
+
</ol>
|
17
|
+
<!-- Page Title and BreadCrumb -->
|
18
|
+
</section>
|
19
|
+
<!-- Page Title Bar -->
|
20
|
+
|
21
|
+
<!-- Main Content -->
|
22
|
+
<section class="content">
|
23
|
+
<div class="row">
|
24
|
+
<%= render 'phcmembers/member/listings/components/listing_main' %>
|
25
|
+
</div>
|
26
|
+
</section>
|
27
|
+
<!-- Main Content -->
|
@@ -1,36 +1,36 @@
|
|
1
|
-
<%= form_for(member_profile) do |f| %>
|
2
|
-
|
3
|
-
<!-- PHC-Notifi Render Validation -->
|
4
|
-
<%= render 'phcnotifi/validations', :object => @member_profile %>
|
5
|
-
<!-- PHC-Notifi Render Validation -->
|
6
|
-
|
7
|
-
<!-- Form Fields -->
|
8
|
-
<div class="form-group field_with_errors">
|
9
|
-
<%= f.label :mfirstname, "First Name*" %>
|
10
|
-
<%= f.text_field :mfirstname, class: 'form-control', placeholder: 'First Name' %>
|
11
|
-
</div>
|
12
|
-
<div class="form-group field_with_errors">
|
13
|
-
<%= f.label :mlastname, "Last Name*" %>
|
14
|
-
<%= f.text_field :mlastname, class: 'form-control', placeholder: 'Last Name' %>
|
15
|
-
</div>
|
16
|
-
<div class="form-group field_with_errors">
|
17
|
-
<%= f.label :mtitle, "Job Title" %>
|
18
|
-
<%= f.text_field :mtitle, class: 'form-control', placeholder: 'Job Title/Salutation' %>
|
19
|
-
</div>
|
20
|
-
<div class="form-group field_with_errors">
|
21
|
-
<%= f.label :memail, "Contact Email Address*" %>
|
22
|
-
<%= f.text_field :memail, class: 'form-control', placeholder: 'Contact Email (Will Remain Private)' %>
|
23
|
-
</div>
|
24
|
-
<div class="form-group field_with_errors">
|
25
|
-
<%= f.label :mphone, "Contact Phone Number*" %>
|
26
|
-
<%= f.text_field :mphone, class: 'form-control masked', placeholder: 'Contact Phone Number (Will Remain Private)', data: {format: '(999) 999-9999', placeholder: 'x'} %>
|
27
|
-
</div>
|
28
|
-
<!-- Form Fields -->
|
29
|
-
|
30
|
-
<!-- Form Button -->
|
31
|
-
<div class="actions">
|
32
|
-
<%= f.submit class: "btn btn-primary" %>
|
33
|
-
</div>
|
34
|
-
<!-- Form Button -->
|
35
|
-
|
36
|
-
<% end %>
|
1
|
+
<%= form_for(member_profile) do |f| %>
|
2
|
+
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
|
+
<%= render 'phcnotifi/validations', :object => @member_profile %>
|
5
|
+
<!-- PHC-Notifi Render Validation -->
|
6
|
+
|
7
|
+
<!-- Form Fields -->
|
8
|
+
<div class="form-group field_with_errors">
|
9
|
+
<%= f.label :mfirstname, "First Name*" %>
|
10
|
+
<%= f.text_field :mfirstname, class: 'form-control', placeholder: 'First Name' %>
|
11
|
+
</div>
|
12
|
+
<div class="form-group field_with_errors">
|
13
|
+
<%= f.label :mlastname, "Last Name*" %>
|
14
|
+
<%= f.text_field :mlastname, class: 'form-control', placeholder: 'Last Name' %>
|
15
|
+
</div>
|
16
|
+
<div class="form-group field_with_errors">
|
17
|
+
<%= f.label :mtitle, "Job Title" %>
|
18
|
+
<%= f.text_field :mtitle, class: 'form-control', placeholder: 'Job Title/Salutation' %>
|
19
|
+
</div>
|
20
|
+
<div class="form-group field_with_errors">
|
21
|
+
<%= f.label :memail, "Contact Email Address*" %>
|
22
|
+
<%= f.text_field :memail, class: 'form-control', placeholder: 'Contact Email (Will Remain Private)' %>
|
23
|
+
</div>
|
24
|
+
<div class="form-group field_with_errors">
|
25
|
+
<%= f.label :mphone, "Contact Phone Number*" %>
|
26
|
+
<%= f.text_field :mphone, class: 'form-control masked', placeholder: 'Contact Phone Number (Will Remain Private)', data: {format: '(999) 999-9999', placeholder: 'x'} %>
|
27
|
+
</div>
|
28
|
+
<!-- Form Fields -->
|
29
|
+
|
30
|
+
<!-- Form Button -->
|
31
|
+
<div class="actions">
|
32
|
+
<%= f.submit class: "btn btn-primary" %>
|
33
|
+
</div>
|
34
|
+
<!-- Form Button -->
|
35
|
+
|
36
|
+
<% end %>
|
@@ -1,44 +1,44 @@
|
|
1
|
-
<div class="row">
|
2
|
-
|
3
|
-
<div class="col-md-6">
|
4
|
-
|
5
|
-
<div class="panel panel-default">
|
6
|
-
|
7
|
-
<div class="panel-heading">
|
8
|
-
<%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Member Stats
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="panel-body">
|
12
|
-
</div>
|
13
|
-
|
14
|
-
</div>
|
15
|
-
|
16
|
-
</div>
|
17
|
-
<div class="col-md-6">
|
18
|
-
|
19
|
-
<div class="panel panel-default">
|
20
|
-
|
21
|
-
<div class="panel-heading">
|
22
|
-
<%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Information Change Log
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<div class="panel-body">
|
26
|
-
<div class="scroller" style="height: 320px;" data-always-visible="1" data-rail-visible1="0" data-handle-color="#D7DCE2">
|
27
|
-
<ul class="list-group feeds">
|
28
|
-
<% @versions.each do |version| %>
|
29
|
-
<li class="list-group-item">
|
30
|
-
<i class="fa fa-bell-o fa-fw"></i>
|
31
|
-
<strong>EVENT #<%= version.id %></strong> -
|
32
|
-
<i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
|
33
|
-
<%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
|
34
|
-
</li>
|
35
|
-
<% end %>
|
36
|
-
</ul>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
|
40
|
-
</div>
|
41
|
-
|
42
|
-
</div>
|
43
|
-
|
44
|
-
</div>
|
1
|
+
<div class="row">
|
2
|
+
|
3
|
+
<div class="col-md-6">
|
4
|
+
|
5
|
+
<div class="panel panel-default">
|
6
|
+
|
7
|
+
<div class="panel-heading">
|
8
|
+
<%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Member Stats
|
9
|
+
</div>
|
10
|
+
|
11
|
+
<div class="panel-body">
|
12
|
+
</div>
|
13
|
+
|
14
|
+
</div>
|
15
|
+
|
16
|
+
</div>
|
17
|
+
<div class="col-md-6">
|
18
|
+
|
19
|
+
<div class="panel panel-default">
|
20
|
+
|
21
|
+
<div class="panel-heading">
|
22
|
+
<%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Information Change Log
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="panel-body">
|
26
|
+
<div class="scroller" style="height: 320px;" data-always-visible="1" data-rail-visible1="0" data-handle-color="#D7DCE2">
|
27
|
+
<ul class="list-group feeds">
|
28
|
+
<% @versions.each do |version| %>
|
29
|
+
<li class="list-group-item">
|
30
|
+
<i class="fa fa-bell-o fa-fw"></i>
|
31
|
+
<strong>EVENT #<%= version.id %></strong> -
|
32
|
+
<i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
|
33
|
+
<%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
|
34
|
+
</li>
|
35
|
+
<% end %>
|
36
|
+
</ul>
|
37
|
+
</div>
|
38
|
+
</div>
|
39
|
+
|
40
|
+
</div>
|
41
|
+
|
42
|
+
</div>
|
43
|
+
|
44
|
+
</div>
|