app/views/phcmemberspro/member/profiles/show.html.erb in phcmemberspro-57.0.0 vs app/views/phcmemberspro/member/profiles/show.html.erb in phcmemberspro-58.0.0
- old
+ new
@@ -1,40 +1,87 @@
<!-- Title System -->
<% phc_title "Members Manager" %>
-<% phc_title_tagline "Create a New Member" %>
+<% phc_title_tagline "Detailed Information" %>
<% phc_breadcrumb_one link_to "Dashboard", phcmemberspro.modules_dashboards_index_path %>
<% phc_breadcrumb_two yield(:phc_title_tagline) %>
<!-- Title System -->
-<!-- Page Header -->
-<div class="row wrapper border-bottom white-bg page-heading">
- <div class="col-sm-8">
- <h2><%= yield(:phc_title) %></h2>
- <!-- Bread Crumb -->
- <ol class="breadcrumb">
- <li><%= yield(:phc_breadcrumb_one) %></li>
- <li class="active"><%= yield(:phc_breadcrumb_two) %></li>
- </ol>
- <!-- Bread Crumb -->
+<!-- Member Profiles - Header -->
+<div class="profile">
+ <%= render 'phcmemberspro/member/profiles/components/profile_header' %>
+</div>
+<!-- Member Profiles - Header -->
+
+<!-- Member Profiles - Remove Full Page Width -->
+<div class="profile-content">
+
+ <!-- Member Profiles - Content - Addresses Tab -->
+ <div class="tab-content p-0">
+ <div class="tab-pane fade show active" id="profile-addresses">
+ <!-- Member Profiles - Content - Addresses -->
+ <div class="panel panel-inverse">
+ <div class="panel-heading">
+ <div class="panel-heading-btn">
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
+ </div>
+ <h4 class="panel-title"><%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Addresses</h4>
+ </div>
+ <div class="panel-body">
+ <%= render 'phcmemberspro/member/profiles/components/profile_addresses_table' %>
+ </div>
+ </div>
+ <!-- Member Profiles - Content - Addresses -->
+ </div>
</div>
- <div class="col-sm-4">
- <div class="title-action">
- <%= link_to phcmemberspro.member_profiles_path, class: "btn btn-primary" do %>
- <i class="fa fa-id-card-o"></i> Back to Member's Index
- <% end %>
+ <!-- Member Profiles - Content - Addresses Tab -->
+
+ <!-- Member Profiles - Content - Listings Tab -->
+ <div class="tab-content p-0">
+ <div class="tab-pane fade in" id="profile-listings">
+ <!-- Member Profiles - Content - Listings -->
+ <div class="panel panel-inverse">
+ <div class="panel-heading">
+ <div class="panel-heading-btn">
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
+ </div>
+ <h4 class="panel-title"><%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Listings</h4>
+ </div>
+ <div class="panel-body">
+ <%= render 'phcmemberspro/member/profiles/components/profile_listings_table' %>
+ </div>
+ </div>
+ <!-- Member Profiles - Content - Listings -->
</div>
</div>
-</div>
-<!-- Page Header -->
+ <!-- Member Profiles - Content - Listings Tab -->
-<!-- Page Content -->
-<div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-lg-3">
- <%= render 'phcmemberspro/member/profiles/components/profile_sidebar' %>
+ <!-- Member Profiles - Content - Audit Log Tab -->
+ <div class="tab-content p-0">
+ <div class="tab-pane fade in" id="profile-logs">
+ <!-- Member Profiles - Content - Audit Log -->
+ <div class="panel panel-inverse">
+ <div class="panel-heading">
+ <div class="panel-heading-btn">
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-default" data-click="panel-expand"><i class="fa fa-expand"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-success" data-click="panel-reload"><i class="fa fa-redo"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-warning" data-click="panel-collapse"><i class="fa fa-minus"></i></a>
+ <a href="javascript:;" class="btn btn-xs btn-icon btn-circle btn-danger" data-click="panel-remove"><i class="fa fa-times"></i></a>
+ </div>
+ <h4 class="panel-title"><%= @member_profile.mfirstname + ' ' + @member_profile.mlastname %> Change Log</h4>
+ </div>
+ <div class="panel-body">
+ <%= render 'phcmemberspro/member/profiles/components/profile_audits_table' %>
+ </div>
+ </div>
+ <!-- Member Profiles - Content - Audit Log -->
</div>
- <div class="col-md-9">
- <%= render 'phcmemberspro/member/profiles/components/profile_main' %>
- </div>
</div>
+ <!-- Member Profiles - Content - Audit Log Tab -->
+
</div>
-<!-- Page Content -->
+<!-- Member Profiles - Remove Full Page Width -->