/*
* aegis - project change supervisor
* Copyright (C) 1997, 1998, 2002, 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
*
"); print(""); print("" ## quote_html(file) ## ""); print(" | ||||||||
Type | Action | Delta | "); print("When | "); print("Change | Edit | Description | "); for (m in sort(keys(metname))) { print("");
auto msplit, ms2;
msplit = split(m, "_");
for (ms2 in msplit)
print(capitalize(ms2) ## " "); print(" | ");
}
print("|
---|---|---|---|---|---|---|---|---|
"); if (fh.usage != usages) print(fh.usage); print(" | "); if (fh.action != actions) print(fh.action); print(" | "); print(fh.delta); print(" | "); print(fh.when); print(" | "); href = script_name ## "?file@chan_menu"; href ##= "+project@" ## quote_url(project_name()); href ##= "+change@" ## fh.change; print(""); print(fh.change ## ""); print(" | "); href = script_name ## "?file@file_menu"; href ##= "+project@" ## quote_url(project_name()); href ##= "+change@" ## fh.change ## "+" ## quote_html(file); print(""); print(fh.edit ## ""); print(" | ");
auto part;
for (part in wrap_html(quote_html(fh.description), 80))
print(part);
if (fh.move != "")
{
href = script_name ## "?file@file_menu+" ## quote_url(fh.move);
href ##= "+project@" ## quote_url(project_name());
print(" Moved"); if (fh.action == create) print("from"); else print("to"); print(""); print("" ## quote_html(fh.move) ## ""); } print(" | ");
auto met;
for (m in sort(keys(metname)))
{
for (met = 0; met < count(fh.metrics); met++)
{
if (fh.metrics[met].name == m)
{
print(""); print(sprintf("%4.2f", fh.metrics[met].value)); print(" | "); } } } print("|
"); print("Listed " ## count(keys(hist)) ## " files."); print(" |
aer file_history [ filename ] -p " ## quote_html(project_name()) ## ""); print("