phcmembers 8.1.2 → 9.0.0b

Sign up to get free protection for your applications and to get access to all the features.
Files changed (69) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +1 -1
  3. data/README.md +14 -14
  4. data/Rakefile +1 -1
  5. data/app/controllers/phcmembers/api/directories_controller.rb +4 -4
  6. data/app/controllers/phcmembers/application_controller.rb +2 -2
  7. data/app/controllers/phcmembers/directory/categories_controller.rb +13 -13
  8. data/app/controllers/phcmembers/directory/categorylistings_controller.rb +5 -5
  9. data/app/controllers/phcmembers/member/addresses_controller.rb +13 -13
  10. data/app/controllers/phcmembers/member/listings_controller.rb +13 -13
  11. data/app/controllers/phcmembers/member/profiles_controller.rb +13 -13
  12. data/app/controllers/phcmembers/modules/dashboards_controller.rb +3 -3
  13. data/app/helpers/phcmembers/application_helper.rb +1 -1
  14. data/app/jobs/phcmembers/application_job.rb +1 -1
  15. data/app/mailers/phcmembers/application_mailer.rb +1 -1
  16. data/app/models/phcmembers/application_record.rb +1 -1
  17. data/app/models/phcmembers/connections.rb +1 -1
  18. data/app/models/phcmembers/directory.rb +1 -1
  19. data/app/models/phcmembers/member.rb +1 -1
  20. data/app/models/phcmembers/member/address.rb +1 -1
  21. data/app/models/phcmembers/member/listing.rb +1 -1
  22. data/app/models/phcmembers/member/profile.rb +1 -1
  23. data/app/views/layouts/phcmembers/application.html.erb +1 -1
  24. data/app/views/layouts/phcmembers/components/backend/footer/_footer.html.erb +2 -2
  25. data/app/views/layouts/phcmembers/components/backend/navigation/_navigation.html.erb +4 -4
  26. data/app/views/layouts/phcmembers/components/backend/topbar/_topbar.html.erb +1 -1
  27. data/app/views/layouts/phcmembers/directory/directory_all.html.erb +1 -1
  28. data/app/views/layouts/phcmembers/members/members_all.html.erb +1 -1
  29. data/app/views/phcmembers/directory/categories/components/_category_audits.html.erb +3 -3
  30. data/app/views/phcmembers/directory/categories/edit.html.erb +1 -1
  31. data/app/views/phcmembers/directory/categories/index.html.erb +1 -1
  32. data/app/views/phcmembers/directory/categories/new.html.erb +1 -1
  33. data/app/views/phcmembers/directory/categories/show.html.erb +1 -1
  34. data/app/views/phcmembers/directory/categorylistings/index.html.erb +2 -2
  35. data/app/views/phcmembers/member/addresses/_form.html.erb +3 -3
  36. data/app/views/phcmembers/member/addresses/components/_address_address.html.erb +1 -1
  37. data/app/views/phcmembers/member/addresses/components/_address_audits.html.erb +3 -3
  38. data/app/views/phcmembers/member/addresses/edit.html.erb +1 -1
  39. data/app/views/phcmembers/member/addresses/index.html.erb +1 -1
  40. data/app/views/phcmembers/member/addresses/new.html.erb +1 -1
  41. data/app/views/phcmembers/member/addresses/show.html.erb +1 -1
  42. data/app/views/phcmembers/member/listings/_form.html.erb +3 -3
  43. data/app/views/phcmembers/member/listings/components/_listing_address.html.erb +1 -1
  44. data/app/views/phcmembers/member/listings/components/_listing_audits.html.erb +3 -3
  45. data/app/views/phcmembers/member/listings/edit.html.erb +1 -1
  46. data/app/views/phcmembers/member/listings/index.html.erb +1 -1
  47. data/app/views/phcmembers/member/listings/new.html.erb +1 -1
  48. data/app/views/phcmembers/member/listings/show.html.erb +1 -1
  49. data/app/views/phcmembers/member/profiles/_form.html.erb +3 -3
  50. data/app/views/phcmembers/member/profiles/components/_profile_main.html.erb +3 -3
  51. data/app/views/phcmembers/member/profiles/components/_profile_sidebar.html.erb +3 -3
  52. data/app/views/phcmembers/member/profiles/edit.html.erb +1 -1
  53. data/app/views/phcmembers/member/profiles/index.html.erb +1 -1
  54. data/app/views/phcmembers/member/profiles/new.html.erb +1 -1
  55. data/app/views/phcmembers/member/profiles/show.html.erb +1 -1
  56. data/app/views/phcmembers/modules/dashboards/index.html.erb +1 -1
  57. data/config/locales/en.yml +1 -1
  58. data/config/routes.rb +6 -6
  59. data/db/migrate/20160707154842_create_versions.rb +7 -7
  60. data/db/migrate/20160724220339_create_phcmembers_member_profiles.rb +7 -7
  61. data/db/migrate/20160725153306_create_phcmembers_member_addresses.rb +8 -8
  62. data/db/migrate/20160725182257_create_phcmembers_directory_categories.rb +7 -7
  63. data/db/migrate/20160727024006_create_phcmembers_member_listings.rb +8 -8
  64. data/db/migrate/20160727042756_create_phcmembers_directory_categorylistings.rb +6 -6
  65. data/lib/phcmembers.rb +1 -1
  66. data/lib/phcmembers/engine.rb +10 -10
  67. data/lib/phcmembers/version.rb +2 -2
  68. data/lib/tasks/phcmembers_tasks.rake +1 -1
  69. metadata +168 -204
