phcmemberspro 6.8.0 → 6.8.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: 0e8a671a15763fc04d1801a60b7faa7510966265
4
- data.tar.gz: 64595412fe768ed84eefb91e249081f27307bae9
3
+ metadata.gz: e3dc864d246402d3fcafd455dc4222a313bfd475
4
+ data.tar.gz: 43cf7d2356cb5b4470199647b6e79aee5b2b108a
5
5
  SHA512:
6
- metadata.gz: d295e2e98ab2c2a54820a71fa54f34cb040abcf23dcd4e68f27ebea180ed44c7031534dea0f1f676f7465a429a12ca203afe90bab4bea9e7566c6c430c8bd8d8
7
- data.tar.gz: 47c35a5092cd83fa4f7ac80af7d8332312032b7874aa8f458f5347afe6ac9eba3c683f132f6b65afedfd572c322a9cf80b718fa34fffb11713f356cdc81acfb8
6
+ metadata.gz: 30e6e55c578e97f6c9575bdcb3adcebf860cae8bbf12098e76970d31a47a321f7ba2283bf22bfcad359dcb747173d69fa8d3032364808f5caea5f9fe950a8591
7
+ data.tar.gz: 32ae165a00297d822c2296c25a7f8db9c5af2c3d1ae24544ad213969a4611b6133ee98c224007c2167b57a1c943e8ec46219d531d2bcbb29379ee28198c3d277
@@ -6,8 +6,8 @@
6
6
  <div class="page-bar">
7
7
 
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Home", directory_root_path %><i class="fa fa-circle"></i></li>
10
- <li><%= link_to "Directory Categories", directory_categories_path %><i class="fa fa-circle"></i></li>
9
+ <li><%= link_to "Home", phcmemberspro.directory_root_path %><i class="fa fa-circle"></i></li>
10
+ <li><%= link_to "Directory Categories", phcmemberspro.directory_categories_path %><i class="fa fa-circle"></i></li>
11
11
  <li class="active"><%= yield(:phc_title_tagline) %></li>
12
12
  </ul>
13
13
 
@@ -6,8 +6,8 @@
6
6
 
7
7
  <!-- Bread Crumb -->
8
8
  <ul class="page-breadcrumb">
9
- <li><%= link_to "Home", directory_root_path %><i class="fa fa-circle"></i></li>
10
- <li class="active"><%= link_to "Directory Categories", directory_categories_path %></li>
9
+ <li><%= link_to "Home", phcmembrspro.directory_root_path %><i class="fa fa-circle"></i></li>
10
+ <li class="active"><%= link_to "Directory Categories", phcmembrspro.directory_categories_path %></li>
11
11
  </ul>
12
12
 
13
13
  </div>
@@ -51,7 +51,6 @@
51
51
  <td>
52
52
  <div class="btn-group btn-group-xs btn-group-solid" role="group" aria-label="Directory Group">
53
53
  <%= link_to 'Edit', edit_directory_category_path(directory_category), class: "btn blue-hoki" %>
54
- <%= link_to 'Connect Member Listings', directory_category_catlists_path(directory_category), :class => "btn blue-hoki" %>
55
54
  <%= link_to 'Destroy', directory_category, class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure? Removing a directory category will also remove all listing connections.?' } %>
56
55
  </div>
57
56
  </td>
@@ -1,17 +1,20 @@
1
1
  <%= form_for(@directory_listing) do |f| %>
2
- <% if @directory_listing.errors.any? %>
3
- <div id="error_explanation">
4
- <h2><%= pluralize(@directory_listing.errors.count, "error") %> prohibited this directory_listing from being saved:</h2>
2
+
3
+ <!-- PHC-Notifi Render Validation -->
4
+ <%= render 'phcnotifi/validations', :object => @directory_listing %>
5
5
 
6
- <ul>
7
- <% @directory_listing.errors.full_messages.each do |message| %>
8
- <li><%= message %></li>
9
- <% end %>
10
- </ul>
11
- </div>
12
- <% end %>
6
+ <div class="form-group field_with_errors">
7
+ <label>Select a Listing</label>
8
+ <%= collection_select(:directory_listing, :business_id, Phcmemberspro::Members::Business.order('mbcompanyname'), :id, :mbcompanyname, {}, {class: "form-control"}) %>
9
+ </div>
13
10
 
14
- <div class="actions">
15
- <%= f.submit %>
16
- </div>
17
- <% end %>
11
+ <div class="form-group field_with_errors">
12
+ <label>Select a Listing</label>
13
+ <%= collection_select(:directory_listing, :category_id, Phcmemberspro::Directory::Category.order('catname'), :id, :catname, {}, {class: "form-control"}) %>
14
+ </div>
15
+
16
+ <div class="actions">
17
+ <%= f.submit "Submit", class: "btn blue-hoki" %>
18
+ </div>
19
+
20
+ <% end %>
@@ -1,6 +1,43 @@
1
- <h1>Editing Directory Listing</h1>
1
+ <!-- Title System -->
2
+ <% phc_title "Directory Listings" %>
3
+ <% phc_title_tagline "Update Listing Name" %>
2
4
 
3
- <%= render 'form' %>
5
+ <!-- Bread Crumb -->
6
+ <div class="page-bar">
4
7
 
