changeset 1126:575f10fc4060

Added nav breadcrumbs to change avatar page.
author Brian Neal <bgneal@gmail.com>
date Thu, 18 Aug 2016 20:48:00 -0500
parents 4f81c9fe8705
children 829d3b7fc0f7
files sg101/templates/bio/avatar.html
diffstat 1 files changed, 12 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sg101/templates/bio/avatar.html	Thu Aug 18 20:36:41 2016 -0500
+++ b/sg101/templates/bio/avatar.html	Thu Aug 18 20:48:00 2016 -0500
@@ -2,6 +2,18 @@
 {% load bio_tags %}
 {% block title %}Change My Avatar{% endblock %}
 {% block content %}
+
+<nav aria-label="You are here:" role="navigation">
+   <ul class="breadcrumbs">
+      <li><a href="{% url 'bio-me' %}">{{ user.username }}'s Profile</a></li>
+      <li><a href="{% url 'bio-edit_profile' %}">Edit Profile</a></li>
+      <li>
+      <span class="show-for-sr">Current: </span> Change Avatar
+      </li>
+   </ul>
+</nav>
+
+
 <h2>Change My Avatar</h2>
    <p>This is your current avatar:</p>
    <p>{% avatar user 0 %}</p>