import pathlib
from setuptools import setup, find_packages
HERE = pathlib.Path(__file__).parent
-VERSION = '0.0.5'
+VERSION = '0.0.7'
PACKAGE_NAME = 'django_predrill_tickle'
AUTHOR = 'David Kerkeslager'
AUTHOR_EMAIL = 'david@kerkeslager.com'
-<nav class='tickle-breadcrumb'>
- {% if area %}
- {% include 'tickle/area_breadcrumb.html' with area=area.parent is_parent=True %}
- >
- {% if is_parent %}
- <span class='tickle-breadcrumb-item'>
- <a href='{% url "tickle:area-detail" pk=area.pk %}'>{{ area.name }}</a>
- </span>
- {% else %}
- <span class='tickle-breadcrumb-item'>
- {{ area.name }}
- </span>
- {% endif %}
+{% if area %}
+ {% include 'tickle/area_breadcrumb.html' with area=area.parent is_parent=True %}
+ {% if is_parent %}
+ <span class='tickle-breadcrumb-item'>
+ <a href='{% url "tickle:area-detail" pk=area.pk %}'>{{ area.name }}</a>
+ </span>
{% else %}
<span class='tickle-breadcrumb-item'>
- <a href='{% url "tickle:area-list" %}'>All</a>
+ {{ area.name }}
</span>
{% endif %}
-</nav>
+{% else %}
+ <span class='tickle-breadcrumb-item'>
+ <a href='{% url "tickle:area-list" %}'>All</a>
+ </span>
+{% endif %}
--- /dev/null
+<nav class='tickle-breadcrumb'>
+ {% include 'tickle/area_breadcrumb.html' %}
+</nav>
{% block tickle_header_name %}{{ area.name }}{% endblock %}
{% block tickle_nav %}
- {% include 'tickle/area_breadcrumb.html' %}
+ {% include 'tickle/area_breadcrumb_trail.html' %}
{% endblock %}
{% block tickle_main %}
{% block tickle_header_name %}{{ boulder.name }}{% endblock %}
{% block tickle_nav %}
- {% include 'tickle/area_breadcrumb.html' with area=boulder.area is_parent=True %}
+ {% include 'tickle/area_breadcrumb_trail.html' with area=boulder.area is_parent=True %}
{% endblock %}
{% block tickle_extra_header %}
{% block tickle_header_name %}{{ route.name }}{% endblock %}
{% block tickle_nav %}
- {% include 'tickle/area_breadcrumb.html' with area=route.area is_parent=True %}
+ {% include 'tickle/area_breadcrumb_trail.html' with area=route.area is_parent=True %}
{% endblock %}
{% block tickle_extra_header %}