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 +4 -4
- data/app/views/phcmemberspro/directory/categories/edit.html.erb +2 -2
- data/app/views/phcmemberspro/directory/categories/index.html.erb +2 -3
- data/app/views/phcmemberspro/directory/listings/_form.html.erb +17 -14
- data/app/views/phcmemberspro/directory/listings/edit.html.erb +41 -4
- data/app/views/phcmemberspro/directory/listings/index.html.erb +68 -25
- data/app/views/phcmemberspro/directory/listings/new.html.erb +40 -3
- data/lib/phcmemberspro/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3dc864d246402d3fcafd455dc4222a313bfd475
|
4
|
+
data.tar.gz: 43cf7d2356cb5b4470199647b6e79aee5b2b108a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
3
|
-
|
4
|
-
|
2
|
+
|
3
|
+
<!-- PHC-Notifi Render Validation -->
|
4
|
+
<%= render 'phcnotifi/validations', :object => @directory_listing %>
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
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
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
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
|
-
|
1
|
+
<!-- Title System -->
|
2
|
+
<% phc_title "Directory Listings" %>
|
3
|
+
<% phc_title_tagline "Update Listing Name" %>
|
2
4
|
|
3
|
-
|
5
|
+
<!-- Bread Crumb -->
|
6
|
+
<div class="page-bar">
|
4
7
|
|
5
|
-
|
6
|
-
|
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
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
<
|
24
|
-
|
25
|
-
|
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
|
-
|
1
|
+
<!-- Title System -->
|
2
|
+
<% phc_title "Directory Listings" %>
|
3
|
+
<% phc_title_tagline "Create a New Listing" %>
|
2
4
|
|
3
|
-
|
5
|
+
<!-- Bread Crumb -->
|
6
|
+
<div class="page-bar">
|
4
7
|
|
5
|
-
|
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>
|