This is an automated email from the ASF dual-hosted git repository.
adityasharma pushed a commit to branch release18.12
in repository
https://gitbox.apache.org/repos/asf/ofbiz-plugins.gitThe following commit(s) were added to refs/heads/release18.12 by this push:
new 2b3252c Improved: Breadcrumbs should be shown on all the pages of eCommerce application (OFBIZ-2584) Right now in OOTB eCommerce application breadcrumbs are only shown for catalog pages. It should be available on other pages too.
2b3252c is described below
commit 2b3252cf37a48e4b80edcc17fc203511268be5c1
Author: Aditya Sharma <
[hidden email]>
AuthorDate: Tue Jun 2 19:20:59 2020 +0530
Improved: Breadcrumbs should be shown on all the pages of eCommerce application
(OFBIZ-2584)
Right now in OOTB eCommerce application breadcrumbs are only shown for catalog pages. It should be available on other pages too.
Added breadcrumb for ContactUs and Anonymous ContactUs page
Thanks Pranay Pandey for reporting the issue and Aishwary Shrivastava for providing the patch
---
ecommerce/template/customer/AnonContactus.ftl | 4 ++++
ecommerce/template/customer/NewMsg.ftl | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/ecommerce/template/customer/AnonContactus.ftl b/ecommerce/template/customer/AnonContactus.ftl
index 63b0b3e..b22065a 100644
--- a/ecommerce/template/customer/AnonContactus.ftl
+++ b/ecommerce/template/customer/AnonContactus.ftl
@@ -17,6 +17,10 @@ specific language governing permissions and limitations
under the License.
-->
+<div class="breadcrumbs">
+ <a href="<@ofbizUrl>main</@ofbizUrl>" class="linktext">${uiLabelMap.CommonMain}</a> >
+ ${uiLabelMap.CommonContactUs}
+</div>
<div class="card m-3">
<div class="card-header">
<strong>${uiLabelMap.CommonContactUs}</strong>
diff --git a/ecommerce/template/customer/NewMsg.ftl b/ecommerce/template/customer/NewMsg.ftl
index bc1f202..c2efca0 100644
--- a/ecommerce/template/customer/NewMsg.ftl
+++ b/ecommerce/template/customer/NewMsg.ftl
@@ -17,6 +17,10 @@ specific language governing permissions and limitations
under the License.
-->
+<div class="breadcrumbs">
+ <a href="<@ofbizUrl>main</@ofbizUrl>" class="linktext">${uiLabelMap.CommonMain}</a> >
+ ${uiLabelMap.CommonContactUs}
+</div>
<div class="card m-3">
<div class="card-header">
<div class="boxlink">