phcmemberspro 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 15d5af232ba93da9522d43057229644de4df41a1
4
- data.tar.gz: 69709ffb4cced78e9eb7cb02db2ed4aad38ce07f
3
+ metadata.gz: 97b1ab69b84a4cee8d822aea68f92d5db557f762
4
+ data.tar.gz: ba8d2869cabe79cbef085129ca603c231d062a25
5
5
  SHA512:
6
- metadata.gz: b07f3199a969271e0ffa69a16551dbeae31d43cfa1fcba31a3dd009fc222e8ea73b50b4eb8c517937ad04253e32da975bc64977b31f328f423982f77dcecfc43
7
- data.tar.gz: 82140608b1326ba7ac0630d4ee6540543f0e1a2815c2e8f40edbf4e6c5fe6da96bcb4dfd33509a48d7d55481205918cc9cc2b44dc479c8894e94e149e2a28d5a
6
+ metadata.gz: a7691918c0272f8206abaa6a024f10b2265a310d1cf85c8703e2e399b5f0b60c0feaa6b549212ec96676b7a039f0b2a8565142195a6ffa3b12b758670148c3e4
7
+ data.tar.gz: 52a2d7a2aca329191f33e1585afdc770fb476d1d511e861ba5a016c7e25fcfafb10f7002054a1c19c5594a53aa06a33a3ef314e4084bec2c2cbc3b4c128d50b8
data/README.md CHANGED
@@ -2,10 +2,10 @@
2
2
 
3
3
  ### Installation
4
4
 
5
- gem 'phcmemberspro', '~> 6.8', '>= 6.8.5'
5
+ gem 'phcmemberspro', '~> 7.0'
6
6
  bundle install
7
7
  rake phcmemberspro:install:migrations
8
8
  rake db:migrate
9
9
  mount Phcmemberspro::Engine, :at => '/'
10
10
  rake assets:clobber
11
- rake assets:precompile
11
+ rake assets:precompile
@@ -41,21 +41,20 @@
41
41
  <thead>
42
42
  <tr>
43
43
  <th>Business Name</th>
44
- <th>Category Name</th>
45
- <th></th>
44
+ <th>Contact Name</th>
45
+ <th>Phone Number</th>
46
+ <th>Email</th>
47
+ <th>Website</th>
46
48
  </tr>
47
49
  </thead>
48
50
  <tbody>
49
- <% @directory_listings.each do |directory_listing| %>
51
+ <% @directory_listings.each do |directory_listings| %>
50
52
  <tr>
51
- <td></td>
52
- <td></td>
53
- <td>
54
- <div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Directory Group">
55
- <%= link_to 'Edit', edit_directory_category_listing(listings.category, listings), class: "btn blue-hoki" %>
56
- <%= link_to 'Destroy', directory_category_listing_path(listings.category, listings), class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure? Removing a directory category will also remove all listing connections.?' } %>
57
- </div>
58
- </td>
53
+ <td class="highlight"><%= link_to directory_listings.business.mbcompanyname, directory_category_listing %></td>
54
+ <td class="highlight"><%= link_to directory_listings.business.mbcontactname, directory_category_listing %></td>
55
+ <td class="highlight"><%= link_to directory_listings.business.mbphone, directory_category_listing %></td>
56
+ <td class="highlight"><%= link_to directory_listings.business.mbcontactemail, directory_category_listing %></td>
57
+ <td class="highlight"><%= link_to directory_listings.business.mbwebsite, directory_category_listing %></td>
59
58
  </tr>
60
59
  <% end %>
61
60
  </tbody>
@@ -53,13 +53,13 @@
53
53
  <tbody>
54
54
  <% @members_contacts.each do |members_contact| %>
55
55
  <tr>
56
- <td><%= link_to members_contact.mcaddressl1, members_main_contact_path(members_contact.main, members_contact) %></td>
57
- <td><%= link_to members_contact.mcaddressl2, members_main_contact_path(members_contact.main, members_contact) %></td>
58
- <td><%= link_to members_contact.mccity, members_main_contact_path(members_contact.main, members_contact) %></td>
59
- <td><%= link_to members_contact.mcprovince, members_main_contact_path(members_contact.main, members_contact) %></td>
60
- <td><%= link_to members_contact.mccountry, members_main_contact_path(members_contact.main, members_contact) %></td>
61
- <td><%= link_to members_contact.mcpostalcode, members_main_contact_path(members_contact.main, members_contact) %></td>
62
- <td><%= link_to members_contact.mctype, members_main_contact_path(members_contact.main, members_contact) %></td>
56
+ <td class="highlight"><%= link_to members_contact.mcaddressl1, members_main_contact_path(members_contact.main, members_contact) %></td>
57
+ <td class="highlight"><%= link_to members_contact.mcaddressl2, members_main_contact_path(members_contact.main, members_contact) %></td>
58
+ <td class="highlight"><%= link_to members_contact.mccity, members_main_contact_path(members_contact.main, members_contact) %></td>
59
+ <td class="highlight"><%= link_to members_contact.mcprovince, members_main_contact_path(members_contact.main, members_contact) %></td>
60
+ <td class="highlight"><%= link_to members_contact.mccountry, members_main_contact_path(members_contact.main, members_contact) %></td>
61
+ <td class="highlight"><%= link_to members_contact.mcpostalcode, members_main_contact_path(members_contact.main, members_contact) %></td>
62
+ <td class="highlight"><%= link_to members_contact.mctype, members_main_contact_path(members_contact.main, members_contact) %></td>
63
63
  </tr>
64
64
  <% end %>
65
65
  </tbody>
@@ -49,18 +49,10 @@
49
49
  <tbody>
50
50
  <% @members_mains.each do |members_main| %>
51
51
  <tr>
52
- <td class="highlight">
53
- <%= link_to members_main.mfirstname, members_main %>
54
- </td>
55
- <td class="highlight">
56
- <%= link_to members_main.mlastname, members_main %>
57
- </td>
58
- <td class="highlight">
59
- <%= link_to members_main.memail, members_main %>
60
- </td>
61
- <td class="highlight">
62
- <%= link_to members_main.mphone, members_main %>
63
- </td>
52
+ <td class="highlight"><%= link_to members_main.mfirstname, members_main %></td>
53
+ <td class="highlight"><%= link_to members_main.mlastname, members_main %></td>
54
+ <td class="highlight"><%= link_to members_main.memail, members_main %></td>
55
+ <td class="highlight"><%= link_to members_main.mphone, members_main %></td>
64
56
  </tr>
65
57
  <% end %>
66
58
  </tbody>
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "7.0.0"
2
+ VERSION = "7.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmemberspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts