Mark private comments using a red border.
authorMatthijs Kooijman <matthijs@stdin.nl>
Wed, 29 Oct 2008 10:25:55 +0000 (11:25 +0100)
committerMatthijs Kooijman <matthijs@stdin.nl>
Wed, 29 Oct 2008 10:25:55 +0000 (11:25 +0100)
static/base/css/base.css
templates/influences/influence_detail_block.html

index 3997d24d43cabc23ad37ac4476480eb95cb17855..6b35c1b6ab316fd8bc81c2fca7aa949e67b73e14 100644 (file)
@@ -16,3 +16,7 @@ table {
        border: solid white 2px;
        margin-top: 2px;
 }
+
+.comment.private {
+    border-color: red;
+}
index 7dc3cf02ce25b859fe5a385ce338d958b7ff014b..ea6603d986bfc873da3a3d41134c9591521401e6 100644 (file)
@@ -25,7 +25,7 @@
 <h2>{% trans "Comments" %}</h2>
 {% if comments %}
     {% for comment in comments %}
-        <div style="margin-left: {{ comment.depth }}em;" class="comment">
+        <div style="margin-left: {{ comment.depth }}em;" class="comment{% if not comment.is_public %} private{% endif %}">
             {{ comment.user }} said:<br/>
             {% auto_transform_markup comment %}
                        <p style="display:none;" id="replyLink{{comment.id}}">