Changeset 816


Ignore:
Timestamp:
Aug 8, 2009, 8:34:23 PM (12 years ago)
Author:
Peter Johansson
Message:

set color of author str in blame output if set in configuration. refs #161

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/File.cc

    r810 r816  
    275275      hs << Date(blame.date())("%d %b %y");
    276276      os << "</font></td>\n<td class=\"author\">";
     277      std::string author_color =
     278        Configuration::instance().author_str_color(blame.author());
     279      if (!author_color.empty())
     280        os << "<font color=\"#" << author_color << "\">";
    277281      hs << blame.author();
    278282      os << "</td>\n<td class=\"";
Note: See TracChangeset for help on using the changeset viewer.