/*
* aegis - project change supervisor
* Copyright (C) 1997, 1998, 2002-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
*
"); if (cs.state == "completed") { if (action != "create") print(" | Before | "); if (action != "remove") print("After | "); } else print("Change | "); if (baseline_file_exists) { print("Baseline | "); } print("
Before | "); print("* | "); if (action != "remove") { href = script_name ## "?file@diff+"; href ##= "delta1@" ## pre_d ## "+"; href ##= "delta2@" ## post_d ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); print("diff | "); } if (baseline_file_exists) { href = script_name ## "?file@diff+"; href ##= "delta1@" ## pre_d ## "+"; href ##= "delta2@" ## "baseline" ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); print("diff | "); } print("|
After | "); if (action != "create") { href = script_name ## "?file@diff+"; href ##= "delta1@" ## post_d ## "+"; href ##= "delta2@" ## pre_d ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); print("diff | "); } print("* | "); if (baseline_file_exists) { href = script_name ## "?file@diff+"; href ##= "delta1@" ## post_d ## "+"; href ##= "delta2@" ## "baseline" ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); print("diff | "); } print("|
Change | "); print("* | "); if (baseline_file_exists) { href = script_name ## "?file@diff+"; href ##= "delta1@" ## "change" ## "+"; href ##= "delta2@" ## "baseline" ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); href ##= "+change@" ## change_number(); print("diff | "); } print("||
Baseline | "); if (cs.state == "completed") { if (action != "create") { href = script_name ## "?file@diff+"; href ##= "delta1@" ## "baseline" ## "+"; href ##= "delta2@" ## pre_d ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); print("diff | "); } href = script_name ## "?file@diff+"; href ##= "delta1@" ## "baseline" ## "+"; href ##= "delta2@" ## post_d ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); print("diff | "); } else { href = script_name ## "?file@diff+"; href ##= "delta1@" ## "baseline" ## "+"; href ##= "delta2@" ## "change" ## "+"; href ##= quote_url(fn); href ##= "+project@" ## quote_url(pn); href ##= "+change@" ## change_number(); print("diff | "); } print("* | "); print("