Merged from default branch burchik
authorYuri Baburov <burchik@gmail.com>
Thu Apr 10 03:58:58 2008 +0700 (4 years ago)
branchburchik
changeset 713f7dd4e7d49d3
parent 712 d0b754ebb49e
parent 702 a5d9bd53b1b5
child 714 00189bd20b6a
Merged from default branch
settings.py
static/buriy/css/default_left.css
static/buriy/css/default_right.css
templates/lib/debug.html
themes/buriy/base.html
themes/buriy/blog/post_detail.html
     1.1 --- a/apps/textblocks/templatetags/text_block.py	Thu Apr 10 03:49:53 2008 +0700
     1.2 +++ b/apps/textblocks/templatetags/text_block.py	Thu Apr 10 03:58:58 2008 +0700
     1.3 @@ -9,6 +9,6 @@
     1.4  @register.inclusion_tag('templatetags/text_block.html')
     1.5  def text_block(code):
     1.6      try:    
     1.7 -        return {'text_block': TextBlock.objects.get(code=code) }
     1.8 -    except TextBlock.DoesNotExist:
     1.9 +        return {'text_block': TextBlock.objects.get(code=code) }
    1.10 +    except TextBlock.DoesNotExist:
    1.11          return {'text_block': {'html': ''}}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/themes/buriy_blog/base.html	Thu Apr 10 03:58:58 2008 +0700
     2.3 @@ -0,0 +1,147 @@
     2.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
     2.5 +
     2.6 +<html lang="en">
     2.7 +<head>
     2.8 +
     2.9 +<meta http-equiv="content-language" content="ru,en-us"/>
    2.10 +<meta name="generator" content="Buriy-blog v0.3"/>
    2.11 +<meta name="name" content="Yuri Baburov's blog"/>
    2.12 +<!--
    2.13 +<meta name="description" content="Blog about me, my life and work: python, django" />
    2.14 +<meta name="keywords" content="buriy, bur, burchik, Baburov, Yuri Baburov, Yuri Vovanych, Yuriy Baburov"/>
    2.15 +-->
    2.16 +
    2.17 +<!-- prevent caching (can be removed) -->
    2.18 +<!--<meta http-equiv="Pragma" content="no-cache"/>-->
    2.19 +<!--<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"/>-->
    2.20 +<!--<meta http-equiv="Expires" content="-1"/>-->
    2.21 +<link rel="alternate" type="application/rss+xml" title="RSS" href="http://www.buriy.com/rss/"/>
    2.22 +
    2.23 +<link rel="stylesheet" type="text/css" href="/media/default_right.css"/>
    2.24 +<link rel="stylesheet" type="text/css" href="/media/nicetitle.css"/>
    2.25 +<script type="text/javascript" src="/media/nicetitle.js"></script>
    2.26 +
    2.27 +<!-- favorite icon -->
    2.28 +<link rel="shortcut icon" href="/media/blog.gif"/>
    2.29 +<link rel="icon" href="/media/blog.gif"/>
    2.30 +
    2.31 +<title>Yuri Baburov &raquo; {% block title %} {% endblock %}</title>
    2.32 +{% block head %}
    2.33 +{% endblock %}
    2.34 +</head>
    2.35 +<body>
    2.36 +<!-- page header -->
    2.37 +<div id="header"><a name="top"></a>
    2.38 +<h1><a href="http://www.buriy.com/" accesskey="1">buriy's blog</a>
    2.39 +</h1>
    2.40 +</div>
    2.41 +
    2.42 +<!-- begin wrapper divs -->
    2.43 +<div id="mainwrapper">
    2.44 +<div id="wrapper"><!-- page content -->
    2.45 +<div id="container">
    2.46 +{% block content %}{% endblock %}
    2.47 +</div>
    2.48 +
    2.49 +<!-- page menu -->
    2.50 +<h2 class="hidden">Sidebar</h2>
    2.51 +<div id="sidebarcontainer"><!--%parsedinclude(sidebar.inc)%--> <!-- page menu -->
    2.52 +<div class="sidebar">
    2.53 +<dl class="sidebardl">
    2.54 +	<dt>Navigation</dt>
    2.55 +	<dd><a href="/" title="Today&#39;s entry">Today</a></dd>
    2.56 +	<dd><a href="/2007/" title="Archives 2007">Archives 2007</a></dd>
    2.57 +	<dd><a href="/2006/" title="Archives 2006">Archives 2006</a></dd>
    2.58 +</dl>
    2.59 +</div>
    2.60 +
    2.61 +<!-- category list, not on error or member page -->
    2.62 +<div class="sidebar">
    2.63 +<dl class="sidebardl">
    2.64 +	<dt>Categories</dt>
    2.65 +	{% for cat in categories %} 
    2.66 +	<dd>
    2.67 +		<a href="/{{cat.norm_value}}/">	{{cat.value}} </a> 
    2.68 +	</dd>
    2.69 +	{% endfor %}
    2.70 +</dl>
    2.71 +</div>
    2.72 +
    2.73 +<!-- search form --> <!-- 
    2.74 +<div class="sidebar">
    2.75 +<dl class="sidebardl">
    2.76 +<dt>Search</dt>
    2.77 +<dd><%searchform%></dd>
    2.78 +</dl>
    2.79 +</div>
    2.80 +--> <!-- login form --> <!--
    2.81 +<div class="sidebar">
    2.82 +<dl class="sidebardl">
    2.83 +<dt>Login</dt>
    2.84 +<dd><%loginform%></dd>
    2.85 +</dl>
    2.86 +</div>
    2.87 +--> <!-- links -->
    2.88 +<div class="sidebar">
    2.89 +    <dl class="sidebardl">
    2.90 +    	<dt>Links</dt>
    2.91 +    	<dd><a rel="nofollow" href="http://buriy.moikrug.ru/"><img
    2.92 +    		style="width: 16px; height: 16px; border:0; vertical-align: middle; margin-right: 3px;"
    2.93 +    		src="/media/moikrug.gif" alt="MoiKrug - Бабуров Юрий"
    2.94 +    		title="MoiKrug - Бабуров Юрий"/></a><a rel="nofollow" 
    2.95 +    		href="http://buriy.moikrug.ru/"
    2.96 +    		title="MoiKrug - Бабуров Юрий"/>Бабуров Юрий</a></dd>
    2.97 +    	<dd><a rel="nofollow" href="http://buriy.livejournal.com" title="My another blog">buriy.livejournal.com</a></dd>
    2.98 +    	<dd><a href="http://effele.com/" title="Effective learning">Effective learning</a></dd>
    2.99 +    </dl>
   2.100 +    <div class="sidebar">
   2.101 +        <dl class="sidebardl">
   2.102 +	    <dt>Last comments</dt>
   2.103 +	    {% for c in comments %}
   2.104 +            <dd>
   2.105 +	        <nobr>{{c.submit_date|date:"M d"}}, {{c.person_name}}</nobr>
   2.106 +	        <a title='{{c.get_content_object.pub_date|date:"M d, Y"}}: {{c.get_content_object.headline}}'
   2.107 +		href="{{c.get_content_object.get_absolute_url}}">
   2.108 +		{{c.get_content_object.headline}}</a>
   2.109 +	    </dd>
   2.110 +    	    {% endfor %}
   2.111 +        </dl>
   2.112 +    </div>
   2.113 +<!-- <dl class="sidebardl">
   2.114 +    	<dt>My top weekly tracks</dt>
   2.115 +	<div align="center">
   2.116 +	<a href="http://www.last.fm/user/buriy/?chartstyle=buriy-weekly-top"><img src="http://imagegen.last.fm/buriy-weekly-top/tracks/buriy.gif" border="0" /></a>
   2.117 +	</div>
   2.118 +    </dl>
   2.119 +-->
   2.120 +<!--
   2.121 +<a href="http://www.anothr.com/add?url=http%3A//www.buriy.com/">
   2.122 +<img src="http://www.anothr.com/images/addtoanothr2.jpg" border="0"
   2.123 +alt="Subscribe by Anothr(Skype/Gtalk/Msn)"/></a>
   2.124 +<span style="font-size:10px;display:block;color:DarkGray;line-height:1.2em">
   2.125 +Subscribe via Skype/Gtalk/MSN</span>-->
   2.126 +</div>
   2.127 +</div>
   2.128 +
   2.129 +<div class="clearing" style="clear:both">&nbsp;</div>
   2.130 +
   2.131 +</div>
   2.132 +</div>
   2.133 +
   2.134 +<div id="footer">
   2.135 +    <div id="copyrights"><small>Copyright 2006 (c) <b>buriy</b> and
   2.136 +    others&nbsp; | <a href="#top">Back to top</a></small></div>
   2.137 +</div>
   2.138 +
   2.139 +<script type="text/javascript">
   2.140 +var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
   2.141 +document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
   2.142 +</script>
   2.143 +<script type="text/javascript">
   2.144 +var pageTracker = _gat._getTracker("UA-3332477-1");
   2.145 +pageTracker._initData();
   2.146 +pageTracker._trackPageview();
   2.147 +</script>
   2.148 +
   2.149 +</body>
   2.150 +</html>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/themes/buriy_blog/entry_archive.html	Thu Apr 10 03:58:58 2008 +0700
     3.3 @@ -0,0 +1,66 @@
     3.4 +{% extends "blog/base.html" %}
     3.5 +{% load comments %}
     3.6 +
     3.7 +{% block title %}Last news{% endblock %}
     3.8 +{% block head %} 
     3.9 +<link rel="openid.server" href="http://www.livejournal.com/openid/server.bml" />
    3.10 +<link rel="openid.delegate" href="http://buriy.livejournal.com/" />
    3.11 +<link rel="meta" type="application/rdf+xml" title="FOAF" href="http://www.buriy.com/media/foaf.rdf" />
    3.12 +<!--<meta http-equiv="X-XRDS-Location" content="http://buriy.livejournal.com/data/yadis" />
    3.13 +<meta http-equiv="X-YADIS-Location" content="http://buriy.livejournal.com/data/yadis" />-->
    3.14 +<meta name="microid" content="1b02104d6725eb30e4025cab7dfc49efbe704bb2" />
    3.15 +{% endblock %}
    3.16 +{% block content %}
    3.17 +<div class="content">
    3.18 +    {% for object in latest %}
    3.19 +        {% get_free_comment_count for blog.entry object.id as comment_count %}
    3.20 +    
    3.21 +        <div class="contenttitle">
    3.22 +        <h2>{{ object.pub_date|date:"m/j" }}: <a
    3.23 +            nicetitle="Бабуров Юрий: {{ object.headline }}"
    3.24 +            href="{{ object.get_absolute_url }}"> {{ object.headline }}</a></h2>
    3.25 +        </div>
    3.26 +        
    3.27 +        <div class="contentitem">
    3.28 +            <div class="contentitem1">
    3.29 +            <small class="contentitemcategory">
    3.30 +                Categories: 
    3.31 +                {% for cat in object.tags.all %}
    3.32 +                <a rel="tag" nicetitle="Category: {{ cat.value }}" href="/{{ cat.norm_value }}/">
    3.33 +                    {{cat.value}}</a>{% if not forloop.last %}, {% endif %}
    3.34 +                {% endfor %}
    3.35 +            </small>
    3.36 +        </div>
    3.37 +            <div class="contentitem2">
    3.38 +                <small class="contentitempostedby">
    3.39 +                Posted by: {{ object.author }}
    3.40 +                </small>
    3.41 +            </div>
    3.42 +            <div class="contentitem3">
    3.43 +                <small class="contentitemcomments">
    3.44 +                    <a nicetitle="Add comment on '{{ object.headline }}'" href="{{ object.get_absolute_url }}#comments" rel="bookmark">
    3.45 +                    {% if comment_count %}
    3.46 +                    {{ comment_count }} comment{{ comment_count|pluralize }}
    3.47 +                    {% else %}
    3.48 +                    Add comment
    3.49 +                    {% endif %}
    3.50 +                    </a>
    3.51 +                </small>
    3.52 +            </div>
    3.53 +            {% if user.is_authenticated %}
    3.54 +            <div class="contentitem4">
    3.55 +                <small class="contentitemedit">
    3.56 +                    <a nicetitle="Edit post '{{ object.headline }}'" 
    3.57 +                    href="/admin/blog/entry/{{object.id }}" rel="bookmark">
    3.58 +                    Edit post
    3.59 +                    </a>
    3.60 +                </small>
    3.61 +            </div>
    3.62 +            {% endif %}
    3.63 +        </div>
    3.64 +        <div class="contentbody">
    3.65 +            {{ object.body|safe|linebreaks }}
    3.66 +        </div>
    3.67 +    {% endfor %}
    3.68 +</div>
    3.69 +{% endblock %}
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/themes/buriy_blog/entry_archive_day.html	Thu Apr 10 03:58:58 2008 +0700
     4.3 @@ -0,0 +1,64 @@
     4.4 +{% extends "blog/base.html" %}
     4.5 +{% load comments %}
     4.6 +{% block title %}{{ day|date:"F j" }}{% endblock %}
     4.7 +
     4.8 +{% block content %}
     4.9 +
    4.10 +<div class="content">
    4.11 +    <div class="contenttitle">
    4.12 +        <h2>{{ day|date:"F j" }} archive</h2>
    4.13 +        You are currently viewing archive for {{ day|date:"d F, Y" }} 
    4.14 +    </div>
    4.15 +</div>
    4.16 +<div class="content">
    4.17 +    {% for object in object_list %}
    4.18 +        {% get_free_comment_count for blog.entry object.id as comment_count %}
    4.19 +    
    4.20 +        <div class="contenttitle">
    4.21 +        <h2>{{ object.pub_date|date:"m/j" }}: <a
    4.22 +            nicetitle="Бабуров Юрий: {{ object.headline }}"
    4.23 +            href="{{ object.get_absolute_url }}"> {{ object.headline }}</a></h2>
    4.24 +        </div>
    4.25 +        
    4.26 +        <div class="contentitem">
    4.27 +            <div class="contentitem1">
    4.28 +                <small class="contentitemcategory">
    4.29 +                Categories: 
    4.30 +                {% for cat in object.tags.all %}{% if not forloop.first %}, {% endif %}
    4.31 +                <a rel="tag" nicetitle="Category: {{ cat.value }}" href="/{{ cat.norm_value }}/">{{cat.value}}</a>
    4.32 +                {% endfor %}
    4.33 +                </small>
    4.34 +            </div>
    4.35 +            <div class="contentitem2">
    4.36 +                <small class="contentitempostedby">
    4.37 +                Posted by: {{ object.author }}
    4.38 +                </small>
    4.39 +            </div>
    4.40 +            <div class="contentitem3">
    4.41 +                <small class="contentitemcomments">
    4.42 +                    <a nicetitle="Add comment on '{{ object.headline }}'" href="{{ object.get_absolute_url }}#comments" rel="bookmark">
    4.43 +                    {% if comment_count %}
    4.44 +                    {{ comment_count }} comment{{ comment_count|pluralize }}
    4.45 +                    {% else %}
    4.46 +                    Add comment
    4.47 +                    {% endif %}
    4.48 +                    </a>
    4.49 +                </small>
    4.50 +            </div>
    4.51 +            {% if user.is_authenticated %}
    4.52 +            <div class="contentitem4">
    4.53 +                <small class="contentitemedit">
    4.54 +                    <a nicetitle="Edit post '{{ object.headline }}'" 
    4.55 +                    href="/admin/blog/entry/{{object.id }}" rel="bookmark">
    4.56 +                    Edit post
    4.57 +                    </a>
    4.58 +                </small>
    4.59 +            </div>
    4.60 +            {% endif %}
    4.61 +        </div>
    4.62 +        <div class="contentbody">
    4.63 +            {{ object.body|safe|linebreaks }}
    4.64 +        </div>
    4.65 +    {% endfor %}
    4.66 +</div>
    4.67 +{% endblock %}
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/themes/buriy_blog/entry_archive_month.html	Thu Apr 10 03:58:58 2008 +0700
     5.3 @@ -0,0 +1,63 @@
     5.4 +{% extends "blog/base.html" %}
     5.5 +{% load comments %}
     5.6 +{% block title %}{{ month|date:"F Y" }}{% endblock %}
     5.7 +
     5.8 +{% block content %}
     5.9 +<div class="content">
    5.10 +    <div class="contenttitle">
    5.11 +        <h2>{{ month|date:"F Y" }} archive</h2>
    5.12 +        You are currently viewing archive for {{ month|date:"F Y" }} 
    5.13 +    </div>
    5.14 +</div>
    5.15 +<div class="content">
    5.16 +    {% for object in object_list %}
    5.17 +        {% get_free_comment_count for blog.entry object.id as comment_count %}
    5.18 +    
    5.19 +        <div class="contenttitle">
    5.20 +        <h2>{{ object.pub_date|date:"M/j" }}: <a
    5.21 +            nicetitle="Бабуров Юрий: {{ object.headline }}"
    5.22 +            href="{{ object.get_absolute_url }}"> {{ object.headline }}</a></h2>
    5.23 +        </div>
    5.24 +        
    5.25 +        <div class="contentitem">
    5.26 +            <div class="contentitem1">
    5.27 +                <small class="contentitemcategory">
    5.28 +                Categories: 
    5.29 +                {% for cat in object.tags.all %}{% if not forloop.first %}, {% endif %}
    5.30 +                <a rel="tag" nicetitle="Category: {{ cat.value }}" href="/{{ cat.norm_value }}/">{{cat.value}}</a>
    5.31 +                {% endfor %}
    5.32 +                </small>
    5.33 +            </div>
    5.34 +            <div class="contentitem2">
    5.35 +                <small class="contentitempostedby">
    5.36 +                Posted by: {{ object.author }}
    5.37 +                </small>
    5.38 +            </div>
    5.39 +            <div class="contentitem3">
    5.40 +                <small class="contentitemcomments">
    5.41 +                    <a nicetitle="Add comment on '{{ object.headline }}'" href="{{ object.get_absolute_url }}#comments" rel="bookmark">
    5.42 +                    {% if comment_count %}
    5.43 +                    {{ comment_count }} comment{{ comment_count|pluralize }}
    5.44 +                    {% else %}
    5.45 +                    Add comment
    5.46 +                    {% endif %}
    5.47 +                    </a>
    5.48 +                </small>
    5.49 +            </div>
    5.50 +            {% if user.is_authenticated %}
    5.51 +            <div class="contentitem4">
    5.52 +                <small class="contentitemedit">
    5.53 +                    <a nicetitle="Edit post '{{ object.headline }}'" 
    5.54 +                    href="/admin/blog/entry/{{object.id }}" rel="bookmark">
    5.55 +                    Edit post
    5.56 +                    </a>
    5.57 +                </small>
    5.58 +            </div>
    5.59 +            {% endif %}
    5.60 +        </div>
    5.61 +        <div class="contentbody">
    5.62 +            {{ object.body|safe|linebreaks }}
    5.63 +        </div>
    5.64 +    {% endfor %}
    5.65 +</div>
    5.66 +{% endblock %}
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/themes/buriy_blog/entry_archive_year.html	Thu Apr 10 03:58:58 2008 +0700
     6.3 @@ -0,0 +1,26 @@
     6.4 +{% extends "blog/base.html" %}
     6.5 +
     6.6 +{% block title %}{{ year }} archives{% endblock %}
     6.7 +
     6.8 +{% block content %}
     6.9 +<div class="content">
    6.10 +<h1>{{ year }} year archive</h1>
    6.11 +
    6.12 +{% regroup object_list by pub_date.month as grouped_list %}
    6.13 +
    6.14 +<ul class="linklist">
    6.15 +{% for group in grouped_list %}
    6.16 +    <li><h2><a href="{{ group.list.0.pub_date|date:"M"|lower }}/">
    6.17 +	{{ group.list.0.pub_date|date:"F" }}</a></h2>
    6.18 +    <ul>
    6.19 +        {% for object in group.list %}
    6.20 +	<li>{{object.pub_date|date:"m/d"}}
    6.21 +	    <a href="{{object.get_absolute_url}}">{{ object.headline }}</a>
    6.22 +	</li>
    6.23 +        {% endfor %}
    6.24 +    </ul>
    6.25 +{% endfor %}
    6.26 +
    6.27 +</ul>
    6.28 +</div>
    6.29 +{% endblock %}
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/themes/buriy_blog/entry_detail.html	Thu Apr 10 03:58:58 2008 +0700
     7.3 @@ -0,0 +1,102 @@
     7.4 +{% extends "blog/base.html" %}
     7.5 +{% load comments %}
     7.6 +{% block title %}{{ object.headline|escape }}{% endblock %}
     7.7 +{% block content %}
     7.8 +<div class="content">
     7.9 +        <div class="contenttitle">
    7.10 +        <h2>{{ object.pub_date|date:"m/j" }}: <a
    7.11 +            nicetitle="Бабуров Юрий: {{ object.headline }}"
    7.12 +            href="{{ object.get_absolute_url }}"> {{ object.headline }}</a></h2>
    7.13 +        </div>
    7.14 +        
    7.15 +        <div class="contentitem">
    7.16 +            <div class="contentitem1">
    7.17 +                <small class="contentitemcategory">
    7.18 +                Categories: 
    7.19 +                {% for cat in object.tags.all %}
    7.20 +                <a nicetitle="Category: {{ cat.value }}" href="/{{ cat.norm_value }}/">
    7.21 +                    {{cat.value}}</a>{% if not forloop.last %}, {% endif %}
    7.22 +                {% endfor %}
    7.23 +                </small>
    7.24 +            </div>
    7.25 +            <div class="contentitem2">
    7.26 +                <small class="contentitempostedby">
    7.27 +                Posted by: {{ object.author }}
    7.28 +                </small>
    7.29 +            </div>
    7.30 +            <div class="contentitem3">
    7.31 +                <small class="contentitemcomments">
    7.32 +                    <a nicetitle="Add comment on '{{ object.headline }}'" href="{{ object.get_absolute_url }}#comments" rel="bookmark">
    7.33 +                    {% if comment_count %}
    7.34 +                    {{ comment_count }} comment{{ comment_count|pluralize }}
    7.35 +                    {% else %}
    7.36 +                    Add comment
    7.37 +                    {% endif %}
    7.38 +                    </a>
    7.39 +                </small>
    7.40 +            </div>
    7.41 +            {% if user.is_authenticated %}
    7.42 +            <div class="contentitem4">
    7.43 +                <small class="contentitemedit">
    7.44 +                    <a nicetitle="Edit post '{{ object.headline }}'" 
    7.45 +                    href="/admin/blog/entry/{{object.id }}" rel="bookmark">
    7.46 +                    Edit post
    7.47 +                    </a>
    7.48 +                </small>
    7.49 +            </div>
    7.50 +            {% endif %}
    7.51 +        </div>
    7.52 +        <div class="contentbody">
    7.53 +            {{ object.body|safe|linebreaks }}
    7.54 +        </div>
    7.55 +</div>
    7.56 +
    7.57 +{% load comments %}
    7.58 +{% get_free_comment_list for blog.entry object.id as comment_list %}
    7.59 +
    7.60 +<div class="content">
    7.61 +    <div class="contenttitle">
    7.62 +        <h2>Comments</h2>
    7.63 +    </div>
    7.64 +    <a name="comments"></a>
    7.65 +    <div class="comments">
    7.66 +        {% if comment_list %}
    7.67 +            {% for comment in comment_list %}
    7.68 +{% comment %} 
    7.69 +            <div class="comment" id="c{{ comment.id }}">
    7.70 +                <h3>{{ comment.person_name }} <span class="small quiet">{{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date|date:"P" }}</span></h3>
    7.71 +                {{ comment.comment|escape|urlizetrunc:"40"|linebreaks }}
    7.72 +            </div>
    7.73 +{% endcomment %}
    7.74 +            {% ifequal comment.person_name "bur" %} 
    7.75 +            <div class="itemcomment id1" id="c{{ comment.id }}">
    7.76 +            {% else %}
    7.77 +                {% ifequal comment.person_name "buriy" %} 
    7.78 +	        <div class="itemcomment id1" id="c{{ comment.id }}">
    7.79 +                {% else %}
    7.80 +        	<div class="itemcomment id0" id="c{{ comment.id }}">
    7.81 +		{% endifequal %}
    7.82 +            {% endifequal %} 
    7.83 +                <h3>
    7.84 +                <b>{{ comment.person_name }}</b> wrote:</h3>
    7.85 +                
    7.86 +                <div class="commentbody"> 
    7.87 +                    {{ comment.comment|escape|urlizetrunc:"45"|linebreaks }}
    7.88 +                </div>
    7.89 +                <div class="commentinfo">
    7.90 +                {{ comment.submit_date|date:"F j, Y" }} at {{ comment.submit_date|date:"P" }}
    7.91 +                </div>
    7.92 +            </div>
    7.93 +            {% endfor %} 
    7.94 +        {% else %} 
    7.95 +            No comments yet 
    7.96 +        {% endif %}
    7.97 +    </div>
    7.98 +</div>
    7.99 +<div class="content">
   7.100 +    <div class="contenttitle">
   7.101 +        <h2>Add Comment</h2>
   7.102 +    </div>
   7.103 +    {% free_comment_form for blog.entry object.id %}
   7.104 +</div>
   7.105 +{% endblock %}
   7.106 \ No newline at end of file