2009/dap/ReSpec.js/js respec.js,1.81,1.82

Update of /sources/public/2009/dap/ReSpec.js/js
In directory hutz:/tmp/cvs-serv8488/js

Modified Files:
	respec.js 
Log Message:
add the XGR logo when needed

Index: respec.js
===================================================================
RCS file: /sources/public/2009/dap/ReSpec.js/js/respec.js,v
retrieving revision 1.81
retrieving revision 1.82
diff -u -d -r1.81 -r1.82
--- respec.js	28 Jan 2010 16:36:43 -0000	1.81
+++ respec.js	9 Feb 2010 16:43:38 -0000	1.82
@@ -390,7 +390,10 @@
         latestVersion = "<a href='" + latestURI + "'>" + latestURI + "</a>";
         var header = 
             "<div class='head'>" + 
-            "<p><a href='http://www.w3.org/'><img width='72' height='48' src='http://www.w3.org/Icons/w3c_home' alt='W3C'/></a>" +
+            "<p><a href='http://www.w3.org/'><img width='72' height='48' src='http://www.w3.org/Icons/w3c_home' alt='W3C'/></a>";
+        if (this.specStatus == 'XGR') 
+            header += "<a href='http://www.w3.org/2005/Incubator/XGR/'><img alt='W3C Incubator Report' src='http://www.w3.org/2005/Incubator/images/XGR' height='48' width='160'/></a>";
+        header +=
             "<h1>" + this.title + "</h1>" +
             "<h2>W3C " + this.status2text[this.specStatus] + " " + this._humanDate(this.publishDate) + "</h2><dl>";
         if (!this.isNoTrack)

Received on Tuesday, 9 February 2010 16:43:41 UTC