summaryrefslogtreecommitdiffstats
path: root/hyperkitty/templates
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/templates')
-rw-r--r--hyperkitty/templates/base.html53
1 files changed, 44 insertions, 9 deletions
diff --git a/hyperkitty/templates/base.html b/hyperkitty/templates/base.html
index 48ab126..393bb80 100644
--- a/hyperkitty/templates/base.html
+++ b/hyperkitty/templates/base.html
@@ -52,20 +52,55 @@
<a class="brand" href="{% url 'root' %}">{{ app_name|title }}</a>
- <ul class="nav">
+ <ul class="breadcrumb">
+ <li
+ {% if view_name == 'all_lists' %}
+ class="active">
+ {% else %}
+ ><a href="{% url 'root' %}">
+ {% endif %}
+ All lists
+ {% if view_name != 'all_lists' %}
+ </a>
+ {% endif %}
- <li {% if all_lists %} class="active"{% endif %}>
- <a href="{% url 'root' %}">All lists</a>
- </li>
+ {% if mlist %}
+ <span class="divider">&gt;</span></li>
+ <li
+ {% if view_name == 'overview' %}
+ class="active">
+ {% else %}
+ ><a href="{% url 'list_overview' mlist_fqdn=mlist.name %}">
+ {% endif %}
+ {{mlist.name}}
+ {% if view_name != 'overview' %}
+ </a>
+ {% endif %}
+ {% endif %}
- {% if mlist %}
- <li id="list_name" class="active">
- <a href="{% url 'list_overview' mlist_fqdn=mlist.name %}">{{mlist.name}}</a>
- </li>
- {% endif %}
+ {% if month %}
+ <span class="divider">&gt;</span></li>
+ <li
+ {% if not subject %}
+ class="active">
+ {% else %}
+ ><a href="{% url 'archives_with_month' mlist_fqdn=mlist.name year=month.year month=month.month %}">
+ {% endif %}
+ {{ month|date:"F Y" }}
+ {% if subject %}
+ </a>
+ {% endif %}
+ {% endif %}
+ {% if subject %}
+ <span class="divider">&gt;</span></li>
+ <li class="active">
+ {{ subject|truncatechars:"15" }}
+ {% endif %}
+ </li>
</ul>
+
</div>
</div>
</div>