mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-01-03 16:49:14 +00:00
wip: flavor icon caching
This commit is contained in:
@@ -228,6 +228,17 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$this->_mark_timestamp(" labels");
|
||||
|
||||
if ($line["tag_cache"])
|
||||
$tags = explode(",", $line["tag_cache"]);
|
||||
else
|
||||
$tags = [];
|
||||
|
||||
$line["tags"] = $tags;
|
||||
|
||||
//$line["tags"] = Article::_get_tags($line["id"], false, $line["tag_cache"]);
|
||||
|
||||
$this->_mark_timestamp(" tags");
|
||||
|
||||
$line["feed_title"] = $line["feed_title"] ?? "";
|
||||
|
||||
$line["buttons_left"] = "";
|
||||
@@ -282,17 +293,6 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$this->_mark_timestamp(" local-datetime");
|
||||
|
||||
if ($line["tag_cache"])
|
||||
$tags = explode(",", $line["tag_cache"]);
|
||||
else
|
||||
$tags = [];
|
||||
|
||||
$line["tags"] = $tags;
|
||||
|
||||
//$line["tags"] = Article::_get_tags($line["id"], false, $line["tag_cache"]);
|
||||
|
||||
$this->_mark_timestamp(" tags");
|
||||
|
||||
$line['has_icon'] = self::_has_icon($feed_id);
|
||||
|
||||
//setting feed headline background color, needs to change text color based on dark/light
|
||||
|
||||
Reference in New Issue
Block a user