1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 06:45:54 +00:00

render headline labels on the client

This commit is contained in:
Andrew Dolgov
2021-02-19 15:03:48 +03:00
parent 660a1bbe01
commit 131f34648d
4 changed files with 20 additions and 18 deletions

View File

@@ -216,11 +216,7 @@ class Feeds extends Handler_Protected {
if (!is_array($labels)) $labels = Article::_get_labels($id);
$labels_str = "<span class=\"HLLCTR-$id\">";
$labels_str .= Article::_format_labels_html($labels);
$labels_str .= "</span>";
$line["labels"] = $labels_str;
$line["labels"] = Article::_get_labels($id);
if (count($topmost_article_ids) < 3) {
array_push($topmost_article_ids, $id);