@@ -2,13 +2,13 @@ require_dependency "phcmembers/application_controller"
2
2
 
3
3
  module Phcmembers
4
4
  class Modules::DashboardsController < ApplicationController
5
-
5
+
6
6
  def index
7
7
  @member_profile = Member::Profile.all
8
8
  @member_listing = Member::Listing.all
9
9
  @member_address = Member::Address.all
10
10
  @directory_category = Directory::Category.all
11
11
  end
12
-
12
+
13
13
  end
14
- end
14
+ end
@@ -11,4 +11,4 @@ module Phcmembers
11
11
  end
12
12
 
13
13
  end
14
- end
14
+ end
@@ -1,4 +1,4 @@
1
1
  module Phcmembers
2
2
  class ApplicationJob < ActiveJob::Base
3
3
  end
4
- end
4
+ end
@@ -5,4 +5,4 @@ module Phcmembers
5
5
  layout 'mailer'
6
6
  end
7
7
 
8
- end
8
+ end
@@ -2,4 +2,4 @@ module Phcmembers
2
2
  class ApplicationRecord < ActiveRecord::Base
3
3
  self.abstract_class = true
4
4
  end
5
- end
5
+ end
@@ -4,4 +4,4 @@ module Phcmembers
4
4
  'phcmembers_connections_'
5
5
  end
6
6
  end
7
- end
7
+ end
@@ -4,4 +4,4 @@ module Phcmembers
4
4
  'phcmembers_directory_'
5
5
  end
6
6
  end
7
- end
7
+ end
@@ -4,4 +4,4 @@ module Phcmembers
4
4
  'phcmembers_member_'
5
5
  end
6
6
  end
7
- end
7
+ end
@@ -8,4 +8,4 @@ module Phcmembers
8
8
  belongs_to :profile, class_name: 'Phcmembers::Member::Profile'
9
9
 
10
10
  end
11
- end
11
+ end
@@ -10,4 +10,4 @@ module Phcmembers
10
10
  has_many :categories, class_name: 'Phcmembers::Directory::Category', :through => :categorylistings
11
11
 
12
12
  end
