SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit d90acbf7 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Add breadcrumb to improve navigation

parent a269b908
No related branches found
No related tags found
No related merge requests found
{% extends 'scipost/base.html' %}
{% block breadcrumb %}
<div class="container-outside header">
<div class="container">
<nav class="breadcrumb hidden-sm-down">
{% block breadcrumb_items %}
<a href="{% url 'profiles:profiles' %}" class="breadcrumb-item">Profiles</a>
{% endblock %}
</nav>
</div>
</div>
{% endblock %}
{% extends 'scipost/base.html' %} {% extends 'profiles/base.html' %}
{% load bootstrap %} {% load bootstrap %}
{% block breadcrumb_items %}
{{ block.super }}
<span class="breadcrumb-item">Delete {{ profile }}</span>
{% endblock %}
{% block pagetitle %}: Delete Profile{% endblock pagetitle %} {% block pagetitle %}: Delete Profile{% endblock pagetitle %}
{% block content %} {% block content %}
......
{% extends 'scipost/base.html' %} {% extends 'profiles/base.html' %}
{% load bootstrap %} {% load bootstrap %}
{% block breadcrumb_items %}
{{ block.super }}
<span class="breadcrumb-item">{% if form.instance.id %}Update {{ form.instance }}{% else %}Add new Profile{% endif %}</span>
{% endblock %}
{% block pagetitle %}: Profiles{% endblock pagetitle %} {% block pagetitle %}: Profiles{% endblock pagetitle %}
{% block content %} {% block content %}
......
{% extends 'scipost/base.html' %} {% extends 'scipost/_personal_page_base.html' %}
{% load scipost_extras %}
{% load bootstrap %} {% load bootstrap %}
{% block breadcrumb_items %}
{{ block.super }}
<span class="breadcrumb-item">Profiles</span>
{% endblock %}
{% load scipost_extras %}
{% block pagetitle %}: Profiles{% endblock pagetitle %} {% block pagetitle %}: Profiles{% endblock pagetitle %}
{% block content %} {% block content %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment