phcmemberspro 2.1.0 → 2.1.2

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: 04c057f85126093f3ba5a41d465a3a4968644825
4
- data.tar.gz: 2b2b5666be6ec20b218b3bd95c461591d5b4676a
3
+ metadata.gz: 6604df30ad84811a993ae868e8d2aa5bc82ecf9e
4
+ data.tar.gz: cb6afff8dbc964cf184235ebe57c7c5368bcd199
5
5
  SHA512:
6
- metadata.gz: 2cc8a2f0235f98431f411481189060b9615110ae9af1e700d83eebd339861ba9f07d6e3749892433113660e0cbffeea1623e2bc051665b5d7922f7a3ef82cdb8
7
- data.tar.gz: 62c882801a060f3fe0596fa7b54682240556666baf9c370705606b55993014d0dc1b73098cd06167b45523c536c0d88ab50f4653917b5c304feacd9b6d6d1ccc
6
+ metadata.gz: eb33f6ae992811619697ae53a03acfbc6fe3f81ce72e5ae43eb2a2b40e23e40ad00b93c60598ee7bf04bc1253e7c0f27cee8c8a83732d962fe745ff8b115c718
7
+ data.tar.gz: e55f88c1882ac040409a47b9c2724c06dc34f8d402a00b89bf141bbddc8bbcdd54ecc42e39713a4e9f1f50269b699e46015c39f2415e9daaf711d9dc4e51a1ec
data/README.md CHANGED
@@ -1,13 +1,36 @@
1
- #### Step 1
1
+ [![security](https://hakiri.io/github/PHCNetworks/phc-members/master.svg)](https://hakiri.io/github/PHCNetworks/phc-members/master)
2
+ [![Code Climate](https://codeclimate.com/github/PHCNetworks/phc-members/badges/gpa.svg)](https://codeclimate.com/github/PHCNetworks/phc-members)
3
+ [![Gem Version](https://badge.fury.io/rb/phcmembers.svg)](https://badge.fury.io/rb/phcmembers)
2
4
 
3
- gem 'phcmemberspro', '~> 1.5', '>= 1.5.7'
5
+ ### PHC-Members (Membership & Directory Engine) Documentation
6
+ PHC-Members is a membership and web directory engine custom built for our purposes. Code is based on our open sourced phc-members project.
7
+
8
+ #### Step 1 - Add PHC-Members to your gemfile
9
+
10
+ gem 'phcmembers', '~> 0.9.8'
4
11
  bundle exec install
5
12
 
6
- #### Step 2
13
+ #### Step 2 - Add database migration files
7
14
 
8
15
  rake railties:install:migrations
9
16
  rake db:migrate
10
17
 
11
- #### Step 3
18
+ #### Step 3 - Mount PHC-Members in your Routes File
19
+ Mount the Engine in your Routes File
20
+
21
+ mount Phcmembers::Engine, :at => '/'
22
+
23
+ #### Step 4 - Generate Views
24
+ Generate views for customization and app integration.
25
+
26
+ rails generate phcmembers:views
27
+
28
+ #### Step 5 - Recompile Assets
29
+ PHC-Members UI requires bootstrap and fontawesome to operate.
30
+
31
+ rake assets:clobber
32
+ rake assets:precompile
12
33
 
13
- mount Phcmemberspro::Engine, :at => '/'
34
+ #### Additional Info & Help
35
+
36
+ [Past Security Patch Notes](https://github.com/PHCNetworks/phc-members/wiki/Critical-Security-Updates)
@@ -13,11 +13,12 @@
13
13
  <!-- Main Content -->
14
14
  <div class="row">
15
15
  <div class="col-lg-12">
16
- <div class="panel">
16
+ <div class="panel panel-primary">
17
17
  <div class="panel-heading">
18
18
  Update Category
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <%= render 'form' %>
22
23
  </div>
23
24
  </div>
@@ -17,6 +17,7 @@
17
17
  Directory Categories &amp; Listings
18
18
  </div>
19
19
  <div class="panel-body">
20
+ <%= render 'layouts/phcnotifi/components/notifications' %>
20
21
  <table class="table table-bordered table-striped table-hover">
21
22
  <thead>
22
23
  <tr>
@@ -36,7 +37,7 @@
36
37
  </td>
37
38
  <td>
38
39
  <div class="btn-group" role="group" aria-label="Directory Connection Group">
39
- <%# link_to 'Connect Member Listings', directory_category_catlists_path(category), :class => "btn btn-success" %>
40
+ <%= link_to 'Connect Member Listings', directory_category_catlists_path(directory_category), :class => "btn btn-success" %>
40
41
  </div>
41
42
  </td>
42
43
  </tr>
@@ -18,6 +18,7 @@
18
18
  Create a New Category
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <%= render 'form' %>
22
23
  </div>
23
24
  </div>
@@ -1,16 +1,11 @@
1
1
  <%= form_for([@directory_catlist.category, @directory_catlist], url: directory_category_catlists_path) do |f| %>
2
2
 
3
3
  <!-- PHC-Notifi Render Validation -->
4
- <%= render 'layouts/phcnotifi/components/validations', :object => @directory_category %>
4
+ <%= render 'layouts/phcnotifi/components/validations', :object => @directory_catlist %>
5
5
 
6
6
  <div class="form-group field_with_errors">
7
7
  <label>Select a Listing</label>
8
- <%= collection_select(:directory_catlist, :listing_id, Phcmemberspro::Members::Listing.order('mlcompanyname'), :id, :mlcompanyname, {}, {class: "form-control form-control-sm"}) %>
9
- </div>
10
-
11
- <div class="form-group field_with_errors">
12
- <label><%= f.label :category_id, "Select a Category" %></label>
13
- <%= f.text_field :category_id, class: "form-control", placeholder: "Directory Category" %>
8
+ <%= collection_select(:directory_catlist, :listing_id, Phcmembers::Members::Listing.order('mlcompanyname'), :id, :mlcompanyname, {}, {class: "form-control form-control-sm"}) %>
14
9
  </div>
15
10
 
16
11
  <div class="actions">
@@ -18,12 +18,13 @@
18
18
  Category Listings for <%= @category.catname %>
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <table class="table table-bordered table-striped table-hover">
22
23
  <tbody>
23
24
  <% @directory_catlists.each do |directory_catlists| %>
24
25
  <tr>
25
26
  <td><%= directory_catlists.category.catname %></td>
26
- <td><%# directory_catlists.listing.mlcompanyname %></td>
27
+ <td><%= directory_catlists.listing.mlcompanyname %></td>
27
28
  <td><%= link_to 'Destroy', directory_category_catlist_path(directory_catlists.category, directory_catlists), class: "btn btn-danger", method: :delete, data: { confirm: 'Are you sure? This will only remove the listing from the directory category. The listing will still be saved with the members profile.' } %></td>
28
29
  </tr>
29
30
  <% end %>
@@ -18,6 +18,7 @@
18
18
  Connect an Existing Listing
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <%= render 'form' %>
22
23
  </div>
23
24
  </div>
@@ -19,6 +19,7 @@
19
19
  Update Member Contact Information
20
20
  </div>
21
21
  <div class="panel-body">
22
+ <%= render 'layouts/phcnotifi/components/notifications' %>
22
23
  <%= render 'formpatch' %>
23
24
  </div>
24
25
  </div>
@@ -18,6 +18,7 @@
18
18
  Member's Contact Index
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <table class="table table-bordered table-striped table-hover">
22
23
  <thead>
23
24
  <tr>
@@ -19,6 +19,7 @@
19
19
  Create a New Contact Entry
20
20
  </div>
21
21
  <div class="panel-body">
22
+ <%= render 'layouts/phcnotifi/components/notifications' %>
22
23
  <%= render 'form' %>
23
24
  </div>
24
25
  </div>
@@ -48,4 +48,4 @@
48
48
  <p>
49
49
  <strong>Mlemail:</strong>
50
50
  <%= @members_contact.mcemail %>
51
- </p>
51
+ </p>
@@ -18,6 +18,7 @@
18
18
  Update Member's Listing
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <%= render 'formpatch' %>
22
23
  </div>
23
24
  </div>
@@ -18,6 +18,7 @@
18
18
  Member's Listing Index
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <table class="table table-bordered table-striped table-hover">
22
23
  <thead>
23
24
  <tr>
@@ -17,6 +17,7 @@
17
17
  Create a New Listing
18
18
  </div>
19
19
  <div class="panel-body">
20
+ <%= render 'layouts/phcnotifi/components/notifications' %>
20
21
  <%= render 'form' %>
21
22
  </div>
22
23
  </div>
@@ -53,4 +53,4 @@
53
53
  <p>
54
54
  <strong>Mlemail:</strong>
55
55
  <%= @members_listing.mlemail %>
56
- </p>
56
+ </p>
@@ -18,6 +18,7 @@
18
18
  Update Member
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <%= render 'form' %>
22
23
  </div>
23
24
  </div>
@@ -17,6 +17,7 @@
17
17
  Member's Index
18
18
  </div>
19
19
  <div class="panel-body">
20
+ <%= render 'layouts/phcnotifi/components/notifications' %>
20
21
  <table class="table table-bordered table-striped table-hover">
21
22
  <thead>
22
23
  <tr>
@@ -18,6 +18,7 @@
18
18
  Create a New Member
19
19
  </div>
20
20
  <div class="panel-body">
21
+ <%= render 'layouts/phcnotifi/components/notifications' %>
21
22
  <%= render 'form' %>
22
23
  </div>
23
24
  </div>
@@ -23,4 +23,4 @@
23
23
  <p>
24
24
  <strong>Mphone:</strong>
25
25
  <%= @members_main.mphone %>
26
- </p>
26
+ </p>
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "2.1.0"
2
+ VERSION = "2.1.2"
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: 2.1.0
4
+ version: 2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
@@ -317,7 +317,7 @@ dependencies:
317
317
  - !ruby/object:Gem::Version
318
318
  version: '2.52'
319
319
  description: PHC-Members Enterprise is open sourced but custom built for our use (updates
320
- may break your apps).
320
+ may break your app).
321
321
  email:
322
322
  - bradley.j.potts@gmail.com
323
323
  executables: []