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