13
- end
13
+ end
@@ -33,4 +33,4 @@ module Phcmembers
33
33
  format: { with: /\A(\+\d{1,2}\s)?\(?\d{3}\)?[\s.-]?\d{3}[\s.-]?\d{4}\z/, message: "Please Follow this Phone Number Format: xxx-xxx-xxxx" }
34
34
 
35
35
  end
36
- end
36
+ end
@@ -42,7 +42,7 @@
42
42
  <%= yield %>
43
43
  </div>
44
44
  <!-- Page Content -->
45
-
45
+
46
46
  </div>
47
47
  </div>
48
48
 
@@ -1,4 +1,4 @@
1
1
  <div class="pull-right hidden-xs">
2
- <b>Version</b> 8.1.2 - 04-14-<%= Date.today.year %>
2
+ <b>Version</b> 9.0.0Beta - 04-24-<%= Date.today.year %>
3
3
  </div>
4
- <strong>&copy; 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
4
+ <strong>&copy; 2012-<%= Time.now.year %> <%= link_to "https://phcnetworks.net", target: "_blank", rel: "nofollow" do %>PHCNetworks<% end %></strong>
@@ -20,13 +20,13 @@
20
20
  <ul class="treeview-menu">
21
21
  <li class="">
22
22
  <%= link_to member_profiles_path do %>
23
- <i class="fa fa-circle-o"></i>
23
+ <i class="fa fa-circle-o"></i>
24
24
  Members List
25
25
  <% end %>
26
26
  </li>
27
27
  <li class="">
28
28
  <%= link_to new_member_profile_path do %>
29
- <i class="fa fa-circle-o"></i>
29
+ <i class="fa fa-circle-o"></i>
30
30
  Add a New Member
31
31
  <% end %>
32
32
  </li>
@@ -43,13 +43,13 @@
43
43
  <ul class="treeview-menu">
44
44
  <li class="">
45
45
  <%= link_to directory_categories_path do %>
46
- <i class="fa fa-circle-o"></i>
46
+ <i class="fa fa-circle-o"></i>
47
47
  Category List
48
48
  <% end %>
49
49
  </li>
50
50
  <li class="">
51
51
  <%= link_to new_directory_category_path do %>
52
- <i class="fa fa-circle-o"></i>
52
+ <i class="fa fa-circle-o"></i>
53
53
  Add a New Category
54
54
  <% end %>
55
55
  </li>
@@ -2,4 +2,4 @@
2
2
  <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
3
3
  <span class="sr-only">Toggle navigation</span>
4
4
  </a>
5
- <!-- Mobile Toggle -->
5
+ <!-- Mobile Toggle -->
@@ -42,7 +42,7 @@
42
42
  <%= yield %>
43
43
  </div>
44
44
  <!-- Page Content -->
45
-
45
+
46
46
  </div>
47
47
  </div>
48
48
 
@@ -42,7 +42,7 @@
42
42
  <%= yield %>
43
43
  </div>
44
44
  <!-- Page Content -->
45
-
45
+
46
46
  </div>
47
47
  </div>
48
48
 
@@ -3,9 +3,9 @@
3
3
  <ul class="list-group feeds">
4
4
  <% @versions.each do |version| %>
5
5
  <li class="list-group-item">
6
- <i class="fa fa-bell-o fa-fw"></i>
7
- <strong>EVENT #<%= version.id %></strong> -
8
- <i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
6
+ <i class="fa fa-bell-o fa-fw"></i>
7
+ <strong>EVENT #<%= version.id %></strong> -
8
+ <i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
9
9
  <%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
10
10
  </li>
11
11
  <% end %>
@@ -35,4 +35,4 @@
35
35
  </div>
36
36
  </div>
37
37
  </section>
38
- <!-- Main Content -->
38
+ <!-- Main Content -->
@@ -44,4 +44,4 @@
44
44
  </div>
45
45
  </div>
46
46
  </section>
47
- <!-- Main Content -->
47
+ <!-- Main Content -->
@@ -33,4 +33,4 @@
33
33
  </div>
34
34
  </div>
35
35
  </section>
