phcmembers 11.0.0 → 12.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/MIT-LICENSE +20 -20
  3. data/README.md +45 -45
  4. data/Rakefile +33 -33
  5. data/app/assets/config/phcmembers_manifest.js +2 -2
  6. data/app/assets/javascripts/phcmembers/application.js +2 -2
  7. data/app/assets/stylesheets/phcmembers/application.scss +2 -2
  8. data/app/controllers/phcmembers/api/directories_controller.rb +18 -18
  9. data/app/controllers/phcmembers/application_controller.rb +17 -17
  10. data/app/controllers/phcmembers/directory/categories_controller.rb +68 -68
  11. data/app/controllers/phcmembers/directory/categorylistings_controller.rb +21 -21
  12. data/app/controllers/phcmembers/member/addresses_controller.rb +75 -75
  13. data/app/controllers/phcmembers/member/listings_controller.rb +77 -77
  14. data/app/controllers/phcmembers/member/profiles_controller.rb +68 -68
  15. data/app/controllers/phcmembers/modules/dashboards_controller.rb +14 -14
  16. data/app/helpers/phcmembers/application_helper.rb +14 -14
  17. data/app/jobs/phcmembers/application_job.rb +4 -4
  18. data/app/mailers/phcmembers/application_mailer.rb +8 -8
  19. data/app/models/phcmembers/application_record.rb +5 -5
  20. data/app/models/phcmembers/connections.rb +7 -7
  21. data/app/models/phcmembers/directory.rb +7 -7
  22. data/app/models/phcmembers/directory/category.rb +29 -19
  23. data/app/models/phcmembers/directory/categorylisting.rb +12 -18
  24. data/app/models/phcmembers/member.rb +7 -7
  25. data/app/models/phcmembers/member/address.rb +45 -17
  26. data/app/models/phcmembers/member/listing.rb +66 -26
  27. data/app/models/phcmembers/member/profile.rb +49 -49
  28. data/app/models/phcmembers/versions_address.rb +5 -0
  29. data/app/models/phcmembers/versions_category.rb +5 -0
  30. data/app/models/phcmembers/versions_category_listing.rb +5 -0
  31. data/app/models/phcmembers/versions_listing.rb +5 -0
  32. data/app/models/phcmembers/versions_profile.rb +5 -0
  33. data/app/views/layouts/phcmembers/application.html.erb +56 -56
  34. data/app/views/layouts/phcmembers/components/backend/footer/_footer.html.erb +4 -4
  35. data/app/views/layouts/phcmembers/components/backend/navigation/_navigation.html.erb +60 -60
  36. data/app/views/layouts/phcmembers/components/backend/topbar/_topbar.html.erb +5 -5
  37. data/app/views/layouts/phcmembers/components/backend/topbar/_topbar_links.html.erb +0 -0
  38. data/app/views/layouts/phcmembers/directory/directory_all.html.erb +56 -56
  39. data/app/views/layouts/phcmembers/members/members_all.html.erb +56 -56
  40. data/app/views/phcmembers/directory/categories/_form.html.erb +15 -15
  41. data/app/views/phcmembers/directory/categories/components/_category_audits.html.erb +14 -14
  42. data/app/views/phcmembers/directory/categories/components/_category_list.html.erb +7 -7
  43. data/app/views/phcmembers/directory/categories/components/_category_main.html.erb +31 -31
  44. data/app/views/phcmembers/directory/categories/edit.html.erb +38 -38
  45. data/app/views/phcmembers/directory/categories/index.html.erb +47 -47
  46. data/app/views/phcmembers/directory/categories/new.html.erb +36 -36
  47. data/app/views/phcmembers/directory/categories/show.html.erb +27 -27
  48. data/app/views/phcmembers/directory/categorylistings/index.html.erb +63 -63
  49. data/app/views/phcmembers/directory/categorylistings/show.html.erb +4 -4
  50. data/app/views/phcmembers/member/addresses/_form.html.erb +44 -44
  51. data/app/views/phcmembers/member/addresses/components/_address_address.html.erb +29 -29
  52. data/app/views/phcmembers/member/addresses/components/_address_audits.html.erb +12 -12
  53. data/app/views/phcmembers/member/addresses/components/_address_main.html.erb +31 -31
  54. data/app/views/phcmembers/member/addresses/edit.html.erb +40 -40
  55. data/app/views/phcmembers/member/addresses/index.html.erb +74 -74
  56. data/app/views/phcmembers/member/addresses/new.html.erb +40 -40
  57. data/app/views/phcmembers/member/addresses/show.html.erb +27 -27
  58. data/app/views/phcmembers/member/listings/_form.html.erb +68 -68
  59. data/app/views/phcmembers/member/listings/components/_listing_address.html.erb +48 -48
  60. data/app/views/phcmembers/member/listings/components/_listing_audits.html.erb +14 -14
  61. data/app/views/phcmembers/member/listings/components/_listing_main.html.erb +31 -31
  62. data/app/views/phcmembers/member/listings/edit.html.erb +40 -40
  63. data/app/views/phcmembers/member/listings/index.html.erb +76 -76
  64. data/app/views/phcmembers/member/listings/new.html.erb +40 -40
  65. data/app/views/phcmembers/member/listings/show.html.erb +27 -27
  66. data/app/views/phcmembers/member/profiles/_form.html.erb +36 -36
  67. data/app/views/phcmembers/member/profiles/components/_profile_main.html.erb +44 -44
  68. data/app/views/phcmembers/member/profiles/components/_profile_sidebar.html.erb +28 -28
  69. data/app/views/phcmembers/member/profiles/edit.html.erb +39 -39
  70. data/app/views/phcmembers/member/profiles/index.html.erb +68 -68
  71. data/app/views/phcmembers/member/profiles/new.html.erb +39 -39
  72. data/app/views/phcmembers/member/profiles/show.html.erb +31 -31
  73. data/app/views/phcmembers/modules/dashboards/index.html.erb +66 -66
  74. data/config/initializers/friendly_id.rb +92 -92
  75. data/config/initializers/paper_trail.rb +1 -0
  76. data/config/locales/en.yml +9 -9
  77. data/config/routes.rb +36 -36
  78. data/db/migrate/20160724220339_create_phcmembers_member_profiles.rb +23 -23
  79. data/db/migrate/20160725153306_create_phcmembers_member_addresses.rb +26 -26
  80. data/db/migrate/20160725182257_create_phcmembers_directory_categories.rb +18 -18
  81. data/db/migrate/20160727024006_create_phcmembers_member_listings.rb +30 -30
  82. data/db/migrate/20160727042756_create_phcmembers_directory_categorylistings.rb +19 -19
  83. data/db/migrate/20170509002355_create_phcmembers_friendly_id_slugs.rb +15 -0
  84. data/db/migrate/20170517064030_create_phcmembers_versions_profiles.rb +12 -0
  85. data/db/migrate/20170517064049_create_phcmembers_versions_listings.rb +12 -0
  86. data/db/migrate/20170517064114_create_phcmembers_versions_addresses.rb +12 -0
  87. data/db/migrate/20170517064208_create_phcmembers_versions_categorylistings.rb +12 -0
  88. data/db/migrate/20170517064427_create_phcmembers_versions_categories.rb +12 -0
  89. data/lib/phcmembers.rb +4 -4
  90. data/lib/phcmembers/engine.rb +73 -73
  91. data/lib/phcmembers/version.rb +3 -3
  92. data/lib/tasks/phcmembers_tasks.rake +4 -4
  93. metadata +59 -7
  94. data/db/migrate/20160707154842_create_versions.rb +0 -80
  95. data/db/migrate/20170509002355_create_friendly_id_slugs.rb +0 -15
