summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/templates/bookmarks.tpl.php6
-rw-r--r--www/scuttle.css3
2 files changed, 9 insertions, 0 deletions
diff --git a/data/templates/bookmarks.tpl.php b/data/templates/bookmarks.tpl.php
index d0b5dff..b349ab7 100644
--- a/data/templates/bookmarks.tpl.php
+++ b/data/templates/bookmarks.tpl.php
@@ -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';
diff --git a/www/scuttle.css b/www/scuttle.css
index 32fc980..5cb821e 100644
--- a/www/scuttle.css
+++ b/www/scuttle.css
@@ -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;*/