Author: hboutemy
Date: Sat Sep 19 16:49:10 2015
New Revision: 1704063

URL: http://svn.apache.org/viewvc?rev=1704063&view=rev
Log:
changed link to index page to link to CMS to edit the index page

Modified:
    
maven/site/trunk/content/markdown/developers/website/component-reference-documentation-helper.md

Modified: 
maven/site/trunk/content/markdown/developers/website/component-reference-documentation-helper.md
URL: 
http://svn.apache.org/viewvc/maven/site/trunk/content/markdown/developers/website/component-reference-documentation-helper.md?rev=1704063&r1=1704062&r2=1704063&view=diff
==============================================================================
--- 
maven/site/trunk/content/markdown/developers/website/component-reference-documentation-helper.md
 (original)
+++ 
maven/site/trunk/content/markdown/developers/website/component-reference-documentation-helper.md
 Sat Sep 19 16:49:10 2015
@@ -33,7 +33,7 @@ instructions to publish component releas
   cp HEAD ${category}-archives/${artifactId}-LATEST 
${category}/${artifactId}</pre>
 </td></tr>
 
-<tr><td><a href="" id="link-index-page" target="_blank">category index 
page</a><br/>
+<tr><td><a href="" id="link-index-page" target="_blank">edit category index 
page through CMS</a><br/>
 <iframe id="index-page" src="" width="100%" height="300px"></iframe>
 </td>
 <td>archives directory<br/>
@@ -49,7 +49,7 @@ function selectCategory(index, archive)
   var archives = document.getElementById('archives');
   var indexUrl = index ? ('http://maven.apache.org/' + index) : '';
   indexPage.setAttribute('src', indexUrl);
-  linkIndexPage.setAttribute('href', indexUrl);
+  linkIndexPage.setAttribute('href', 
'https://cms.apache.org/redirect?uri='+escape(indexUrl));
   linkIndexPage.style.display = index ? "initial":"none";
   archives.setAttribute('src', 'http://maven.apache.org/' + archive + 
'?C=M;O=D');
   instructions();


Reply via email to