mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 01:25:56 +00:00
render feed icon markup on the client
This commit is contained in:
@@ -633,4 +633,9 @@ const Feeds = {
|
||||
//
|
||||
});
|
||||
},
|
||||
renderIcon: function(feed_id, exists) {
|
||||
return feed_id && exists ?
|
||||
`<img class="icon" src="${App.escapeHtml(App.getInitParam("icons_url"))}/${feed_id}.ico">` :
|
||||
`<i class='icon-no-feed material-icons'>rss_feed</i>`;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user