- Timestamp:
- Jun 13, 2010, 2:37:59 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/first_page.cc
r1024 r1095 153 153 << 100*stats.comments(i->author())/(stats.comments()?stats.comments():1) 154 154 << "%)</td><td>"; 155 hs << Date(i->date())(timefmt); 155 std::string date = Date(i->date())(timefmt); 156 const Configuration& conf = Configuration::instance(); 157 if (conf.trac_root().empty()) 158 hs << date; 159 else { 160 std::stringstream url; 161 url << conf.trac_root() << "changeset/" << i->revision(); 162 os << anchor(url.str(), date); 163 } 156 164 os << "</td>" <<"</tr>"; 157 165 }
Note: See TracChangeset
for help on using the changeset viewer.