]> git.wh0rd.org - tt-rss.git/commitdiff
slightly better article note display in CDM
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 12:23:33 +0000 (16:23 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 28 Feb 2013 12:23:33 +0000 (16:23 +0400)
cdm.css
classes/feeds.php

diff --git a/cdm.css b/cdm.css
index 0e9b0468e359715bce7ad482d42f89aaa0fb7d91..78d919aea7342e27531b9bf19e50a7f6f82d0037 100644 (file)
--- a/cdm.css
+++ b/cdm.css
@@ -96,3 +96,7 @@ div.cdmFeedTitle {
        background-repeat : repeat-x;
 }
 
+div.articleNote {
+       border-style : dashed none dashed none;
+}
+
index 2cef8f7506e64d72bec59a5b356e364fe862c511..b57f66a6fdb0c340f567c0dc5e4770237aefffd2 100644 (file)
@@ -581,6 +581,13 @@ class Feeds extends Handler_Protected {
                                                onclick=\"return cdmClicked(event, $id);\"
                                                id=\"CICD-$id\">";
 
+                                       $reply['content'] .= "<div id=\"POSTNOTE-$id\">";
+                                       if ($line['note']) {
+                                               $reply['content'] .= format_article_note($id, $line['note']);
+                                       }
+                                       $reply['content'] .= "</div>";
+
+
                                        $reply['content'] .= "<div class=\"cdmContentInner\">";
 
                        if ($line["orig_feed_id"]) {
@@ -616,12 +623,6 @@ class Feeds extends Handler_Protected {
                                                $line["content_preview"] =& $line["cached_content"];
                                        }
 
-                                       $reply['content'] .= "<div id=\"POSTNOTE-$id\">";
-                                       if ($line['note']) {
-                                               $reply['content'] .= format_article_note($id, $line['note']);
-                                       }
-                                       $reply['content'] .= "</div>";
-
                                        $reply['content'] .= "<span id=\"CWRAP-$id\">";
                                        $reply['content'] .= $line["content"];
                                        $reply['content'] .= "</span>";