app/views/phcmembers/member/addresses/index.html.erb in phcmembers-12.1.1 vs app/views/phcmembers/member/addresses/index.html.erb in phcmembers-12.2.1

- old
+ new

@@ -1,74 +1,74 @@ -<!-- Title Variables --> -<% phc_title "Member Address Manager" %> -<% phc_title_tagline "Address Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> -<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %> -<% phc_breadcrumb_two yield(:phc_title_tagline) %> -<!-- Title System --> - -<!-- Page Title Bar --> -<section class="content-header"> - <!-- Page Title and BreadCrumb --> - <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1> - <ol class="breadcrumb"> - <li><%= yield(:phc_breadcrumb_one) %></li> - <li class="active"><%= yield(:phc_breadcrumb_two) %></li> - </ol> - <!-- Page Title and BreadCrumb --> -</section> -<!-- Page Title Bar --> - -<!-- Main Content --> -<section class="content"> - <div class="row"> - <div class="col-lg-12"> - <div class="box"> - <div class="box-header with-border"> - <h3 class="box-title"><%= yield(:phc_title) %></h3> - </div> - <div class="box-body"> - - <!-- Index Table --> - <div class="table-responsive"> - <table class="table table-bordered table-striped table-hover"> - <thead> - <tr> - <th>Address Line 1</th> - <th>Address Line 2</th> - <th>City</th> - <th>Province</th> - <th>Country</th> - <th>PostalCode</th> - <th>Type</th> - </tr> - </thead> - <tbody> - <% @member_addresses.each do |member_address| %> - <tr> - <td class="highlight"><%= link_to member_address.mcaddressl1, member_profile_address_path(member_address.profile, member_address) %></td> - <td class="highlight"><%= link_to member_address.mcaddressl2, member_profile_address_path(member_address.profile, member_address) %></td> - <td class="highlight"><%= link_to member_address.mccity, member_profile_address_path(member_address.profile, member_address) %></td> - <td class="highlight"><%= link_to member_address.mcprovince, member_profile_address_path(member_address.profile, member_address) %></td> - <td class="highlight"><%= link_to member_address.mccountry, member_profile_address_path(member_address.profile, member_address) %></td> - <td class="highlight"><%= link_to member_address.mcpostalcode, member_profile_address_path(member_address.profile, member_address) %></td> - <td class="highlight"><%= link_to member_address.mctype, member_profile_address_path(member_address.profile, member_address) %></td> - </tr> - <% end %> - </tbody> - </table> - </div> - <!-- Index Table --> - - <!-- Panel Footer --> - <div class="box-footer clearfix"> - <%= link_to new_member_profile_address_path, class: "btn btn-primary" do %> - <i class="fa fa-plus"></i> <%= "Add a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> - <% end %> - </div> - <!-- Panel Footer --> - - </div> - </div> - </div> - </div> -</section> -<!-- Main Content --> +<!-- Title Variables --> +<% phc_title "Member Address Manager" %> +<% phc_title_tagline "Address Index for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> +<% phc_breadcrumb_one link_to "Dashboard", phcmembers.modules_dashboards_index_path %> +<% phc_breadcrumb_two yield(:phc_title_tagline) %> +<!-- Title System --> + +<!-- Page Title Bar --> +<section class="content-header"> + <!-- Page Title and BreadCrumb --> + <h1><%= yield(:phc_title) %> <small><%= yield(:phc_title_tagline) %></small></h1> + <ol class="breadcrumb"> + <li><%= yield(:phc_breadcrumb_one) %></li> + <li class="active"><%= yield(:phc_breadcrumb_two) %></li> + </ol> + <!-- Page Title and BreadCrumb --> +</section> +<!-- Page Title Bar --> + +<!-- Main Content --> +<section class="content"> + <div class="row"> + <div class="col-lg-12"> + <div class="box"> + <div class="box-header with-border"> + <h3 class="box-title"><%= yield(:phc_title) %></h3> + </div> + <div class="box-body"> + + <!-- Index Table --> + <div class="table-responsive"> + <table class="table table-bordered table-striped table-hover"> + <thead> + <tr> + <th>Address Line 1</th> + <th>Address Line 2</th> + <th>City</th> + <th>Province</th> + <th>Country</th> + <th>PostalCode</th> + <th>Type</th> + </tr> + </thead> + <tbody> + <% @member_addresses.each do |member_address| %> + <tr> + <td class="highlight"><%= link_to member_address.mcaddressl1, member_profile_address_path(member_address.profile, member_address) %></td> + <td class="highlight"><%= link_to member_address.mcaddressl2, member_profile_address_path(member_address.profile, member_address) %></td> + <td class="highlight"><%= link_to member_address.mccity, member_profile_address_path(member_address.profile, member_address) %></td> + <td class="highlight"><%= link_to member_address.mcprovince, member_profile_address_path(member_address.profile, member_address) %></td> + <td class="highlight"><%= link_to member_address.mccountry, member_profile_address_path(member_address.profile, member_address) %></td> + <td class="highlight"><%= link_to member_address.mcpostalcode, member_profile_address_path(member_address.profile, member_address) %></td> + <td class="highlight"><%= link_to member_address.mctype, member_profile_address_path(member_address.profile, member_address) %></td> + </tr> + <% end %> + </tbody> + </table> + </div> + <!-- Index Table --> + + <!-- Panel Footer --> + <div class="box-footer clearfix"> + <%= link_to new_member_profile_address_path, class: "btn btn-primary" do %> + <i class="fa fa-plus"></i> <%= "Add a New Address for " + @members_profile_info.mfirstname + " " + @members_profile_info.mlastname %> + <% end %> + </div> + <!-- Panel Footer --> + + </div> + </div> + </div> + </div> +</section> +<!-- Main Content -->