mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
bring back excerpts in unexpanded mode
This commit is contained in:
@@ -536,9 +536,13 @@ class Feeds extends Handler_Protected {
|
||||
|
||||
$tmp_content .= $labels_str;
|
||||
|
||||
$tmp_content .= "<span class='collapse'>
|
||||
<img src=\"images/collapse.png\" onclick=\"return Article.cdmCollapseActive(event)\"
|
||||
title=\"".__("Collapse article")."\"/></span>";
|
||||
if (!get_pref("CDM_EXPANDED")) {
|
||||
$tmp_content .= "<span class='collapse'>
|
||||
<img src=\"images/collapse.png\" onclick=\"return Article.cdmUnsetActive(event)\"
|
||||
title=\"" . __("Collapse article") . "\"/></span>";
|
||||
|
||||
$tmp_content .= "<span class='excerpt'>" . $line["content_preview"] . "</span>";
|
||||
}
|
||||
|
||||
$tmp_content .= "</span>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user