36
- <!-- Main Content -->
36
+ <!-- Main Content -->
@@ -24,4 +24,4 @@
24
24
  <%= render 'phcmembers/directory/categories/components/category_main' %>
25
25
  </div>
26
26
  </section>
27
- <!-- Main Content -->
27
+ <!-- Main Content -->
@@ -37,7 +37,7 @@
37
37
 
38
38
  <div class="table-scrollable">
39
39
  <table class="table table-striped table-bordered table-advance table-hover">
40
-
40
+
41
41
  <thead>
42
42
  <tr>
43
43
  <th>Category</th>
@@ -60,4 +60,4 @@
60
60
  </div>
61
61
 
62
62
  </div>
63
- </div>
63
+ </div>
@@ -3,7 +3,7 @@
3
3
  <!-- PHC-Notifi Render Validation -->
4
4
  <%= render 'phcnotifi/validations', :object => @member_address %>
5
5
  <!-- PHC-Notifi Render Validation -->
6
-
6
+
7
7
  <!-- Form Fields -->
8
8
  <div class="form-group field_with_errors">
9
9
  <label><%= f.label :mcaddressl1, "Address Line1" %></label>
@@ -34,11 +34,11 @@
34
34
  <%= f.select :mctype, [['Billing Address','Billing'],['Street Address','Street'],['Mailing Address','Mailing'],['Home Address','Home'],['Business Address','Business']], {}, class: "form-control" %>
35
35
  </div>
36
36
  <!-- Form Fields -->
37
-
37
+
38
38
  <!-- Form Button -->
39
39
  <div class="actions">
40
40
  <%= f.submit class: "btn btn-primary" %>
41
41
  </div>
42
42
  <!-- Form Button -->
43
43
 
44
- <% end %>
44
+ <% end %>
@@ -26,4 +26,4 @@
26
26
  <p>
27
27
  <strong>PostalCode:</strong>
28
28
  <%= @member_address.mcpostalcode %>
29
- </p>
29
+ </p>
@@ -2,9 +2,9 @@
2
2
  <ul class="list-group feeds">
3
3
  <% @versions.each do |version| %>
4
4
  <li class="list-group-item">
5
- <i class="fa fa-bell-o fa-fw"></i>
6
- <strong>EVENT #<%= version.id %></strong> -
7
- <i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
5
+ <i class="fa fa-bell-o fa-fw"></i>
6
+ <strong>EVENT #<%= version.id %></strong> -
7
+ <i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
8
8
  <%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
9
9
  </li>
10
10
  <% end %>
@@ -37,4 +37,4 @@
37
37
  </div>
38
38
  </div>
39
39
  </section>
40
- <!-- Main Content -->
40
+ <!-- Main Content -->
@@ -71,4 +71,4 @@
71
71
  </div>
72
72
  </div>
73
73
  </section>
74
- <!-- Main Content -->
74
+ <!-- Main Content -->
@@ -37,4 +37,4 @@
37
37
  </div>
38
38
  </div>
39
39
  </section>
40
- <!-- Main Content -->
40
+ <!-- Main Content -->
@@ -24,4 +24,4 @@
24
24
  <%= render 'phcmembers/member/addresses/components/address_main' %>
25
25
  </div>
26
26
  </section>
27
- <!-- Main Content -->
27
+ <!-- Main Content -->
@@ -3,7 +3,7 @@
3
3
  <!-- PHC-Notifi Render Validation -->
4
4
  <%= render 'phcnotifi/validations', :object => @member_listing %>
5
5
  <!-- PHC-Notifi Render Validation -->
6
-
6
+
7
7
  <!-- Form Fields -->
8
8
  <div class="form-group field_with_errors">
9
9
  <%= f.label :mbcompanyname, "Company Name" %>
@@ -58,11 +58,11 @@
58
58
  <% end %>
59
59
  </div>
60
60
  <!-- Form Fields -->
61
-
61
+
62
62
  <!-- Form Button -->
