From 5ad05f6d4398e196c581f00b6ad38aef5d8da7f9 Mon Sep 17 00:00:00 2001 From: JR Houn Date: Wed, 16 Feb 2022 08:42:29 -0800 Subject: [PATCH] LRDOCS-10115 Formatting --- site/docs/_template/search.html | 12 ++++++------ site/homepage/_template/index.html | 2 +- site/homepage/_template/search.html | 24 ++++++++++++------------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/site/docs/_template/search.html b/site/docs/_template/search.html index d098a5bc3f..a6b5fa312e 100644 --- a/site/docs/_template/search.html +++ b/site/docs/_template/search.html @@ -208,6 +208,10 @@

name: 'commerce', pathname: '/commerce/latest/en/search.html' }, + { + name: 'courses', + pathname: '/courses/latest/en/search.html' + }, { name: 'dxp', pathname: '/dxp/latest/en/search.html' @@ -216,10 +220,6 @@

name: 'dxp-cloud', pathname: '/dxp-cloud/latest/en/search.html' }, - { - name: 'courses', - pathname: '/courses/latest/en/search.html' - }, { name: 'reference', pathname: '/reference/latest/en/search.html' @@ -232,10 +232,10 @@

currentDocProduct = 'analytics-cloud'; } else if (pathname.includes('commerce')) { currentDocProduct = 'commerce' - } else if (pathname.includes('dxp-cloud')) { - currentDocProduct = 'dxp-cloud' } else if (pathname.includes('courses')) { currentDocProduct = 'courses' + } else if (pathname.includes('dxp-cloud')) { + currentDocProduct = 'dxp-cloud' } else if (pathname.includes('reference')) { currentDocProduct = 'reference' } diff --git a/site/homepage/_template/index.html b/site/homepage/_template/index.html index a835c07263..543e6657a2 100644 --- a/site/homepage/_template/index.html +++ b/site/homepage/_template/index.html @@ -74,9 +74,9 @@

{{ _('Welcome to Liferay Docs') }}

diff --git a/site/homepage/_template/search.html b/site/homepage/_template/search.html index d098a5bc3f..714375e009 100644 --- a/site/homepage/_template/search.html +++ b/site/homepage/_template/search.html @@ -96,10 +96,10 @@

{% trans %}Product{% endtrans %}

class="custom-control-input" name="productName" type="radio" - value="dxp" + value="courses" /> - {% trans %}DXP / Portal{% endtrans %} + {% trans %}Courses{% endtrans %} @@ -110,10 +110,10 @@

{% trans %}Product{% endtrans %}

class="custom-control-input" name="productName" type="radio" - value="dxp-cloud" + value="dxp" /> - {% trans %}DXP Cloud{% endtrans %} + {% trans %}DXP / Portal{% endtrans %} @@ -124,10 +124,10 @@

{% trans %}Product{% endtrans %}

class="custom-control-input" name="productName" type="radio" - value="courses" + value="dxp-cloud" /> - {% trans %}Courses{% endtrans %} + {% trans %}DXP Cloud{% endtrans %} @@ -208,6 +208,10 @@

name: 'commerce', pathname: '/commerce/latest/en/search.html' }, + { + name: 'courses', + pathname: '/courses/latest/en/search.html' + }, { name: 'dxp', pathname: '/dxp/latest/en/search.html' @@ -216,10 +220,6 @@

name: 'dxp-cloud', pathname: '/dxp-cloud/latest/en/search.html' }, - { - name: 'courses', - pathname: '/courses/latest/en/search.html' - }, { name: 'reference', pathname: '/reference/latest/en/search.html' @@ -232,10 +232,10 @@

currentDocProduct = 'analytics-cloud'; } else if (pathname.includes('commerce')) { currentDocProduct = 'commerce' - } else if (pathname.includes('dxp-cloud')) { - currentDocProduct = 'dxp-cloud' } else if (pathname.includes('courses')) { currentDocProduct = 'courses' + } else if (pathname.includes('dxp-cloud')) { + currentDocProduct = 'dxp-cloud' } else if (pathname.includes('reference')) { currentDocProduct = 'reference' }