@@ -1,40 +1,40 @@
1
- <!-- Title Variables -->
2
- <% phc_title "Member Address Manager" %>
3
- <% phc_title_tagline "Create a New Address 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_addresses_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 Address Manager" %>
3
+ <% phc_title_tagline "Create a New Address 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_addresses_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 Address Manager" %>
3
- <% phc_title_tagline "Detailed Address 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/addresses/components/address_main' %>
25
- </div>
26
- </section>
27
- <!-- Main Content -->
1
+ <!-- Title Variables -->
2
+ <% phc_title "Member Address Manager" %>
3
+ <% phc_title_tagline "Detailed Address 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/addresses/components/address_main' %>
25
+ </div>
26
+ </section>
27
+ <!-- Main Content -->
@@ -1,68 +1,68 @@
1
- <%= form_for([@member_listing.profile, @member_listing], url: form_url) do |f| %>
2
-
3
- <!-- PHC-Notifi Render Validation -->
4
- <%= render 'phcnotifi/validations', :object => @member_listing %>
5
- <!-- PHC-Notifi Render Validation -->
6
-
7
- <!-- Form Fields -->
8
- <div class="form-group field_with_errors">
9
- <%= f.label :mbcompanyname, "Company Name" %>
10
- <%= f.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
11
- </div>
12
- <div class="form-group field_with_errors">
13
- <%= f.label :mbcontactname, "Contact Name" %>
14
- <%= f.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
15
- </div>
16
- <div class="form-group field_with_errors">
17
- <%= f.label :mbaddressl1, "Address Line 1" %>
18
- <%= f.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
19
- </div>
20
- <div class="form-group field_with_errors">
21
- <%= f.label :mbaddressl2, "Address Line 2" %>
22
- <%= f.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
23
- </div>
24
- <div class="form-group field_with_errors">
25
- <%= f.label :mbcity, "City" %>
26
- <%= f.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
27
- </div>
28
- <div class="form-group field_with_errors">
29
- <%= f.label :mbprovince, "Province/State" %>
30
- <%= f.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
31
- </div>
32
- <div class="form-group field_with_errors">
33
- <%= f.label :mbcountry, "Country" %>
34
- <%= country_select("member_listing", "mbcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
35
- </div>
36
- <div class="form-group field_with_errors">
37
- <%= f.label :mbpostalcode, "Postal Code" %><br>
38
- <%= f.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
39
- </div>
40
-
41
- <div class="form-group field_with_errors">
42
- <%= f.label :mbphone, "Business Phone Number" %>
43
- <%= f.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
44
- </div>
45
-
46
- <div class="form-group field_with_errors">
47
- <%= f.label :mbcontactemail, "Business General Email" %>
48
- <%= f.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
49
- </div>
50
- <div class="form-group field_with_errors">
51
- <%= f.label :mbwebsite, "Business Website" %>
52
- <%= f.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
53
- </div>
54
- <div class="form-group">
55
- <%= f.collection_check_boxes :category_ids, Phcmembers::Directory::Category.all, :id, :catname do |listing_category| %>
56
- <%= listing_category.check_box %>
57
- <%= listing_category.label %></br>
58
- <% end %>
59
- </div>
60
- <!-- Form Fields -->
61
-
62
- <!-- Form Button -->
63
- <div class="actions">
64
- <%= f.submit class: "btn btn-primary" %>
65
- </div>
66
- <!-- Form Button -->
67
-
68
- <% end %>
1
+ <%= form_for([@member_listing.profile, @member_listing], url: form_url) do |f| %>
2
+
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'phcnotifi/validations', :object => @member_listing %>
5
+ <!-- PHC-Notifi Render Validation -->
6
+
7
+ <!-- Form Fields -->
8
+ <div class="form-group field_with_errors">
9
+ <%= f.label :mbcompanyname, "Company Name" %>
10
+ <%= f.text_field :mbcompanyname, class: "form-control", placeholder: "Business/Organization: Name" %>
11
+ </div>
12
+ <div class="form-group field_with_errors">
13
+ <%= f.label :mbcontactname, "Contact Name" %>
14
+ <%= f.text_field :mbcontactname, class: "form-control", placeholder: "Business/Organization: Contact Person" %>
15
+ </div>
16
+ <div class="form-group field_with_errors">
17
+ <%= f.label :mbaddressl1, "Address Line 1" %>
18
+ <%= f.text_field :mbaddressl1, class: "form-control", placeholder: "Location: Street Address" %>
19
+ </div>
20
+ <div class="form-group field_with_errors">
21
+ <%= f.label :mbaddressl2, "Address Line 2" %>
22
+ <%= f.text_field :mbaddressl2, class: "form-control", placeholder: "Location: Box - Suite - Floor" %>
23
+ </div>
24
+ <div class="form-group field_with_errors">
25
+ <%= f.label :mbcity, "City" %>
26
+ <%= f.text_field :mbcity, class: "form-control", placeholder: "Location: City" %>
27
+ </div>
28
+ <div class="form-group field_with_errors">
29
+ <%= f.label :mbprovince, "Province/State" %>
30
+ <%= f.text_field :mbprovince, class: "form-control", placeholder: "Location: Province/State" %>
31
+ </div>
32
+ <div class="form-group field_with_errors">
33
+ <%= f.label :mbcountry, "Country" %>
34
+ <%= country_select("member_listing", "mbcountry", { priority_countries: ["CA", "GB", "FR", "US"], selected: "CA" }, { class: 'form-control', data: { attribute: "value" } }) %>
35
+ </div>
36
+ <div class="form-group field_with_errors">
37
+ <%= f.label :mbpostalcode, "Postal Code" %><br>
38
+ <%= f.text_field :mbpostalcode, class: "form-control", placeholder: "Location: PostalCode" %>
39
+ </div>
40
+
41
+ <div class="form-group field_with_errors">
42
+ <%= f.label :mbphone, "Business Phone Number" %>
43
+ <%= f.text_field :mbphone, class: "form-control", placeholder: "Business/Organization: PhoneNumber (Public)" %>
44
+ </div>
45
+
46
+ <div class="form-group field_with_errors">
47
+ <%= f.label :mbcontactemail, "Business General Email" %>
48
+ <%= f.text_field :mbcontactemail, class: "form-control", placeholder: "Business/Organization: Email Address (Public)" %>
49
+ </div>
50
+ <div class="form-group field_with_errors">
51
+ <%= f.label :mbwebsite, "Business Website" %>
52
+ <%= f.text_field :mbwebsite, class: "form-control", placeholder: "Business/Organization: Website (Public)" %>
53
+ </div>
54
+ <div class="form-group">
55
+ <%= f.collection_check_boxes :category_ids, Phcmembers::Directory::Category.all, :id, :catname do |listing_category| %>
56
+ <%= listing_category.check_box %>
57
+ <%= listing_category.label %></br>
58
+ <% end %>
59
+ </div>
60
+ <!-- Form Fields -->
61
+
62
+ <!-- Form Button -->
63
+ <div class="actions">
64
+ <%= f.submit class: "btn btn-primary" %>
65
+ </div>
66
+ <!-- Form Button -->
67
+
68
+ <% end %>
@@ -1,48 +1,48 @@
1
- <p>
2
- <strong>Contact Name:</strong>
3
- <%= @member_listing.mbcompanyname %>
4
- </p>
5
- <p>
6
- <strong>Company Name:</strong>
7
- <%= @member_listing.mbcontactname %>
8
- </p>
9
-
10
- <p>
11
- <strong>Address Line 1:</strong>
12
- <%= @member_listing.mbaddressl1 %>
13
- </p>
14
-
15
- <p>
16
- <strong>Address Line 2:</strong>
17
- <%= @member_listing.mbaddressl2 %>
18
- </p>
19
-
20
- <p>
21
- <strong>City:</strong>
22
- <%= @member_listing.mbcity %>
23
- </p>
24
-
25
- <p>
26
- <strong>Province:</strong>
27
- <%= @member_listing.mbprovince %>
28
- </p>
29
-
30
- <p>
31
- <strong>Country:</strong>
32
- <%= @member_listing.mbcountry %>
33
- </p>
34
-
35
- <p>
36
- <strong>Postal Code:</strong>
37
- <%= @member_listing.mbpostalcode %>
38
- </p>
39
-
40
- <p>
41
- <strong>Phone:</strong>
42
- <%= @member_listing.mbphone %>
43
- </p>
44
-
45
- <p>
46
- <strong>Email:</strong>
47
- <%= @member_listing.mbcontactemail %>
48
- </p>
1
+ <p>
2
+ <strong>Contact Name:</strong>
3
+ <%= @member_listing.mbcompanyname %>
4
+ </p>
5
+ <p>
6
+ <strong>Company Name:</strong>
7
+ <%= @member_listing.mbcontactname %>
8
+ </p>
9
+
10
+ <p>
11
+ <strong>Address Line 1:</strong>
12
+ <%= @member_listing.mbaddressl1 %>
13
+ </p>
14
+
15
+ <p>
16
+ <strong>Address Line 2:</strong>
17
+ <%= @member_listing.mbaddressl2 %>
18
+ </p>
19
+
20
+ <p>
21
+ <strong>City:</strong>
22
+ <%= @member_listing.mbcity %>
23
+ </p>
24
+
25
+ <p>
26
+ <strong>Province:</strong>
27
+ <%= @member_listing.mbprovince %>
28
+ </p>
29
+
30
+ <p>
31
+ <strong>Country:</strong>
32
+ <%= @member_listing.mbcountry %>
33
+ </p>
34
+
35
+ <p>
36
+ <strong>Postal Code:</strong>
37
+ <%= @member_listing.mbpostalcode %>
38
+ </p>
39
+
40
+ <p>
41
+ <strong>Phone:</strong>
42
+ <%= @member_listing.mbphone %>
43
+ </p>
44
+
45
+ <p>
46
+ <strong>Email:</strong>
47
+ <%= @member_listing.mbcontactemail %>
48
+ </p>
@@ -1,14 +1,14 @@
1
- <div class="scroller" style="height: 320px;" data-always-visible="1" data-rail-visible1="0" data-handle-color="#D7DCE2">
2
-
3
- <ul class="list-group feeds">
4
- <% @versions.each do |version| %>
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> -
9
- <%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
10
- </li>
11
- <% end %>
12
- </ul>
13
-
14
- </div>
1
+ <div class="scroller" style="height: 320px;" data-always-visible="1" data-rail-visible1="0" data-handle-color="#D7DCE2">
2
+
3
+ <ul class="list-group feeds">
4
+ <% @versions.each do |version| %>
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> -
9
+ <%= version.event.capitalize %> - Profile <%= l(version.created_at, format: "%H:%M %Z") %>
10
+ </li>
11
+ <% end %>
12
+ </ul>
13
+
14
+ </div>
@@ -1,31 +1,31 @@
1
- <div class="col-md-6">
2
-
3
- <div class="panel panel-default">
4
-
5
- <div class="panel-heading">
6
- <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname + ' ' + @member_listing.mbcompanyname %>
7
- </div>
8
-
9
- <div class="panel-body">
10
- <%= render 'phcmembers/member/listings/components/listing_address' %>
11
- </div>
12
-
13
- </div>
14
-
15
- </div>
16
-
17
- <div class="col-md-6">
18
-
19
- <div class="panel panel-default">
20
-
21
- <div class="panel-heading">
22
- <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname + ' ' + @member_listing.mbcompanyname %> Business Change Logs
23
- </div>
24
-
25
- <div class="panel-body">
26
- <%= render 'phcmembers/member/listings/components/listing_audits' %>
27
- </div>
28
-
29
- </div>
30
-
31
- </div>
1
+ <div class="col-md-6">
2
+
3
+ <div class="panel panel-default">
4
+
5
+ <div class="panel-heading">
6
+ <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname + ' ' + @member_listing.mbcompanyname %>
7
+ </div>
8
+
9
+ <div class="panel-body">
10
+ <%= render 'phcmembers/member/listings/components/listing_address' %>
11
+ </div>
12
+
13
+ </div>
14
+
15
+ </div>
16
+
17
+ <div class="col-md-6">
18
+
19
+ <div class="panel panel-default">
20
+
21
+ <div class="panel-heading">
22
+ <%= @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname + ' ' + @member_listing.mbcompanyname %> Business Change Logs
23
+ </div>
24
+
25
+ <div class="panel-body">
26
+ <%= render 'phcmembers/member/listings/components/listing_audits' %>
27
+ </div>
28
+
29
+ </div>
30
+
31
+ </div>