phcmemberspro 11.11.2 → 11.11.3

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: 80b738cf147551ad7435d0733f4e4ccdbf659ac8
4
- data.tar.gz: 31ba9b55ca1defb5d12d284be88d545230e58434
3
+ metadata.gz: a4b24b3687f42ff32393a71304b39075a6409638
4
+ data.tar.gz: 6ba0cfd8deb16d34176ab2be6c47be347cf73546
5
5
  SHA512:
6
- metadata.gz: 68430375400abb3df11459cd53a84f31922fc37b1f9ab841aceca1433b6121b1a5556d0d61951e10adbf915a6a270b4869fc9d6232d7f56ef51f548542907eff
7
- data.tar.gz: 125eff027b027e4c2eeac767240c28616a02e80598ba53fa942df45b9fa4412c25adc1977605201f5b10e51717e917905bc67748442f5c922b21279ed8efd0e6
6
+ metadata.gz: 6c876e3f5b76c21919f3f7aff38e1f450542924c754a5f7815bed5f196ddd794871adb121f94658a639b6c431f70c39bf10b61e70d80f70ee2430827946e100f
7
+ data.tar.gz: 6440cbde7cc476673f5c3407d741944a906633bcba07ddff9cb2c04606f924935f6dad0800ab873844269ba80dd6ab24b176bd910f51fb469b50fe251ce93940
@@ -5,6 +5,12 @@ module Phcmemberspro
5
5
  before_action :require_user
6
6
  protect_from_forgery with: :exception
7
7
 
8
+ # Papertrail to Username
9
+ def user_for_paper_trail
10
+ # Default is: current_user rescue nil
11
+ singed_in? ? current_user.username : 'Public user'
12
+ end
13
+
8
14
  # Grab Member Information
9
15
  def get_member_profile_info
10
16
  @members_profile_info = Member::Profile.find(params[:profile_id])
@@ -3,13 +3,13 @@
3
3
  <% @versions.each do |version| %>
4
4
  <tr>
5
5
  <td>
6
- <span class="label label-primary"><%= version.event.capitalize %></span>
6
+ <span class="label label-primary"><%= version.event.humanize %></span>
7
7
  </td>
8
8
  <td>
9
9
  EVENT #<%= version.id %>
10
10
  </td>
11
11
  <td>
12
- <%= version.event + ' ' + @members_profile_info.mfirstname + ' ' + @members_profile_info.mlastname %> Category Information
12
+ <%= version.event %> Listing Information
13
13
  </td>
14
14
  <td>
15
15
  <%= version.whodunnit %>
@@ -1,37 +1,33 @@
1
- <div class="col-md-6">
2
- <div class="portlet light ">
3
- <div class="portlet-title">
4
- <div class="caption caption-md">
5
- <i class="icon-globe theme-font hide"></i>
6
- <span class="caption-subject font-blue-madison bold uppercase">Active Listings in <%= @directory_category.catname %> Directory Category</span>
7
- </div>
8
- <div class="actions">
9
- <%= link_to edit_directory_category_path, class: "btn blue-soft" do %>
10
- <i class="fa fa-pencil-square-o"></i> Update Category Name
11
- <% end %>
12
- <%= link_to directory_category_path, class: "btn red-mint", method: :delete, data: { confirm: 'Are you sure? All listing connections for this category will also be removed.' } do %>
13
- <i class="fa fa-trash-o"></i> Delete Category
14
- <% end %>
15
- </div>
16
- </div>
17
- <div class="portlet-body">
18
- <%= render 'phcmemberspro/directory/categories/components/category_list' %>
1
+ <div class="ibox">
2
+ <div class="ibox-title">
3
+ <h5>Active Listings in <%= @directory_category.catname %> Directory Category</h5>
4
+ <div class="ibox-tools">
5
+ <a class="collapse-link">
6
+ <i class="fa fa-chevron-up"></i>
7
+ </a>
8
+ <a class="close-link">
9
+ <i class="fa fa-times"></i>
10
+ </a>
19
11
  </div>
