changelog, linting

This commit is contained in:
fewieden
2018-02-17 10:17:59 +01:00
parent f414707f11
commit 1f873b93f6
2 changed files with 7 additions and 3 deletions

View File

@@ -59,8 +59,8 @@ Module.register("updatenotification", {
message.appendChild(icon);
var subtextHtml = this.translate("UPDATE_INFO", {
COMMIT_COUNT: this.status.behind + " " + ((this.status.behind == 1) ? "commit" : "commits"),
BRANCH_NAME: this.status.current
COMMIT_COUNT: this.status.behind + " " + ((this.status.behind == 1) ? "commit" : "commits"),
BRANCH_NAME: this.status.current
});
var text = document.createElement("span");
@@ -69,7 +69,7 @@ Module.register("updatenotification", {
subtextHtml = this.diffLink(subtextHtml);
} else {
text.innerHTML = this.translate("UPDATE_NOTIFICATION_MODULE", {
MODULE_NAME: this.status.module
MODULE_NAME: this.status.module
});
}
message.appendChild(text);