Mercurial > public > sg101
changeset 154:82deb8cc59e9
Fix #26; IE8 has problems displaying lists of divs.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 19 Dec 2009 20:12:29 +0000 |
parents | 13d052fbe4f1 |
children | ef93dc9f1992 |
files | gpp/templates/comments/comment.html gpp/templates/comments/comment_list.html gpp/templates/comments/markdown.html media/css/comments.css |
diffstat | 4 files changed, 4 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/gpp/templates/comments/comment.html Sat Dec 19 19:34:16 2009 +0000 +++ b/gpp/templates/comments/comment.html Sat Dec 19 20:12:29 2009 +0000 @@ -1,8 +1,8 @@ {% load avatar_tags %} {% load markup %} {% load smiley_tags %} -<li> <div class="comment" id="c{{ comment.id }}"> +<div class="comment-list">{{ forloop.counter }}.</div> <div class="comment-avatar"> <a href="{% url bio-view_profile username=comment.user.username%}">{% avatar comment.user %}</a> </div> @@ -22,4 +22,3 @@ {% endif %} </div> </div> -</li>
--- a/gpp/templates/comments/comment_list.html Sat Dec 19 19:34:16 2009 +0000 +++ b/gpp/templates/comments/comment_list.html Sat Dec 19 20:12:29 2009 +0000 @@ -1,5 +1,3 @@ -<ol id="comment-list"> {% for comment in comments %} {% include 'comments/comment.html' %} {% endfor %} -</ol>