app/views/phcmembers/members/mains/show.html.erb in phcmembers-2.2.0 vs app/views/phcmembers/members/mains/show.html.erb in phcmembers-3.0.0

- old
+ new

@@ -1,61 +1,39 @@ -<!-- Bread Crumbs --> -<header id="page-header"> - <h1><%= @members_main.mfirstname %> Detailed Profile</h1> - <ol class="breadcrumb"> - <li><%= link_to "Home", members_root_path %></li> - <li class="active"><%= link_to "Members List", members_mains_path %></li> - </ol> -</header> +<!-- Title System --> +<% phc_title "PHCMembers - Members Manager" %> +<% phc_title_tagline @members_main.mfirstname + " Detailed Profile" %> -<div class="container"> +<!-- BreadCrumbs --> +<div class="page-bar"> - <div class="row"> - <div class="col-lg-12"> - <p><strong>Member Creation Date:</strong> <%= @members_main.created_at %></p> - </div> - </div> + <!-- Bread Crumb --> + <ol class="breadcrumb"> + <li><%= link_to "Home", members_root_path %></li> + <li><%= link_to "Members List", members_mains_path %></li> + <li class="active"><%= yield(:phc_title_tagline) %></li> + </ol> - <div class="row"> - <div class="col-lg-12"> +</div> - <div class="panel panel-primary"> - <div class="panel-heading"> - <h3 class="panel-title"><%= @members_main.mfirstname %> <%= @members_main.mlastname %></h3> - </div> - <div class="panel-body"> - <div class="row"> - <div class="col-lg-3"> - <%= image_tag @members_main.gravatar_url, :class => 'img-thumbnail img-responsive' %> - </div> - <div class="col-lg-9"> - <table class="table table-user-information"> - <tbody> - <tr> - <tr> - <td>Job/Contact Title:</td> - <td><%= @members_main.mtitle %></td> - </tr> - <tr> - <td>Home Address</td> - <td><%= @members_main.contacts.first.mccity %> - <%= @members_main.contacts.first.mcprovince %></td> - </tr> - <tr> - <td>Email</td> - <td><%= mail_to @members_main.memail %></td> - </tr> - <tr> - <td>Phone Number</td> - <td><%= @members_main.mphone %></td> - </tr> - </tr> - </tbody> - </table> - </div> - </div> - </div> - </div> +<!-- Page Title --> +<div class="row"> + <div class="col-lg-12"> - </div> + <h3 class="page-title"> + <%= yield(:phc_title) %> </br> + <small><%= yield(:phc_title_tagline) %></small> + </h3> + </div> +</div> +<!-- Main Content --> +<div class="row"> + <div class="col-md-4"> + <%= render 'phcmembers/members/mains/components/profile_sidebar' %> + </div> + <div class="col-md-8"> + <div class="profile-content"> + <%= render 'phcmembers/members/mains/components/profile_main' %> + </div> + </div> </div>