/*
* aegis - project change supervisor
* Copyright (C) 1997, 1998, 2000-2003, 2005-2008 Peter Miller
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see
*
| What | When | Who | " ## "Comment |
|---|---|---|---|
| "); print(ch.what); print(" | "); print(ch.when); print(" | "); auto email, long_name; email = ch.who; try { email = user[ch.who].email_address; } catch (email) { email = ""; } if (email == "") email = ch.who; href = "mailto:" ## email; print(""); long_name = ch.who; try { long_name = passwd[ch.who].pw_comment; } catch (long_name) { long_name = ch.who; } print(quote_html(long_name) ## ""); print(" | ");
auto part;
for (part in wrap_html(quote_html(ch.why), 80))
print(part);
auto t;
if (j == count(cs.history) - 1)
t = now();
else
t = cs.history[j + 1].when;
t = working_days(ch.when, t);
if (t >= 0.1)
{
if (ch.why != "")
print(" "); print("Elapsed: " ## sprintf("%5.3f", t) ## " working days."); } print(" |
| "); print("Listed " ## count(cs.history) ## " state transitions."); print(" | |||
ael change_history -p " ## quote_html(project_name()) ##
" -c " ## cn);
print("aer change_history -p " ## quote_html(project_name()) ##
" -c " ## cn ## "");
print("