app/views/phcmembers/member/profiles/index.html.erb in phcmembers-67.5.0 vs app/views/phcmembers/member/profiles/index.html.erb in phcmembers-68.0.0

- old
+ new

@@ -1,38 +1,36 @@ -<!-- Title System --> +<!-- -PHCDEV- Title Variables --> <% phc_title "Members Manager" %> <% phc_title_tagline "Members List" %> <% phc_breadcrumb_one link_to "Dashboard", phcmembers.dashboard_path %> <% phc_breadcrumb_two 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 - Profiles - 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 - Profiles - Index --> <div class="table-responsive"> <table class="table table-striped table-bordered"> <thead> <tr> <th>First Name</th> @@ -41,32 +39,34 @@ <th>Phone</th> <th></th> </tr> </thead> <tbody> - <% @member_profiles.each do |member_profile| %> - <tr> - <td><%= link_to member_profile.member_first_name, member_profile %></td> - <td><%= link_to member_profile.member_last_name, member_profile %></td> - <td><%= link_to member_profile.member_email, member_profile %></td> - <td><%= link_to member_profile.member_phone, member_profile %></td> - <td> - <div class="btn-group d-flex" role="group"> - <%= link_to 'Details', member_profile, class: "btn btn-primary btn-xs" %> - <%= link_to 'Update', edit_member_profile_path(member_profile), class: "btn btn-purple btn-xs" %> - <%= link_to 'Remove', member_profile, method: :delete, data: { confirm: 'Are you sure? This will also remove the Members addresses and listings. This action cannot be reversed.' }, class: "btn btn-danger btn-xs" %> - </div> - </td> - </tr> - <% end %> + <% @member_profiles.each do |member_profile| %> + <tr> + <td><%= link_to member_profile.member_first_name, member_profile %></td> + <td><%= link_to member_profile.member_last_name, member_profile %></td> + <td><%= link_to member_profile.member_email, member_profile %></td> + <td><%= link_to member_profile.member_phone, member_profile %></td> + <td> + <div class="btn-group d-flex" role="group"> + <%= link_to "Details", member_profile, class: "btn btn-primary btn-xs" %> + <%= link_to "Update", edit_member_profile_path(member_profile), class: "btn btn-purple btn-xs" %> + <%= link_to "Remove", member_profile, method: :delete, data: { confirm: "Are you sure? This will also remove the Members addresses and listings. This action cannot be reversed." }, class: "btn btn-danger btn-xs" %> + </div> + </td> + </tr> + <% end %> </tbody> </table> <%= link_to phcmembers.new_member_profile_path, class: "btn btn-primary btn-sm" do %> <i class="fas fa-plus-circle"></i> Add a New Member <% end %> </div> - <!-- Table - Member - Profiles - Index --> - </div> - <!-- Panel Body --> + <!-- -PHCDEV- Table - Member - Profiles - Index --> + + </div> + <!-- -PHCDEV- Panel - Body --> + </div> -<!-- Page & Panel Content --> +<!-- -PHCDEV- Panel -->