app/views/phcmembers/member/listings/index.html.erb in phcmembers-67.5.0 vs app/views/phcmembers/member/listings/index.html.erb in phcmembers-68.0.0
- old
+ new
@@ -2,38 +2,36 @@
<% phc_title "Member Listings Manager" %>
<% phc_title_tagline "Listings for " + @members_profile_info.member_first_name + " " + @members_profile_info.member_last_name %>
<% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %>
<% phc_breadcrumb_two link_to "Members List", phcmembers.member_profiles_path %>
<% phc_breadcrumb_three yield(:phc_title_tagline) %>
-<!-- Title System -->
+<!-- -PHCDEV- Title Variables -->
-<!-- Page Bradcrumbs -->
-<ol class="breadcrumb pull-right">
- <li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
- <li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
+<!-- -PHCDEV- Bradcrumbs -->
+<ol class="breadcrumb float-xl-end">
+<li class="breadcrumb-item"><%= yield(:phc_breadcrumb_one) %></li>
+<li class="breadcrumb-item active"><%= yield(:phc_breadcrumb_two) %></li>
</ol>
-<!-- Page Bradcrumbs -->
+<!-- -PHCDEV- Bradcrumbs -->
-<!-- Page Header -->
+<!-- -PHCDEV- Header -->
<h1 class="page-header"><%= yield(:phc_title) %></h1>
-<!-- Page Header -->
+<!-- -PHCDEV- Header -->
-<!-- Page & Panel Content -->
+<!-- -PHCDEV- Panel -->
<div class="panel panel-inverse">
- <!-- Panel Heading -->
- <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>
- </div>
- <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
- </div>
- <!-- Panel Heading -->
- <!-- Panel Body -->
- <div class="panel-body">
- <!-- Table - Member - Listings - Index -->
+
+ <!-- -PHCDEV- Panel - Heading -->
+ <div class="panel-heading">
+ <h4 class="panel-title"><%= yield(:phc_title_tagline) %></h4>
+ </div>
+ <!-- -PHCDEV- Panel - Heading -->
+
+ <!-- -PHCDEV- Panel - Body -->
+ <div class="panel-body">
+
+ <!-- -PHCDEV- Table - Member - Listings - Index -->
<div class="table-responsive">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Company Name</th>
@@ -54,24 +52,26 @@
<td class="highlight"><%= link_to member_listing.listing_province, member_profile_listing_path(member_listing.profile, member_listing) %></td>
<td class="highlight"><%= link_to member_listing.listing_contact_email, member_profile_listing_path(member_listing.profile, member_listing) %></td>
<td class="highlight"><%= link_to member_listing.listing_website, member_profile_listing_path(member_listing.profile, member_listing) %></td>
<td>
<div class="btn-group d-flex" role="group">
- <%= link_to 'Details', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %>
- <%= link_to 'Update', edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %>
- <%= link_to 'Remove', member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: 'Are you sure? This will remove listing information and cannot be reversed.' } %>
+ <%= link_to "Details", member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-primary btn-xs" %>
+ <%= link_to "Update", edit_member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-purple btn-xs" %>
+ <%= link_to "Remove", member_profile_listing_path(member_listing.profile, member_listing), class: "btn btn-danger btn-xs", method: :delete, data: { confirm: "Are you sure? This will remove listing information and cannot be reversed." } %>
</div>
</td>
</tr>
<% end %>
</tbody>
</table>
<%= link_to phcmembers.new_member_profile_listing_path, class: "btn btn-primary btn-sm" do %>
- <i class="fas fa-plus-circle"></i>
- <%= "Add a New Listing for " + @members_profile_info .member_first_name + " " + @members_profile_info .member_last_name %>
+ <i class="fas fa-plus-circle"></i>
+ <%= "Add a New Listing for " + @members_profile_info .member_first_name + " " + @members_profile_info .member_last_name %>
<% end %>
</div>
- <!-- Table - Member - Listings - Index -->
- </div>
- <!-- Panel Body -->
+ <!-- -PHCDEV- Table - Member - Listings - Index -->
+
+ </div>
+ <!-- -PHCDEV- Panel - Body -->
+
</div>
-<!-- Page & Panel Content -->
+<!-- -PHCDEV- Panel -->