Skip to content

Commit

Permalink
webui: display both odmpid and productid on Sysinfo page if they differ
Browse files Browse the repository at this point in the history
  • Loading branch information
RMerl committed Apr 16, 2021
1 parent 5d967b3 commit 5363a10
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions release/src/router/www/Tools_Sysinfo.asp
Expand Up @@ -68,8 +68,11 @@ function initial(){
showbootTime();
if (odmpid != "")
document.getElementById("model_id").innerHTML = odmpid;
if (odmpid != "") {
document.getElementById("model_id").innerHTML = "<span>" + odmpid + "</span>";
if (odmpid != based_modelid)
document.getElementById("model_id").innerHTML += " (base model: <span>" + based_modelid + "</span>)";
}
else
document.getElementById("model_id").innerHTML = productid;
Expand Down

0 comments on commit 5363a10

Please sign in to comment.