Implement breadcrumbs.

This commit is contained in:
Christopher Charbonneau Wells 2017-10-20 16:07:53 -04:00
parent 90a74c94be
commit 5f3cadd38b
37 changed files with 202 additions and 70 deletions

View File

@ -143,4 +143,4 @@ $list-group-action-hover-color: $list-group-action-color;
// Breadcrumbs // Breadcrumbs
$breadcrumb-bg: none; $breadcrumb-bg: none;
$breadcrumb-active-color: $white; $breadcrumb-active-color: $gray-600;

View File

@ -18,6 +18,14 @@
<body style="padding-top: 3rem;"> <body style="padding-top: 3rem;">
{% block nav %}{% endblock %} {% block nav %}{% endblock %}
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="/">Home</a></li>
{% block breadcrumbs %}{% endblock %}
</ol>
</nav>
{% block page %}{% endblock %} {% block page %}{% endblock %}
{% if debug %} {% if debug %}

View File

@ -1,9 +0,0 @@
{{ path }}
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="#">Children</a></li>
<li class="breadcrumb-item">Fake</li>
<li class="breadcrumb-item active" aria-current="page">Dashboard</li>
</ol>
</nav>

View File

@ -1,5 +1,5 @@
{% extends 'babyblotter/base.html' %} {% extends 'babyblotter/base.html' %}
{% load babyblotter timers %} {% load timers %}
{% block nav %} {% block nav %}
<nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top"> <nav class="navbar navbar-expand-md navbar-dark bg-dark fixed-top">
@ -153,7 +153,4 @@
{% endif %} {% endif %}
</div> </div>
</nav> </nav>
{% breadcrumbs %}
{% endblock %} {% endblock %}

View File

@ -1,6 +1,5 @@
{% extends 'babyblotter/nav-dropdown.html' %} {% extends 'babyblotter/nav-dropdown.html' %}
{% load static %} {% load static timers %}
{% load timers %}
{% block page %} {% block page %}
<div id="view-{{ request.resolver_match.view_name }}" class="container-fluid"> <div id="view-{{ request.resolver_match.view_name }}" class="container-fluid">

View File

@ -1,14 +0,0 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django import template
register = template.Library()
@register.inclusion_tag('babyblotter/breadcrumbs.html', takes_context=True)
def breadcrumbs(context):
request = context['request'] or None
# TODO: Process path and send breadcrumbs down.
return {'path': request.path}

View File

