mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-11-01 10:33:53 +00:00
feat(people): Add proper breadcrumb to people templates
This commit is contained in:
1 parent
e8416bc779
commit
e10a6c4521
2 files changed
+13
-8
No files matched your search
@@ -1,10 +1,12 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>
|
||||
<a href="#">People</a> /
|
||||
{{ object }}
|
||||
</h1>
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="#">People</a></li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ object }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block content %}
|
||||
<h1>
|
||||
<a href="#">Relationships</a> /
|
||||
{{ object }}
|
||||
</h1>
|
||||
<nav aria-label="breadcrumb">
|
||||
<ol class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="#">People</a></li>
|
||||
<li class="breadcrumb-item">{{ relationship.source }}</li>
|
||||
<li class="breadcrumb-item active" aria-current="page">{{ relationship.target }}</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
<hr>
|
||||
|
||||
|
||||
Reference in new issue
Block a user