From 9203127da10dde67d4629508a33a5c775a0f5675 Mon Sep 17 00:00:00 2001 From: eric Date: Fri, 25 May 2012 14:51:46 -0400 Subject: [PATCH] comments by campaign managers get a blue box around them [#28494261] --- frontend/templates/comments.html | 2 +- frontend/templates/comments/list.html | 7 ++++--- static/css/campaign.css | 4 ++++ static/css/comments.css | 4 ++++ 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/frontend/templates/comments.html b/frontend/templates/comments.html index 7a38dfe6..6686e60e 100644 --- a/frontend/templates/comments.html +++ b/frontend/templates/comments.html @@ -58,7 +58,7 @@ comments rss? {% for comment in latest_comments %} {% with comment.content_object.id as id %} {% with comment.user as user %} -
+
cover image diff --git a/frontend/templates/comments/list.html b/frontend/templates/comments/list.html index 086a02c4..b550f33b 100644 --- a/frontend/templates/comments/list.html +++ b/frontend/templates/comments/list.html @@ -1,6 +1,7 @@
- {% for comment in comment_list %} -
+ {% for comment in comment_list reversed %} + +
{% if comment.user.profile.pic_url %} @@ -10,6 +11,6 @@ {% endif %}
{{comment.user.username }}
({{ comment.submit_date }})
{{ comment.comment|linebreaksbr }}
-
+
{% endfor %}
diff --git a/static/css/campaign.css b/static/css/campaign.css index 70c13fb2..aa45a2e3 100755 --- a/static/css/campaign.css +++ b/static/css/campaign.css @@ -458,6 +458,10 @@ div#content-block-content #tabs-1 img { vertical-align: middle; margin-left: -5px; } +.official { + border: 3px #B8DDE0 solid; + margin: 3px auto; +} .editions { clear: both; } diff --git a/static/css/comments.css b/static/css/comments.css index a7d02fd6..143bcc3d 100644 --- a/static/css/comments.css +++ b/static/css/comments.css @@ -47,3 +47,7 @@ margin: 0 auto; padding-top: 5px; } +.official { + border: 3px #B8DDE0 solid; + margin: 3px auto; +} \ No newline at end of file