From 0701970cca961b114f97417b43810e7abd16e21c Mon Sep 17 00:00:00 2001 From: maryaB-osr Date: Tue, 5 Jan 2021 11:32:16 -0800 Subject: [PATCH 1/2] Add EOL banner to eloquent Signed-off-by: maryaB-osr --- source/_templates/page.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_templates/page.html b/source/_templates/page.html index ff8e0c29864..8f089fe38c3 100644 --- a/source/_templates/page.html +++ b/source/_templates/page.html @@ -3,7 +3,10 @@ {% if current_version and latest_version and current_version != latest_version %}

- {% if current_version.is_released %} + {% if current_version.name|string() == 'eloquent' %} + You're reading a version of this documentation that is no longer kept up-to-date, as the distribution has reached its EOL (end-of-life). + If you want up-to-date information, please have a look at {{latest_version.name | title }}. + {% elif current_version.is_released %} You're reading an old version of this documentation. If you want up-to-date information, please have a look at {{latest_version.name | title }}. {% else %} From b73d230683092e1260c91b5240771152b34c45b9 Mon Sep 17 00:00:00 2001 From: Marya Belanger Date: Tue, 5 Jan 2021 13:40:02 -0800 Subject: [PATCH 2/2] Change the wording for version banners (#991) * Change the wording for version banners Signed-off-by: maryaB-osr * Apply suggestions from code review Co-authored-by: Chris Lalancette * add commas to review change Signed-off-by: maryaB-osr Co-authored-by: Chris Lalancette --- source/_templates/page.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_templates/page.html b/source/_templates/page.html index 8f089fe38c3..15e9c15d5cd 100644 --- a/source/_templates/page.html +++ b/source/_templates/page.html @@ -4,11 +4,11 @@

{% if current_version.name|string() == 'eloquent' %} - You're reading a version of this documentation that is no longer kept up-to-date, as the distribution has reached its EOL (end-of-life). + You're reading the documentation for a version of ROS 2 that has reached its EOL (end-of-life), and is no longer officially supported. If you want up-to-date information, please have a look at {{latest_version.name | title }}. {% elif current_version.is_released %} - You're reading an old version of this documentation. - If you want up-to-date information, please have a look at {{latest_version.name | title }}. + You're reading the documentation for an older, but still supported, version of ROS 2. + For information on the latest version, please have a look at {{latest_version.name | title }}. {% else %} You're reading the documentation for a development version. For the latest released version, please have a look at {{latest_version.name | title }}.