-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
78 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,27 @@ | ||
[versions] | ||
beautifulsoup4 = 4.4.1 | ||
beautifulsoup4 = 4.5.1 | ||
buildout-versions-checker = 1.9.3 | ||
django = 1.9.6 | ||
django-app-namespace-template-loader = 0.4 | ||
django-contrib-comments = 1.7.0 | ||
django-mptt = 0.8.2 | ||
django-tagging = 0.4.3 | ||
configparser = 3.5.0 | ||
django = 1.10.1 | ||
django-app-namespace-template-loader = 0.4.1 | ||
django-contrib-comments = 1.7.3 | ||
django-mptt = 0.8.6 | ||
django-tagging = 0.4.5 | ||
django-xmlrpc = 0.1.5 | ||
djangorecipe = 2.1.2 | ||
flake8 = 2.5.4 | ||
djangorecipe = 2.2.1 | ||
enum34 = 1.1.6 | ||
flake8 = 3.0.4 | ||
futures = 3.0.5 | ||
gp.vcsdevelop = 2.2.3 | ||
mccabe = 0.4.0 | ||
mccabe = 0.5.2 | ||
mots-vides = 2015.5.11 | ||
packaging = 16.7 | ||
pep8 = 1.7.0 | ||
pillow = 3.2.0 | ||
pyflakes = 1.0.0 | ||
pyparsing = 2.1.1 | ||
pytz = 2016.4 | ||
pillow = 3.3.1 | ||
pycodestyle = 2.0.0 | ||
pyflakes = 1.2.3 | ||
pyparsing = 2.1.9 | ||
pytz = 2016.6.1 | ||
regex = 2016.9.22 | ||
six = 1.10.0 | ||
zc.buildout = 2.5.1 | ||
zc.buildout = 2.5.3 | ||
zc.recipe.egg = 2.0.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,23 @@ | ||
{% extends "zinnia:zinnia/category_list.html" %} | ||
{% load i18n mptt_tags %} | ||
{% load i18n %} | ||
|
||
{% block content %} | ||
<h2>{% trans "Category list" %}</h2> | ||
<h1>{% trans "Category list" %}</h1> | ||
|
||
<ul class="category-root list-group"> | ||
{% recursetree object_list %} | ||
<ul class="list-group"> | ||
{% for object in object_list %} | ||
<li class="list-group-item"> | ||
<a href="{{ node.get_absolute_url }}" title="{% blocktrans with category=node %}Show all entries in {{ category }}{% endblocktrans %}">{{ node }}</a> | ||
<a href="{{ object.get_absolute_url }}" | ||
title="{% blocktrans with category=object %}Show all entries in {{ category }}{% endblocktrans %}">{{ object }}</a> | ||
<span class="badge"> | ||
{% blocktrans count entry_count=node.entries_published.count %}{{ entry_count }} entry{% plural %}{{ entry_count }} entries{% endblocktrans %} | ||
{% blocktrans count entry_count=object.count_entries_published %}{{ entry_count }} entry{% plural %}{{ entry_count }} entries{% endblocktrans %} | ||
</span> | ||
{% if node.description %}<p>{{ node.description|striptags|safe }}</p>{% endif %} | ||
{% if not node.is_leaf_node %} | ||
<ul class="category-children category-{{ node.slug }}"> | ||
{{ children }} | ||
</ul> | ||
{% endif %} | ||
{% if object.description %}<p>{{ object.description|striptags|safe }}</p>{% endif %} | ||
</li> | ||
{% endrecursetree %} | ||
{% if not object_list %} | ||
<li class="list-group-item"> | ||
{% empty %} | ||
<li> | ||
{% trans "No categories yet." %} | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
</ul> | ||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters