Skip to content

Commit

Permalink
Tweaking archive once again for scanability.
Browse files Browse the repository at this point in the history
  • Loading branch information
lethain committed Feb 19, 2009
1 parent e302b1a commit 1bed22f
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
33 changes: 33 additions & 0 deletions templates/lifeflow/brief_articles_list.html
@@ -0,0 +1,33 @@
<ol class="entry-list">
{% for object in article_list %}
<li class="entry-in-entry-list">
<h3>
<a href="{{ object.get_absolute_url }}">
{{ object.title|escape }}
</a>
</h3>
<div class="article-header">
{% with object.authors.all as authors %}
{% if authors %}
<span class="tag">{% for author in authors %}{{ author.name_with_link|safe }}{% endfor %} </span>
{% endif %}
{% endwith %}

<span class="date">{{ object.pub_date|date:"F j, Y" }}</span>
{% for tag in object.tags.all %}
<span class="tag"><a href="{{ tag.get_absolute_url }}"> {{ tag.title }}</a></span>
{% endfor %}
<br />
{% with object.translation_set.all as translations %}
{% if translations %}
<span class="translation-header">Translations: </span>
{% for translation in translations %}<span class="translation">{{ translation.get_link|safe }}</span>{% endfor %}
{% endif %}
{% endwith %}
</div>

<hr>

</li>
{% endfor %}
</ol>
5 changes: 4 additions & 1 deletion templates/lifeflow/entry_archive_month.html
Expand Up @@ -11,7 +11,10 @@
<hr>

{% with object_list as article_list %}
{% include "lifeflow/show_articles_list.html" %}
{% include "lifeflow/brief_articles_list.html" %}



{% endwith %}

{% endblock %}

0 comments on commit 1bed22f

Please sign in to comment.