<div class="center">

 <% provide(:title, @user.name) %>
 <div class="row">
   <aside class="col-md-12">
     <section class="user_info">
       <h3>
         <%= gravatar_for @user %>
         <%= @user.name %>
       </h3>
     </section>
   </aside>
  <div class="col-md-12">
  <% if @user.projects.any? %>
  <br><br>
    <%= render 'projects/table', projects: @projects %>
    <%= will_paginate @projects %>
  <% end %>

  <% if @edit_projects.present? %>
  <br>
  <h2>Other Projects you can edit</h2>
  <br>
   <%= render 'projects/table', projects: @edit_projects %>
  <% end %>
 </div>

</div>

</div>

<div class="center">

 <% provide(:title, @user.name) %>
 <div class="row">
   <aside class="col-md-12">
     <section class="user_info">
       <h3>
         <%= gravatar_for @user %>
         <%= @user.name %>
       </h3>
     </section>
   </aside>
  <div class="col-md-12">
  <% if @user.projects.any? %>
  <br><br>
    <%= render 'projects/table', projects: @projects %>
    <%= will_paginate @projects %>
  <% end %>

  <% if @edit_projects.present? %>
  <br>
  <h2>Other Projects you can edit</h2>
  <br>
   <%= render 'projects/table', projects: @edit_projects %>
  <% end %>

  <% if @user.provider == 'github' && @user.nickname? %>
   <br><br>
   <p>
   See <a href="https://github.com/<%= @user.nickname %>">this user's
   external page</a>.
  <% end %>
 </div>

</div>

</div>

Add link to user's external page on GitHub if GitHub used.
Add link to user's external page on GitHub if GitHub used.

  When displaying a user's page, include at the bottom a link to
  the user's page on GitHub.  That makes it easier to see who it is, etc.
  This isn't considered a privacy issue because GitHub pages are public.

Signed-off-by: David A. Wheeler <9ae72d22d8b894b865a7a496af4fab6320e6abb2@dwheeler.com>
