From c4e5bfdabb44fd0371724d3d9afa65c934c11cb2 Mon Sep 17 00:00:00 2001 From: Nicolae Buta Date: Mon, 22 May 2023 18:25:58 +0300 Subject: [PATCH] added language Romanian and dosplay u/notpdates button ? --- src/main/resources/templates/fragments/navbar.html | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/fragments/navbar.html b/src/main/resources/templates/fragments/navbar.html index e5128121..e4c14caa 100644 --- a/src/main/resources/templates/fragments/navbar.html +++ b/src/main/resources/templates/fragments/navbar.html @@ -63,10 +63,10 @@ function compareVersions(version1, version2) { console.log("currentVersion=" + currentVersion) console.log("compareVersions(latestVersion, currentVersion) > 0)=" + compareVersions(latestVersion, currentVersion)) if (latestVersion != null && latestVersion != "" && compareVersions(latestVersion, currentVersion) > 0) { - document.getElementById("update-btn").style.visibility = "visible"; + document.getElementById("update-btn").style.display = "block"; console.log("visible") } else { - document.getElementById("update-btn").style.visibility = "hidden"; + document.getElementById("update-btn").style.display = "none"; console.log("hidden") } } @@ -273,6 +273,9 @@ function compareVersions(version1, version2) { icon Polski + + icon Romanian + icon Svenska