From 4484a7e5f9b3e12dee74c7429858c09ec70986dd Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Thu, 3 Feb 2011 22:19:34 -0500 Subject: added line separating answers - in the css, small fix in a management command fix_question_tags and reduced min width in the post user info --- askbot/management/commands/fix_question_tags.py | 3 ++- askbot/skins/default/media/style/style.css | 12 +++++++++--- askbot/skins/default/templates/question.html | 9 +++------ 3 files changed, 14 insertions(+), 10 deletions(-) diff --git a/askbot/management/commands/fix_question_tags.py b/askbot/management/commands/fix_question_tags.py index d036cfe6..fd2ac305 100644 --- a/askbot/management/commands/fix_question_tags.py +++ b/askbot/management/commands/fix_question_tags.py @@ -24,7 +24,8 @@ class Command(NoArgsCommand): dupes = models.Tag.objects.filter(name__iexact = name) first_tag = dupes[0] if dupes.count() > 1: - line = 'Found duplicate tags for %s:' % first_tag.name + line 'Found duplicate tags for %s: ' % first_tag.name + print line, for idx in xrange(1, dupes.count()): print dupes[idx].name + ' ', dupes[idx].delete() diff --git a/askbot/skins/default/media/style/style.css b/askbot/skins/default/media/style/style.css index dc41c897..5e5f8c27 100755 --- a/askbot/skins/default/media/style/style.css +++ b/askbot/skins/default/media/style/style.css @@ -444,6 +444,10 @@ blockquote { border-spacing: 0px; } +.answer-table { + border-bottom: 1px solid #bbb; +} + .evenMore { font-size: 14px; font-weight: 800; @@ -1747,8 +1751,6 @@ ul.form-horizontal-rows li input { } .post-controls, .post-tags { - clear: left; - float: left; font-size: 11px; line-height: 12px; min-width: 200px; @@ -1756,6 +1758,10 @@ ul.form-horizontal-rows li input { margin-bottom: 5px; } +.post-controls { + float: left; +} + .post-tags { margin-bottom:8px; } @@ -1770,7 +1776,7 @@ ul.form-horizontal-rows li input { .post-update-info-container { float: right; - min-width: 190px; + min-width: 85px; } .post-update-info { diff --git a/askbot/skins/default/templates/question.html b/askbot/skins/default/templates/question.html index 21b220c3..927e2888 100644 --- a/askbot/skins/default/templates/question.html +++ b/askbot/skins/default/templates/question.html @@ -74,10 +74,9 @@ -
-
- {{question.html}} -
+
+ {{question.html}} +
{% spaceless %}
{{ @@ -161,7 +159,6 @@
{% endif %} {% if answers %} -

{% trans counter=answers|length %} -- cgit v1.2.3-1-g7c22