Bug 545598 - Add the new and noteworthy list Change-Id: I8ba71cacf3a829254c5af0b31026fcc0969d9690 Signed-off-by: Eric Poirier <eric.poirier@eclipse-foundation.org>
diff --git a/2019-06/noteworthy/content/en_index.php b/2019-06/noteworthy/content/en_index.php index 6d3a077..23df796 100644 --- a/2019-06/noteworthy/content/en_index.php +++ b/2019-06/noteworthy/content/en_index.php
@@ -11,6 +11,8 @@ * * SPDX-License-Identifier: EPL-2.0 */ + +$links = $SimultaneousRelease->getNewAndNoteworthyLinks(); ?> <div class="container"> <h1>New & Noteworthy</h1> @@ -22,5 +24,11 @@ Here are the new and noteworthy items of various projects in the 2019-06 release train: </p> + <ul> + <?php foreach($links as $link): ?> + <li><?php print $link; ?></li> + <?php endforeach; ?> + </ul> + <!-- List of links to the new and noteworthy pages of projects --> </div>
diff --git a/2019-06/noteworthy/index.php b/2019-06/noteworthy/index.php index dd0c14c..ff40c08 100644 --- a/2019-06/noteworthy/index.php +++ b/2019-06/noteworthy/index.php
@@ -13,7 +13,10 @@ */ require_once (realpath(dirname(__FILE__) . "/../../../eclipse.org-common/system/app.class.php")); +require_once (realpath(dirname(__FILE__) . "/../../../eclipse.org-common/classes/releases/simultaneous_release.class.php")); $App = new App(); +$SimultaneousRelease = new SimultaneousRelease(); +$SimultaneousRelease->setFilePath('/home/data/httpd/writable/community/sr-eclipse-2019-06.json'); $pageTitle = 'New & Noteworthy';