Check for module updates

This commit is contained in:
Chris van Marle
2016-11-16 18:19:44 +01:00
parent 6d6bf2df3a
commit 7329515a4d
4 changed files with 32 additions and 7 deletions

View File

@@ -49,7 +49,11 @@ Module.register("updatenotification", {
message.appendChild(icon);
var text = document.createElement("span");
text.innerHTML = this.translate("UPDATE_NOTIFICATION");
if (this.status.module == "default") {
text.innerHTML = this.translate("UPDATE_NOTIFICATION");
} else {
text.innerHTML = this.translate("UPDATE_NOTIFICATION_MODULE").replace("MODULE_NAME", this.status.module);
}
message.appendChild(text);
wrapper.appendChild(message);