diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-02-03 22:19:34 -0500 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2011-02-03 22:21:47 -0500 |
commit | 4484a7e5f9b3e12dee74c7429858c09ec70986dd (patch) | |
tree | 681c7f489f7cab182c42966f16a70258197a50e5 | |
parent | 4945cf73d8381ccb8523d6d040f57137d8a779c5 (diff) | |
download | askbot-4484a7e5f9b3e12dee74c7429858c09ec70986dd.tar.gz askbot-4484a7e5f9b3e12dee74c7429858c09ec70986dd.tar.bz2 askbot-4484a7e5f9b3e12dee74c7429858c09ec70986dd.zip |
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
-rw-r--r-- | askbot/management/commands/fix_question_tags.py | 3 | ||||
-rwxr-xr-x | askbot/skins/default/media/style/style.css | 12 | ||||
-rw-r--r-- | 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 @@ </div> </td> <td> - <div id="item-right"> - <div class="question-body"> - {{question.html}} - </div> + <div class="question-body"> + {{question.html}} + </div> {% spaceless %} <div id="question-tags" class="post-tags tags"> {% for tag in question.get_tag_names() %} @@ -119,7 +118,6 @@ {% if request.user|can_delete_post(question) %}{{ pipe() }} <a id="question-delete-link-{{question.id}}">{% if question.deleted %}{% trans %}undelete{% endtrans %}{% else %}{% trans %}delete{% endtrans %}{% endif %}</a> {% endif %} - </div> </div> <div class="post-update-info-container"> {{ @@ -161,7 +159,6 @@ </div> {% endif %} {% if answers %} - <hr/> <div class="tabBar"> <h2 id="sort-top"> {% trans counter=answers|length %} |