~netlandish/django-wiki

f9a46f1c97d0ab882984325b9a1629a8daab750c — benjaoming 11 years ago c4e855d
Note on python 2.5 and improve article list
2 files changed, 4 insertions(+), 2 deletions(-)

M setup.py
M wiki/plugins/macros/templates/wiki/plugins/macros/article_list.html
M setup.py => setup.py +1 -1
@@ 31,7 31,7 @@ package_data = dict(

setup(
    name = "wiki",
    version = "0.0.12",
    version = "0.0.13",
    author = "Benjamin Bach",
    author_email = "benjamin@overtag.dk",
    url = "http://www.django-wiki.org",

M wiki/plugins/macros/templates/wiki/plugins/macros/article_list.html => wiki/plugins/macros/templates/wiki/plugins/macros/article_list.html +3 -1
@@ 1,10 1,12 @@
{% load i18n wiki_macro_tags %}

{% if article_children %}
  <h3>{% trans "Articles" %}</h3>
  <h3>{% trans "Article index" %}</h3>
  <div class="article-list">
    {% for child in article_children %}
      {% article_list child depth %}
      {% empty %}
      <i>{% trans "Nothing below this level" %}</i>
    {% endfor %}
  </div>
{% endif %}