~netlandish/django-wiki

7ff13e6505e3ee043798bc29a7f03e1aa4fc9a6a — Sean Meyer 4 years ago dbe9074
Update breadcrumb spacing

1 files changed, 4 insertions(+), 3 deletions(-)

M src/wiki/templates/wiki/includes/breadcrumbs.html
M src/wiki/templates/wiki/includes/breadcrumbs.html => src/wiki/templates/wiki/includes/breadcrumbs.html +4 -3
@@ 1,13 1,14 @@
{% load i18n %}
{% if urlpath %}
<div id="article-breadcrumbs">

<ol class="breadcrumb float-left">
<div id="article-breadcrumbs" class="row">
<nav aria-label="breadcrumb">
<ol class="breadcrumb my-0">
  {% for ancestor in urlpath.cached_ancestors %}
    <li class="breadcrumb-item"><a href="{% url 'wiki:get' path=ancestor.path %}">{{ ancestor.article.current_revision.title|truncatechars:25 }}</a></li>
  {% endfor %}
  <li class="breadcrumb-item active">{{ article.current_revision.title|truncatechars:25 }}</li>
</ol>
</nav>
  <div class="btn-group" style="margin-left: 10px;">
    <button class="btn btn-info dropdown-toggle" data-toggle="dropdown" href="#" style="padding: 7px;" type="button"
            title="{% trans "Sub-articles for" %} {{ article.current_revision.title }}"