]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
mark bookmarks with votes < threshold with red dotted border
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 5 Nov 2009 20:23:55 +0000 (20:23 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Thu, 5 Nov 2009 20:23:55 +0000 (20:23 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@526 b3834d28-1941-0410-a4f8-b48e95affb8f

data/templates/bookmarks.tpl.php
www/scuttle.css

index d0b5dff082efb443d4aca6fb725f70a83e026694..b349ab7f369c45f024e9b6a2863f8f381dfcaae0 100644 (file)
@@ -319,6 +319,12 @@ if($currenttag!= '') {
                        $privateNoteField = '';
                }
 
+        if ($GLOBALS['enableVoting'] && $GLOBALS['hideBelowVoting'] !== null
+            && $row['bVoting'] < $GLOBALS['hideBelowVoting']
+        ) {
+            $access .= ' below-threshold';
+        }
+
                // Output
                echo '<li class="xfolkentry'. $access .'" >'."\n";
         include 'bookmarks-thumbnail.inc.tpl.php';
index 32fc980d642ea9a32b6be8d9e36769b9f351bd51..5cb821e480d0a6fb716a4904178485045ab67996 100644 (file)
@@ -239,6 +239,9 @@ li.xfolkentry.private {
 li.xfolkentry.shared {
     border-left: 3px solid #FA0;
 }
+li.below-threshold > div {
+    border-right: 5px dotted #F00;
+}
 
 li.xfolkentry div div.description span.anchorBookmark {
     /*font-family:monospace;*/