63
63
  <div class="actions">
64
64
  <%= f.submit class: "btn btn-primary" %>
65
65
  </div>
66
66
  <!-- Form Button -->
67
67
 
68
- <% end %>
68
+ <% end %>
@@ -45,4 +45,4 @@
45
45
  <p>
46
46
  <strong>Email:</strong>
47
47
  <%= @member_listing.mbcontactemail %>
48
- </p>
48
+ </p>
@@ -3,9 +3,9 @@
3
3
  <ul class="list-group feeds">
4
4
  <% @versions.each do |version| %>
5
5
  <li class="list-group-item">
6
- <i class="fa fa-bell-o fa-fw"></i>
7
- <strong>EVENT #<%= version.id %></strong> -
8
- <i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
6
+ <i class="fa fa-bell-o fa-fw"></i>
7
+ <strong>EVENT #<%= version.id %></strong> -
8
+ <i> <%= l(version.created_at, format: "%-d/%m/%Y") %> </i> -
9
9
  <%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
10
10
  </li>
11
11
  <% end %>
@@ -37,4 +37,4 @@
37
37
  </div>
38
38
  </div>
39
39
  </section>
40
- <!-- Main Content -->
40
+ <!-- Main Content -->
@@ -73,4 +73,4 @@
73
73
  </div>
74
74
  </div>
75
75
  </section>
76
- <!-- Main Content -->
76
+ <!-- Main Content -->
@@ -37,4 +37,4 @@
37
37
  </div>
38
38
  </div>
39
39
  </section>
40
- <!-- Main Content -->
40
+ <!-- Main Content -->
@@ -24,4 +24,4 @@
24
24
  <%= render 'phcmembers/member/listings/components/listing_main' %>
25
25
  </div>
26
26
  </section>
27
- <!-- Main Content -->
27
+ <!-- Main Content -->
@@ -3,7 +3,7 @@
3
3
  <!-- PHC-Notifi Render Validation -->
4
4
  <%= render 'phcnotifi/validations', :object => @member_profile %>
5
5
  <!-- PHC-Notifi Render Validation -->
6
-
6
+
7
7
  <!-- Form Fields -->
8
8
  <div class="form-group field_with_errors">
9
9
  <%= f.label :mfirstname, "First Name*" %>
@@ -26,11 +26,11 @@
26
26
  <%= f.text_field :mphone, class: 'form-control masked', placeholder: 'Contact Phone Number (Will Remain Private)', data: {format: '(999) 999-9999', placeholder: 'x'} %>
27
27
  </div>
28
28
  <!-- Form Fields -->
29
-
29
+
30
30
  <!-- Form Button -->
31
31
  <div class="actions">
32
32
  <%= f.submit class: "btn btn-primary" %>
33
33
  </div>
34
34
  <!-- Form Button -->
35
35
 
36
- <% end %>
36
+ <% end %>
@@ -27,9 +27,9 @@
27
27
  <ul class="list-group feeds">
28
28
  <% @versions.each do |version| %>
29
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> -
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
33
  <%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
34
34
  </li>
35
35
  <% end %>
@@ -10,7 +10,7 @@
10
10
  <div class="card">
11
11
  <div class="card-block">
12
12
  <ul class="nav">
13
-
13
+
14
14
  </ul>
15
15
  </div>
16
16
  </div>
@@ -22,7 +22,7 @@
22
22
  </div>
23
23
  <!-- STATS -->
24
24
  <div>
25
-
25
+
26
26
  </div>
27
27
  </div>
28
- </div>
28
+ </div>
@@ -36,4 +36,4 @@
36
36
  </div>
37
37
  </div>
38
38
  </section>
39
- <!-- Main Content -->
39
+ <!-- Main Content -->
@@ -65,4 +65,4 @@
65
65
  </div>
66
66
  </div>
67
67
  </section>
68
- <!-- Main Content -->
68
+ <!-- Main Content -->