20
12
  </div>
13
+ <div class="ibox-content">
14
+ <%= render 'phcmemberspro/directory/categories/components/category_list' %>
15
+ </div>
21
16
  </div>
22
17
 
23
- <div class="col-md-6">
24
- <div class="portlet light ">
25
- <div class="portlet-title">
26
- <div class="caption caption-md">
27
- <i class="icon-globe theme-font hide"></i>
28
- <span class="caption-subject font-blue-madison bold uppercase">Category Change Log</span>
29
- </div>
30
- <div class="actions">
31
- </div>
32
- </div>
33
- <div class="portlet-body">
34
- <%= render 'phcmemberspro/directory/categories/components/category_audits' %>
18
+ <div class="ibox">
19
+ <div class="ibox-title">
20
+ <h5>Active Listings in <%= @directory_category.catname %> Directory Category Change Log</h5>
21
+ <div class="ibox-tools">
22
+ <a class="collapse-link">
23
+ <i class="fa fa-chevron-up"></i>
24
+ </a>
25
+ <a class="close-link">
26
+ <i class="fa fa-times"></i>
27
+ </a>
35
28
  </div>
36
29
  </div>
30
+ <div class="ibox-content">
31
+ <%= render 'phcmemberspro/directory/categories/components/category_audits' %>
32
+ </div>
37
33
  </div>
@@ -19,32 +19,15 @@
19
19
  </div>
20
20
  </div>
21
21
 
22
+
22
23
  <div class="wrapper wrapper-content animated fadeInRight">
23
24
 
24
25
  <!-- Page Content -->
25
26
  <div class="row">
26
- <div class="col-lg-12">
27
-
28
- <div class="ibox float-e-margins">
29
-
30
- <div class="ibox-title">
31
- <h5><%= yield(:phc_title_tagline) %></h5>
32
- <div class="ibox-tools">
33
- <a class="collapse-link">
34
- <i class="fa fa-chevron-up"></i>
35
- </a>
36
- <a class="close-link">
37
- <i class="fa fa-times"></i>
38
- </a>
39
- </div>
40
- </div>
41
-
42
- <div class="ibox-content">
43
- <%= render 'phcmemberspro/directory/categories/components/category_main' %>
44
- </div>
45
-
46
- </div>
47
-
27
+ <div class="col-lg-3">
28
+ </div>
29
+ <div class="col-lg-9">
30
+ <%= render 'phcmemberspro/directory/categories/components/category_main' %>
48
31
  </div>
49
32
  </div>
50
33
 
@@ -3,7 +3,7 @@
3
3
  <% @versions.each do |version| %>
4
4
  <tr>
5
5
  <td>
6
- <span class="label label-primary"><%= version.event.capitalize %></span>
6
+ <span class="label label-primary"><%= version.event.humanize %></span>
7
7
  </td>
8
8
  <td>
9
9
  EVENT #<%= version.id %>
@@ -3,7 +3,7 @@
3
3
  <% @versions.each do |version| %>
4
4
  <tr>
5
5
  <td>
6
- <span class="label label-primary"><%= version.event.capitalize %></span>
6
+ <span class="label label-primary"><%= version.event.humanize %></span>
7
7
  </td>
8
8
  <td>
9
9
  EVENT #<%= version.id %>
@@ -3,7 +3,7 @@
3
3
  <% @versions.each do |version| %>
4
4
  <tr>
5
5
  <td>
6
- <span class="label label-primary"><%= version.event.capitalize %></span>
6
+ <span class="label label-primary"><%= version.event.humanize %></span>
7
7
  </td>
8
8
  <td>
9
9
  EVENT #<%= version.id %>
@@ -1,3 +1,3 @@
1
1
  module Phcmemberspro
2
- VERSION = "11.11.2"
2
+ VERSION = "11.11.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phcmemberspro
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.11.2
4
+ version: 11.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - BradPotts
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-22 00:00:00.000000000 Z
11
+ date: 2016-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails