- content_for :page_title, @user.full_name

.outer
  .container
    = render "/header", title: @user.full_name
    .charts
      = render @time_series.chart, time_series: @time_series
    .charts
      = render "/charts/pie_chart", title: t("charts.hours_spent_per_project"), data: EntryStats.new(@time_series.entries_for_time_span).hours_for_subject_collection(Project.all).to_json
      = render "/charts/pie_chart", title: t("charts.hours_spent_per_category"), data: EntryStats.new(@time_series.entries_for_time_span).hours_for_subject_collection(Category.all).to_json
    = link_to t("users.show.entries"), user_entries_path(@user)