@ -3,6 +3,12 @@
{% block title %}Delete a Child{% endblock %} {% block title %}Delete a Child{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -2,6 +2,11 @@
{% block title %}{{ object }}{% endblock %} {% block title %}{{ object }}{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
<li class="breadcrumb-item font-weight-bold">{{ object }}</li>
{% endblock %}
{% block content %} {% block content %}
<div class="jumbotron text-center"> <div class="jumbotron text-center">
<div class="display-3">{{ object }}</div> <div class="display-3">{{ object }}</div>

View File

@ -1,13 +1,23 @@
{% extends 'babyblotter/page.html' %} {% extends 'babyblotter/page.html' %}
{% block title %} {% block title %}
{% if request.resolver_match.url_name == 'child-update' %} {% if object %}
{{ object }} {{ object }}
{% else %} {% else %}
Add a Child Add a Child
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
{% if object %}
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Add a Child</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -3,6 +3,10 @@
{% block title %}Children{% endblock %} {% block title %}Children{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Children</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Children</h1> <h1>Children</h1>
<div class="table-responsive"> <div class="table-responsive">
@ -18,20 +22,14 @@
<tbody> <tbody>
{% for child in object_list %} {% for child in object_list %}
<tr> <tr>
<th scope="row">{{ child.first_name }}</th> <th scope="row"><a href="{% url 'child' child.slug %}">{{ child.first_name }}</a></th>
<td>{{ child.last_name }}</td> <td>{{ child.last_name }}</td>
<td>{{ child.birth_date }}</td> <td>{{ child.birth_date }}</td>
<td class="text-center"> <td class="text-center">
<div class="btn-group btn-group-sm" role="group" aria-label="Actions"> <div class="btn-group btn-group-sm" role="group" aria-label="Actions">
{% if perms.core.view_child %}
<a href="{% url 'dashboard-child' child.slug %}" class="btn btn-success">
<i class="icon icon-dashboard" aria-hidden="true"></i>
</a>
{% endif %}
{% if perms.core.change_child %} {% if perms.core.change_child %}
<a href="{% url 'child-update' child.slug %}" class="btn btn-primary"> <a href="{% url 'child-update' child.slug %}" class="btn btn-warning">
<i class="icon icon-update" aria-hidden="true"></i> <i class="icon icon-update" aria-hidden="true"></i>
</a> </a>
{% endif %} {% endif %}

View File

@ -3,6 +3,11 @@
{% block title %}Delete a Diaper Change{% endblock %} {% block title %}Delete a Diaper Change{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'diaperchange-list' %}">Diaper Changes</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -8,6 +8,15 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'diaperchange-list' %}">Diaper Changes</a></li>
{% if object %}
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Add</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -4,6 +4,10 @@
{% block title %}Diaper Changes{% endblock %} {% block title %}Diaper Changes{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Diaper Changes</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Diaper Changes</h1> <h1>Diaper Changes</h1>
<div class="table-responsive"> <div class="table-responsive">
@ -21,7 +25,7 @@
<tbody> <tbody>
{% for change in object_list %} {% for change in object_list %}
<tr> <tr>
<th scope="row">{{ change.child }}</th> <th scope="row"><a href="{% url 'child' change.child.slug %}">{{ change.child }}</a></th>
<td class="text-center">{{ change.wet|bool_icon }}</td> <td class="text-center">{{ change.wet|bool_icon }}</td>
<td class="text-center">{{ change.solid|bool_icon }}</td> <td class="text-center">{{ change.solid|bool_icon }}</td>
<td>{{ change.color }}</td> <td>{{ change.color }}</td>

View File

@ -3,6 +3,11 @@
{% block title %}Delete a Feeding{% endblock %} {% block title %}Delete a Feeding{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'feeding-list' %}">Feedings</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -8,6 +8,15 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'feeding-list' %}">Feedings</a></li>
{% if object %}
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Add</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -4,6 +4,10 @@
{% block title %}Feedings{% endblock %} {% block title %}Feedings{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Feedings</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Feedings</h1> <h1>Feedings</h1>
<div class="table-responsive"> <div class="table-responsive">
@ -22,7 +26,7 @@
<tbody> <tbody>
{% for feeding in object_list %} {% for feeding in object_list %}
<tr> <tr>
<th scope="row">{{ feeding.child }}</th> <th scope="row"><a href="{% url 'child' feeding.child.slug %}">{{ feeding.child }}</a></th>
<td>{{ feeding.method }}</td> <td>{{ feeding.method }}</td>
<td>{{ feeding.type }}</td> <td>{{ feeding.type }}</td>
<td> <td>

View File

@ -3,6 +3,11 @@
{% block title %}Delete a Note{% endblock %} {% block title %}Delete a Note{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'note-list' %}">Notes</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -8,6 +8,15 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'note-list' %}">Notes</a></li>
{% if object %}
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Add</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -3,6 +3,10 @@
{% block title %}Notes{% endblock %} {% block title %}Notes{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Notes</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Notes</h1> <h1>Notes</h1>
<div class="table-responsive"> <div class="table-responsive">
@ -18,7 +22,7 @@
<tbody> <tbody>
{% for note in object_list %} {% for note in object_list %}
<tr> <tr>
<th scope="row">{{ note.child }}</th> <th scope="row"><a href="{% url 'child' note.child.slug %}">{{ note.child }}</a></th>
<td>{{ note.note }}</td> <td>{{ note.note }}</td>
<td>{{ note.time }}</td> <td>{{ note.time }}</td>
<td class="text-center"> <td class="text-center">

View File

@ -3,6 +3,11 @@
{% block title %}Delete a Sleep Entry{% endblock %} {% block title %}Delete a Sleep Entry{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'sleep-list' %}">Sleep</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -8,6 +8,15 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'sleep-list' %}">Sleep</a></li>
{% if object %}
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Add</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -4,6 +4,10 @@
{% block title %}Sleep{% endblock %} {% block title %}Sleep{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Sleep</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Sleep</h1> <h1>Sleep</h1>
<div class="table-responsive"> <div class="table-responsive">
@ -20,7 +24,7 @@
<tbody> <tbody>
{% for sleep in object_list %} {% for sleep in object_list %}
<tr> <tr>
<th scope="row">{{ sleep.child }}</th> <th scope="row"><a href="{% url 'child' sleep.child.slug %}">{{ sleep.child }}</a></th>
<td>{{ sleep.duration|duration_string }}</td> <td>{{ sleep.duration|duration_string }}</td>
<td>{{ sleep.start|date:'n/j/y G:i' }}</td> <td>{{ sleep.start|date:'n/j/y G:i' }}</td>
<td>{{ sleep.end|date:'n/j/y G:i' }}</td> <td>{{ sleep.end|date:'n/j/y G:i' }}</td>

View File

@ -3,6 +3,12 @@
{% block title %}Delete {{ object }}{% endblock %} {% block title %}Delete {{ object }}{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'timer-list' %}">Timers</a></li>
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'timer-detail' object.id %}">{{ object }}</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -1,9 +1,13 @@
{% extends 'babyblotter/page.html' %} {% extends 'babyblotter/page.html' %}
{% load timers %} {% load duration timers %}
{% load duration %}
{% block title %}{{ object }}{% endblock %} {% block title %}{{ object }}{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'timer-list' %}">Timers</a></li>
<li class="breadcrumb-item font-weight-bold">{{ object }}</li>
{% endblock %}
{% block content %} {% block content %}
<div class="jumbotron text-center{% if not object.active %} text-danger{% endif %}"> <div class="jumbotron text-center{% if not object.active %} text-danger{% endif %}">
@ -53,7 +57,7 @@
href="{% url 'timer-update' timer.id %}" href="{% url 'timer-update' timer.id %}"
role="button"><i class="icon icon-update" aria-hidden="true"></i></a> role="button"><i class="icon icon-update" aria-hidden="true"></i></a>
<a class="btn btn-dark" <a class="btn btn-secondary"
href="{% url 'timer-restart' timer.id %}" href="{% url 'timer-restart' timer.id %}"
role="button"><i class="icon icon-refresh" aria-hidden="true"></i></a> role="button"><i class="icon icon-refresh" aria-hidden="true"></i></a>

View File

@ -3,6 +3,16 @@
{% block title %}Timer{% endblock %} {% block title %}Timer{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'timer-list' %}">Timers</a></li>
{% if object %}
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'timer-detail' object.id %}">{{ object }}</a></li>
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Start</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -1,9 +1,11 @@
{% extends 'babyblotter/page.html' %} {% extends 'babyblotter/page.html' %}
{% load bootstrap %} {% load bootstrap duration widget_tweaks %}
{% load duration %}
{% load widget_tweaks %}
{% block title %}Sleep{% endblock %} {% block title %}Timers{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Timers</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Timers</h1> <h1>Timers</h1>

View File

@ -3,6 +3,11 @@
{% block title %}Delete a Tummy Time Entry{% endblock %} {% block title %}Delete a Tummy Time Entry{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'tummytime-list' %}">Tummy Time</a></li>
<li class="breadcrumb-item active" aria-current="page">Delete</li>
{% endblock %}
{% block content %} {% block content %}
<form role="form" method="post"> <form role="form" method="post">
{% csrf_token %} {% csrf_token %}

View File

@ -8,6 +8,15 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'tummytime-list' %}">Tummy Time</a></li>
{% if object %}
<li class="breadcrumb-item active" aria-current="page">Update</li>
{% else %}
<li class="breadcrumb-item active" aria-current="page">Add</li>
{% endif %}
{% endblock %}
{% block content %} {% block content %}
{% if object %} {% if object %}
<h1>Update <span class="text-info">{{ object }}</span></h1> <h1>Update <span class="text-info">{{ object }}</span></h1>

View File

@ -4,6 +4,10 @@
{% block title %}Tummy Time{% endblock %} {% block title %}Tummy Time{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item active" aria-current="page">Tummy Time</li>
{% endblock %}
{% block content %} {% block content %}
<h1>Tummy Time</h1> <h1>Tummy Time</h1>
<div class="table-responsive"> <div class="table-responsive">
@ -21,7 +25,7 @@
<tbody> <tbody>
{% for tummytime in object_list %} {% for tummytime in object_list %}
<tr> <tr>
<th scope="row">{{ tummytime.child }}</th> <th scope="row"><a href="{% url 'child' tummytime.child.slug %}">{{ tummytime.child }}</a></th>
<td>{{ tummytime.duration|duration_string }}</td> <td>{{ tummytime.duration|duration_string }}</td>
<td>{{ tummytime.start|date:'n/j/y G:i' }}</td> <td>{{ tummytime.start|date:'n/j/y G:i' }}</td>
<td>{{ tummytime.end|date:'n/j/y G:i' }}</td> <td>{{ tummytime.end|date:'n/j/y G:i' }}</td>

View File

@ -3,25 +3,14 @@
{% block title %}Dashboard - {{ object }}{% endblock %} {% block title %}Dashboard - {{ object }}{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
<li class="breadcrumb-item active" aria-current="page">Dashboard</li>
{% endblock %}
{% block content %} {% block content %}
<div class="row align-items-start">
<div class="dropdown">
<button id="reports-dropdown"
class="btn btn-success dropdown-toggle"
type="button"
data-toggle="dropdown"
aria-haspopup="true"
aria-expanded="false"><i class="icon icon-graph" aria-hidden="true"></i> Reports</button>
<div class="dropdown-menu" aria-labelledby="reports-dropdown">
<a class="dropdown-item" href="{% url 'reports:report-diaperchange-types-child' object.slug %}">Diaper Change Types</a>
<a class="dropdown-item" href="{% url 'reports:report-diaperchange-lifetimes-child' object.slug %}">Diaper Lifetimes</a>
<a class="dropdown-item" href="{% url 'reports:report-sleep-pattern-child' object.slug %}">Sleep Pattern</a>
<a class="dropdown-item" href="{% url 'reports:report-sleep-totals-child' object.slug %}">Sleep Totals</a>
<a class="dropdown-item" href="{% url 'reports:report-timeline-child' object.slug %}">Timeline</a>
</div>
</div>
<div class="row align-items-start mt-4">
<div class="col-lg-4 col-md-6 col-sm-12"> <div class="col-lg-4 col-md-6 col-sm-12">
{% card_feeding_last object %} {% card_feeding_last object %}
{% card_feeding_last_method object %} {% card_feeding_last_method object %}

View File

@ -2,6 +2,11 @@
{% block title %}Diaper Lifetimes - {{ object }}{% endblock %} {% block title %}Diaper Lifetimes - {{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
<li class="breadcrumb-item active" aria-current="page">Diaper Lifetimes</li>
{% endblock %}
{% block javascript %} {% block javascript %}
{{ block.super }} {{ block.super }}
{{ javascript|safe }} {{ javascript|safe }}

View File

@ -2,6 +2,11 @@
{% block title %}Diaper Change Types - {{ object }}{% endblock %} {% block title %}Diaper Change Types - {{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
<li class="breadcrumb-item active" aria-current="page">Diaper Types</li>
{% endblock %}
{% block javascript %} {% block javascript %}
{{ block.super }} {{ block.super }}
{{ javascript|safe }} {{ javascript|safe }}

View File

@ -3,6 +3,12 @@
{% block title %}{% endblock %} {% block title %}{% endblock %}
{% block breadcrumbs %}
<li class="breadcrumb-item"><a href="{% url 'child-list' %}">Children</a></li>
<li class="breadcrumb-item font-weight-bold"><a href="{% url 'child' object.slug %}">{{ object }}</a></li>
<li class="breadcrumb-item">Reports</li>
{% endblock %}
{% block content %} {% block content %}
<div class="container-fluid"> <div class="container-fluid">
{{ html|safe }} {{ html|safe }}

View File

@ -2,6 +2,11 @@
{% block title %}Sleep Patterns - {{ object }}{% endblock %} {% block title %}Sleep Patterns - {{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
<li class="breadcrumb-item active" aria-current="page">Sleep Pattern</li>
{% endblock %}
{% block javascript %} {% block javascript %}
{{ block.super }} {{ block.super }}
{{ javascript|safe }} {{ javascript|safe }}

View File

@ -2,6 +2,11 @@
{% block title %}Sleep Totals - {{ object }}{% endblock %} {% block title %}Sleep Totals - {{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
<li class="breadcrumb-item active" aria-current="page">Sleep Totals</li>
{% endblock %}
{% block javascript %} {% block javascript %}
{{ block.super }} {{ block.super }}
{{ javascript|safe }} {{ javascript|safe }}

View File

@ -1,8 +1,13 @@
{% extends 'babyblotter/page.html' %} {% extends 'reports/report_base.html' %}
{% load static %} {% load static %}
{% block title %}Timeline - {{ object }}{% endblock %} {% block title %}Timeline - {{ object }}{% endblock %}
{% block breadcrumbs %}
{{ block.super }}
<li class="breadcrumb-item active" aria-current="page">Timeline</li>
{% endblock %}
{% block content %} {% block content %}
<h1 class="text-center">Timeline</h1> <h1 class="text-center">Timeline</h1>
<h2 class="text-center text-muted">{{ object }}</h2> <h2 class="text-center text-muted">{{ object }}</h2>