Ignore:
Timestamp:
May 19, 2007, 6:59:16 PM (14 years ago)
Author:
Peter Johansson
Message:

fixes #192

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/first_page.cc

    r317 r345  
    6969      latest_commit.push_back(log.latest_commit(*i));
    7070
     71    print_summary_plot(os, stats);
    7172    print_general_information(os, log, authors.size(), url);
    7273    sort(latest_commit.begin(), latest_commit.end(), GreaterRevision());
     
    204205
    205206
     207  void print_summary_plot(std::ostream& os, const Stats& stats)
     208  {
     209    std::string name("summary_plot.png");
     210    stats.plot_summary(name);
     211    os << "<div class=\"main\">\n";
     212    os << "<img src='" << name << "' alt='[plot]'>";
     213    os << "</div>";
     214  }
     215
    206216}} // end of namespace svndigest and namespace theplu
Note: See TracChangeset for help on using the changeset viewer.