1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:25:59 +00:00

remove some bitmaps and rework stuff using it to use iconfont instead

This commit is contained in:
Andrew Dolgov
2018-12-06 15:22:52 +03:00
parent 7609ccb16d
commit 0b8cbc9156
36 changed files with 29 additions and 33 deletions

View File

@@ -264,12 +264,10 @@ define(["dojo/_base/declare"], function (declare) {
}
if (k == "update_result") {
const updatesIcon = dijit.byId("updatesIcon").domNode;
if (v) {
Element.show(updatesIcon);
Element.show("updates-available");
} else {
Element.hide(updatesIcon);
Element.hide("updates-available");
}
}

View File

@@ -199,9 +199,8 @@ const Notify = {
else
msgfmt = "<i class='material-icons icon-notify'>%s</i>".replace("%s", icon) + msgfmt;
msgfmt += ("<i class='material-icons icon-close' title=\"" +
__("Click to close") + "\" onclick=\"Notify.close()\">close</i>")
.replace("%s", App.getInitParam("icon_cross"));
msgfmt += "<i class='material-icons icon-close' title=\"" +
__("Click to close") + "\" onclick=\"Notify.close()\">close</i>";
notify.innerHTML = msgfmt;
notify.addClassName("visible");