Skip to content

Add new attributes for eclipsefdn.projects.js to allow for local website urls and changing link text

Changing link text

For the research homepage redesign, the mockup requires us to change the tpl-projects-item.mustache link text from "Getting Started" to "Read More".

I'm thinking we should add a new data attribute named data-link-text. It could have a default value of "Getting Started" to prevent breaking changes.

Local website urls

The problem with how eclipse.org/research originally worked was that it had a grid of project items (unrelated to eclipsefdn.projects.js) which linked to project pages from within the site. Ex. https://www.eclipse.org/org/research/projects/sparta/

However, now that we are utilizing the eclipsefdn.projects.js, it is receiving the URL from the API which points to projects.eclipse.org. We want to continue using the page under eclipse.org/research.

A solution could be to have a data-projects-page-url attribute which is used instead of the API website_url field.

Edited by Olivier Goulet