- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Tue, 09 Apr 2013 16:39:54 -0700
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2-tools/rev/661aed1acd5c branches: changeset: 80:661aed1acd5c user: Cameron McCormack <cam@mcc.id.au> date: Wed Apr 10 09:39:41 2013 +1000 description: Use the "this" version as the "previous" version when generating an Editor's Draft. diffstat: publish/processing.js | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diffs (23 lines): diff --git a/publish/processing.js b/publish/processing.js --- a/publish/processing.js +++ b/publish/processing.js @@ -541,18 +541,17 @@ function doIncludeLatestEditorsDraft(con return; } utils.replace(n, utils.parse('<dt>Latest editor\'s draft:</dt><dd><a href="{{href}}" class="url">{{href}}</a></dd>', { href: conf.versions.cvs })); } function doPreviousVersion(conf, page, n) { - - replaceWithURLLink(n, conf.versions.previous); + replaceWithURLLink(n, conf.maturity == 'ED' ? conf.versions.this : conf.versions.previous); } function doCopyright(conf, page, n) { utils.replace(n, utils.parse('<p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © {{year}} <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p>', { year: conf.publicationYear })); } function doLocalLink(conf, page, n) {
Received on Tuesday, 9 April 2013 23:40:16 UTC