aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-05 20:23:55 +0000
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-11-05 20:23:55 +0000
commit1077d6b24456603cd3d1c0c6d2ec5ca801d64191 (patch)
treeb5cd7b733a4e28708ec8427c2fa4bc422d26eebb
parent5976acf7d1a883cd8ae00a46dbc8ba8346f4ad4a (diff)
downloadsemanticscuttle-1077d6b24456603cd3d1c0c6d2ec5ca801d64191.tar.gz
semanticscuttle-1077d6b24456603cd3d1c0c6d2ec5ca801d64191.tar.bz2
mark bookmarks with votes < threshold with red dotted border
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@526 b3834d28-1941-0410-a4f8-b48e95affb8f
-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;*/