Changeset 714
- Timestamp:
- Nov 29, 2008, 12:07:23 AM (15 years ago)
- Location:
- trunk/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/html_utility.cc
r693 r714 180 180 181 181 182 std::string trac_revision(svn_revnum_t r, std::string color )182 std::string trac_revision(svn_revnum_t r, std::string color, std::string title) 183 183 { 184 184 const Configuration& conf = Configuration::instance(); … … 189 189 std::stringstream rev; 190 190 rev << r; 191 if (title.empty()) // default behaviour 192 title = "View ChangeSet " + ss.str(); 191 193 ss << anchor(conf.trac_root()+"changeset/"+rev.str(), rev.str(), 192 0, "View ChangeSet "+rev.str(), color);194 0, title, color); 193 195 } 194 196 return ss.str(); -
trunk/lib/html_utility.h
r693 r714 72 72 /// given otherwise just a string corresponding to passed parameter. 73 73 /// 74 std::string trac_revision(svn_revnum_t, std::string color=""); 74 std::string trac_revision(svn_revnum_t, std::string color="", 75 std::string title=""); 75 76 76 77 }} // end of namespace svndigest end of namespace theplu
Note: See TracChangeset
for help on using the changeset viewer.