5
- <%= link_to 'Show', @directory_listing %> |
6
- <%= link_to 'Back', directory_listings_path %>
8
+ <ul class="page-breadcrumb">
9
+ <li><%= link_to "Home", phcmemberspro.directory_root_path %><i class="fa fa-circle"></i></li>
10
+ <li><%= link_to "Directory Categories", phcmemberspro.directory_listings_path %><i class="fa fa-circle"></i></li>
11
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
12
+ </ul>
13
+
14
+ </div>
15
+
16
+ <!-- Page Title -->
17
+ <h3 class="page-title">
18
+ <%= yield(:phc_title) %> </br>
19
+ <small><%= yield(:phc_title_tagline) %></small>
20
+ </h3>
21
+
22
+ <!-- Main Content -->
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ </div>
34
+ </div>
35
+
36
+ <div class="portlet-body">
37
+ <%= render 'form' %>
38
+ </div>
39
+
40
+ </div>
41
+
42
+ </div>
43
+ </div>
@@ -1,25 +1,68 @@
1
- <p id="notice"><%= notice %></p>
2
-
3
- <h1>Listing Directory Listings</h1>
4
-
5
- <table>
6
- <thead>
7
- <tr>
8
- <th colspan="3"></th>
9
- </tr>
10
- </thead>
11
-
12
- <tbody>
13
- <% @directory_listings.each do |directory_listing| %>
14
- <tr>
15
- <td><%= link_to 'Show', directory_listing %></td>
16
- <td><%= link_to 'Edit', edit_directory_listing_path(directory_listing) %></td>
17
- <td><%= link_to 'Destroy', directory_listing, method: :delete, data: { confirm: 'Are you sure?' } %></td>
18
- </tr>
19
- <% end %>
20
- </tbody>
21
- </table>
22
-
23
- <br>
24
-
25
- <%= link_to 'New Listing', new_directory_listing_path %>
1
+ <!-- Title System -->
2
+ <% phc_title "Directory Listings" %>
3
+ <% phc_title_tagline "Web Directory Listings" %>
4
+
5
+ <div class="page-bar">
6
+
7
+ <!-- Bread Crumb -->
8
+ <ul class="page-breadcrumb">
9
+ <li><%= link_to "Home", phcmembrspro.directory_root_path %><i class="fa fa-circle"></i></li>
10
+ <li class="active"><%= link_to "Directory Listings", phcmembrspro.directory_listings_path %></li>
11
+ </ul>
12
+
13
+ </div>
14
+
15
+ <!-- Page Title -->
16
+ <h3 class="page-title">
17
+ <%= yield(:phc_title) %> </br>
18
+ <small><%= yield(:phc_title_tagline) %></small>
19
+ </h3>
20
+
21
+ <!-- Main Content -->
22
+ <div class="row">
23
+ <div class="col-lg-12">
24
+
25
+ <div class="portlet light">
26
+
27
+ <div class="portlet-title">
28
+ <div class="caption">
29
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
30
+ </div>
31
+ <div class="actions">
32
+ <%= link_to new_directory_category_path, class: "btn blue-chambray btn-circle" do %>
33
+ <i class="fa fa-plus"></i> Create a New Directory Category
34
+ <% end %>
35
+ </div>
36
+ </div>
37
+
38
+ <div class="portlet-body">
39
+ <div class="table-responsive">
40
+ <table class="table table-striped table-bordered table-hover table-header-fixed">
41
+ <thead>
42
+ <tr>
43
+ <th>Business Name</th>
44
+ <th>Category Name</th>
45
+ <th></th>
46
+ </tr>
47
+ </thead>
48
+ <tbody>
49
+ <% @directory_listings.each do |directory_listing| %>
50
+ <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_listing_path(directory_listing), class: "btn blue-hoki" %>
56
+ <%= link_to 'Destroy', directory_listing, 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>
59
+ </tr>
60
+ <% end %>
61
+ </tbody>
62
+ </table>
63
+ </div>
64
+ </div>
65
+ </div>
66
+
67
+ </div>
68
+ </div>
@@ -1,5 +1,42 @@
1
- <h1>New Directory Listing</h1>
1
+ <!-- Title System -->
2
+ <% phc_title "Directory Listings" %>
3
+ <% phc_title_tagline "Create a New Listing" %>
2
4
 
3
- <%= render 'form' %>
5
+ <!-- Bread Crumb -->
6
+ <div class="page-bar">
4
7
 
5
- <%= link_to 'Back', directory_listings_path %>
8
+ <ul class="page-breadcrumb">
9
+ <li><%= link_to "Home", phcmembrspro.directory_root_path %><i class="fa fa-circle"></i></li>
10
+ <li><%= link_to "Directory Categories", phcmembrspro.directory_listings_path %><i class="fa fa-circle"></i></li>
11
+ <li class="active"><%= yield(:phc_title_tagline) %></li>
12
+ </ul>
13
+
14
+ </div>
15
+
16
+ <!-- Page Title -->
17
+ <h3 class="page-title">
18
+ <%= yield(:phc_title) %> </br>
19
+ <small><%= yield(:phc_title_tagline) %></small>
20
+ </h3>
21
+
22
+ <!-- Main Content -->
23
+ <div class="row">
24
+ <div class="col-lg-12">
25
+
26
+ <div class="portlet light">
27
+
28
+ <div class="portlet-title">
29
+ <div class="caption">
30
+ <span class="caption-subject bold uppercase"><%= yield(:phc_title_tagline) %></span>
31
+ </div>
32
+ <div class="actions">
33
+ </div>
34
+ </div>
35
+
36
+ <div class="portlet-body">
37
+ <%= render 'form' %>
38
+ </div>
39
+ </div>
40
+
41
+ </div>
42
+ </div>
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "6.8.0"
2
+ VERSION = "6.8.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: 6.8.0
4
+ version: 6.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts