]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Hide context entries in threaded lists; it's redundant (and if there's more than...
authorBrion Vibber <brion@pobox.com>
Tue, 1 Mar 2011 21:30:38 +0000 (13:30 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 1 Mar 2011 21:30:38 +0000 (13:30 -0800)
Also hides them via CSS for new ajax additions

lib/threadednoticelist.php
theme/base/css/display.css

index a3e5f62a590bd5d44f8490d90c0b84d1bc898c1b..1298f179f9f724dd3c538edbfa17f599a82c4deb 100644 (file)
@@ -147,6 +147,11 @@ class ThreadedNoticeListItem extends NoticeListItem
 {
     const INITIAL_ITEMS = 3;
 
+    function showContext()
+    {
+        // Silence!
+    }
+
     /**
      * finish the notice
      *
@@ -211,6 +216,11 @@ class ThreadedNoticeListSubItem extends NoticeListItem
     {
         //
     }
+
+    function showContext()
+    {
+        //
+    }
 }
 
 /**
index 98345a07261b8e7ee7b9d12efb2c3865174e6532..456d7be4b08786e106e2efbb49185c24cef103dc 100644 (file)
@@ -1136,6 +1136,11 @@ border-top-style:solid;
 .threaded-notices .notice-reply-comments {
     margin: 8px;
 }
+.threaded-notices .response,
+.threaded-notices .source {
+    /* Hide these for ajax/realtime sourced notices */
+    display: none;
+}
 /* NOTICES */
 #notices_primary {
 float:left;