- From: Frederick Hirsch via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 04 Dec 2009 21:43:37 +0000
- To: public-dap-commits@w3.org
Update of /sources/public/2009/dap/ReSpec.js/js In directory hutz:/tmp/cvs-serv26233/js Modified Files: respec.js Log Message: add prevRecShortname, adjust previous checkin to provide Editors heading even in error case, the old behaviour Index: respec.js =================================================================== RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v retrieving revision 1.66 retrieving revision 1.67 diff -u -d -r1.66 -r1.67 --- respec.js 4 Dec 2009 20:18:17 -0000 1.66 +++ respec.js 4 Dec 2009 21:43:35 -0000 1.67 @@ -382,8 +382,14 @@ if (this.specStatus != "FPWD") header += "<dt>Previous version:</dt><dd>" + prevVersion + "</dd>"; + if (this.prevRecShortname) { + var prevRecURI = "http://www.w3.org/TR/" + this.prevRecShortname + "/"; + header += "<dt>Latest Recommendation:</dt><dd>" + + '<a href="' + prevRecURI + '">' + prevRecURI + "</a></dd>"; + } if(this.editors.length == 0) { + header += "<dt>" + "Editor" + ":</dt>"; error("There must be at least one editor."); } header += this.showPeople("Editor", this.editors);
Received on Friday, 4 December 2009 21:43:38 UTC