- Timestamp:
- 07/24/08 13:52:28 (20 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/pylucid/media/PyLucid/internal_page/blog/display_blog.html
r1709 r1712 4 4 {% if not entries %}no blog entry exists{% endif %} 5 5 {% for entry in entries %} 6 <fieldset class="entry"><legend class="headline"><a href="{{ entry.detail_url }}">{{ entry.headline }}</a></legend> 6 <fieldset class="entry"> 7 <legend class="headline"> 8 <a href="{{ entry.detail_url }}">{{ entry.headline }}<br /> 9 <small class="headline_info">{% blocktrans with entry.createtime|timesince as time %}Before {{ time }} published by{% endblocktrans %} {{ entry.createby }}.</small> 10 </a> 11 </legend> 7 12 {% if not entry.is_public %} 8 13 <p class="admin_info_line">not public</p> … … 20 25 <div class="content">{{ entry.html }}</div> 21 26 22 <small><p class="dateinfo"> 23 created {{ entry.createtime }} by {{ entry.createby }} 24 {% if entry.lastupdateby %}(Last update {{ entry.lastupdatetime }} by {{ entry.lastupdateby }}){% endif %} 27 <small><p class="date_info"> 28 {% if entry.lastupdateby %}(Last update: {{ entry.lastupdatetime|date:"D d M Y H:i" }} by {{ entry.lastupdateby }}.){% endif %} 25 29 </p></small> 26 30 … … 40 44 <ul> 41 45 {% for comment in entry.all_comments %} 42 <li class="{% if comment.createby %}user{% else %}anonymous{% endif %}_comment"> 43 <fieldset class="comment"> 44 <legend> 45 {% if comment.homepage %}<a href="{{ comment.homepage }}">{% endif %} 46 {{ comment.person_name }}{% if comment.homepage %}</a>{% endif %}: 47 </legend> 48 {% if not comment.is_public %} 49 <p class="admin_info_line">not public</p> 50 {% endif %} 46 <li> 47 <fieldset class="comment {% if comment.createby %}user{% else %}anonymous{% endif %}_comment"> 48 <legend class="headline"> 49 {% if comment.homepage %}<a href="{{ comment.homepage }}" title="{{ comment.homepage }}">{% endif %} 50 {{ comment.person_name }} 51 {% if comment.homepage %}</a>{% endif %}<br /> 52 <small class="headline_info"> 53 {% blocktrans with comment.createtime|timesince as time %}Before {{ time }}{% endblocktrans %} 54 IP: {{ comment.ip_address }} 55 {% if comment.lastupdateby %}<br />(Last update {{ comment.lastupdatetime }} by {{ comment.lastupdateby }}){% endif %} 56 </small> 57 </legend> 58 59 {% if not comment.is_public %}<p class="admin_info_line">not public</p>{% endif %} 51 60 52 61 <div class="admin_links"> … … 56 65 57 66 {{ comment.html_content }} 58 59 <small><p class="dateinfo">60 created {{ comment.createtime }} by {% if comment.createby %}{{ comment.createby }}{% else %}{{ comment.ip_address }}{% endif %}61 {% if comment.lastupdateby %}(Last update {{ comment.lastupdatetime }} by {{ comment.lastupdateby }}){% endif %}62 </p></small>63 67 </fieldset> 64 68 </li> … … 96 100 {% endfor %} 97 101 102 <fieldset class="tag_cloud"><legend>{% trans 'tag cloud' %}</legend> 103 <ul> 104 {% for tag in tag_cloud %} 105 <li><a href="{{ tag.url }}" style="font-size:{{ tag.font_size }}em;">{{ tag.name }}</a></li> 106 {% endfor %} 107 </ul> 108 </fieldset> 109 110 98 111 <fieldset class="feeds"><legend>{% trans 'available syndication feeds' %}</legend> 99 112 <ul>{% trans 'normal feeds:' %}