- content_for :after_title, ' - Usage Stats'
%header.main-page
  .container
    %h1 Usage Stats
.container
  %section
    .section-header
      %h3
        = "Total users: #{@user_count}"
        %br
        = "OAuth users: #{@logged_in_count}"
        %br
        = "Unique program facilitators / course instructors: #{@course_instructor_count}"
        %br
        = "Unique project home wikis: #{@home_wiki_count}"
        %br
        = "Unique wikis interacted with: #{@total_wikis_touched}"
  %section
    .section-header
      Courses / Programs per wiki:
      - Wiki.find_each do |wiki|
        %li
          = "#{wiki.domain}: #{Course.where(home_wiki: wiki).count}"

  %section
    .section-header
      %button.button.dark{href: '/all_courses_csv'} Generate CSV of all programs

- content_for :after_title, ' - Usage Stats'
%header.main-page
  .container
    %h1 Usage Stats
.container
  %section
    .section-header
      %h3
        = "Total users: #{@user_count}"
        %br
        = "OAuth users: #{@logged_in_count}"
        %br
        = "Unique program facilitators / course instructors: #{@course_instructor_count}"
        %br
        = "Unique project home wikis: #{@home_wiki_count}"
        %br
        = "Unique wikis interacted with: #{@total_wikis_touched}"
  %section
    .section-header
      Courses / Programs per wiki:
      - Wiki.find_each do |wiki|
        %li
          = "#{wiki.domain}: #{Course.where(home_wiki: wiki).count}"

  %section
    .section-header
      %a.button.dark{href: '/all_courses_csv'} Generate CSV of all programs

Fix CSV link in usage page
Fix CSV link in usage page
