Changeset 716


Ignore:
Timestamp:
Nov 30, 2008, 4:43:14 PM (12 years ago)
Author:
Peter Johansson
Message:

refs #304 - revert Changeset [714]

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/html_utility.cc

    r714 r716  
    180180
    181181
    182   std::string trac_revision(svn_revnum_t r, std::string color, std::string title)
     182  std::string trac_revision(svn_revnum_t r, std::string color)
    183183  {
    184184    const Configuration& conf = Configuration::instance();
     
    189189      std::stringstream rev;
    190190      rev << r;
    191       if (title.empty()) // default behaviour
    192         title = "View ChangeSet " + ss.str();
    193191      ss << anchor(conf.trac_root()+"changeset/"+rev.str(), rev.str(),
    194                    0, title, color);
     192                   0, "View ChangeSet "+rev.str(), color);
    195193    }
    196194    return ss.str();
  • trunk/lib/html_utility.h

    r714 r716  
    7272  /// given otherwise just a string corresponding to passed parameter.
    7373  ///
    74   std::string trac_revision(svn_revnum_t, std::string color="",
    75                             std::string title="");
     74  std::string trac_revision(svn_revnum_t, std::string color="");
    7675
    7776}} // end of namespace svndigest end of namespace theplu
Note: See TracChangeset for help on using the changeset viewer.