From 5363a10f8a9109b7301b121b0e542e23e85cae58 Mon Sep 17 00:00:00 2001 From: Eric Sauvageau Date: Thu, 15 Apr 2021 23:17:27 -0400 Subject: [PATCH] webui: display both odmpid and productid on Sysinfo page if they differ --- release/src/router/www/Tools_Sysinfo.asp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/release/src/router/www/Tools_Sysinfo.asp b/release/src/router/www/Tools_Sysinfo.asp index 3ac458be098..db13943cbee 100644 --- a/release/src/router/www/Tools_Sysinfo.asp +++ b/release/src/router/www/Tools_Sysinfo.asp @@ -68,8 +68,11 @@ function initial(){ showbootTime(); - if (odmpid != "") - document.getElementById("model_id").innerHTML = odmpid; + if (odmpid != "") { + document.getElementById("model_id").innerHTML = "" + odmpid + ""; + if (odmpid != based_modelid) + document.getElementById("model_id").innerHTML += " (base model: " + based_modelid + ")"; + } else document.getElementById("model_id").innerHTML = productid;