- content_for :title do
  = @author

%ul.breadcrumb
  %li
    %a(href='/authors') Home
  %li.active= @author
%h2 Past #{number_with_delimiter @days} Days
%table.table.table-striped.table-hover.table-bordered
  %tbody
    %tr
      %th Total commits
      %td= number_with_delimiter(@commit_set.count)
    %tr
      %th Breakdown by project
      %td= breakdown(@commit_set)
#chart
  %svg
%script(src='/vendor/d3.v3.js')
%script(src='/vendor/nv.d3.min.js')
  - content_for :footer do
    :javascript
      Twigg.Profile.loadCommitsPerDay('#chart svg', #{@nvd3_data.to_json})

- content_for :title do
  = @author

%ul.breadcrumb
  %li
    %a(href='/') Home
  %li
    %a(href='/authors') Authors
  %li.active= @author
%h2 Past #{number_with_delimiter @days} Days
%table.table.table-striped.table-hover.table-bordered
  %tbody
    %tr
      %th Total commits
      %td= number_with_delimiter(@commit_set.count)
    %tr
      %th Breakdown by project
      %td= breakdown(@commit_set)
#chart
  %svg
%script(src='/vendor/d3.v3.js')
%script(src='/vendor/nv.d3.min.js')
  - content_for :footer do
    :javascript
      Twigg.Profile.loadCommitsPerDay('#chart svg', #{@nvd3_data.to_json})

Add additional level to "Home / Authors / [Author]" breadcrumbs
Add additional level to "Home / Authors / [Author]" breadcrumbs

Now that we have a home page, /authors page, and /teams page, nest the
latter two pages under the home page. Eventually the home page will
become an overall dashboard for everything that's happening in Twigg.

Change-Id: Icc16544d25950a981c0dfcf6bb7d54e0ee9087fb
Reviewed-on: https://gerrit.causes.com/25848
Reviewed-by: Greg Hurrell <79e2475f81a6317276bf7cbb3958b20d289b78df@causes.com>
Tested-by: Greg Hurrell <79e2475f81a6317276bf7cbb3958b20d289b78df@causes.com>
