mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-23 07:51:29 +00:00
add tooltip with all article tags
This commit is contained in:
@@ -4771,7 +4771,11 @@
|
||||
$rv['content'] .= "<div clear='both'>" . $line["title"] . "$entry_author</div>";
|
||||
}
|
||||
|
||||
$tags_str = format_tags_string(get_article_tags($link, $id), $id);
|
||||
$tags = get_article_tags($link, $id);
|
||||
$tags_str = format_tags_string($tags, $id);
|
||||
$tags_str_full = join(", ", $tags);
|
||||
|
||||
if (!$tags_str_full) $tags_str_full = __("no tags");
|
||||
|
||||
if (!$entry_comments) $entry_comments = " "; # placeholder
|
||||
|
||||
@@ -4784,6 +4788,10 @@
|
||||
<a title=\"".__('Edit tags for this article')."\"
|
||||
href=\"#\" onclick=\"editArticleTags($id, $feed_id)\">(+)</a>";
|
||||
|
||||
$rv['content'] .= "<div dojoType=\"dijit.Tooltip\"
|
||||
id=\"ATSTRTIP-$id\" connectId=\"ATSTR-$id\"
|
||||
position=\"below\">$tags_str_full</div>";
|
||||
|
||||
$rv['content'] .= "<img src=\"".theme_image($link, 'images/art-zoom.png')."\"
|
||||
class='tagsPic' style=\"cursor : pointer\"
|
||||
onclick=\"postOpenInNewTab(event, $id)\"
|
||||
|
||||
Reference in New Issue
Block a user