changeset 104:82cda945e87d

Bootstrap: songs page.
author Brian Neal <bgneal@gmail.com>
date Thu, 17 Oct 2013 20:34:42 -0500
parents 90ba44881a69
children afcbfe23f068
files madeira/templates/core/navbar_tag.html madeira/templates/mp3/collection_list.html
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/madeira/templates/core/navbar_tag.html	Thu Oct 17 20:23:15 2013 -0500
+++ b/madeira/templates/core/navbar_tag.html	Thu Oct 17 20:34:42 2013 -0500
@@ -26,7 +26,7 @@
                </ul>
             </li>
             <li><a href="{% url 'band-bio' %}">Bio</a></li>
-            <li class="dropdown">
+            <li class="dropdown{% if active_tab == "photos" or active_tab == "songs" or active_tab == "videos" %} active"{% endif %}">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">Media <b class="caret"></b></a>
                <ul class="dropdown-menu">
                   <li{% if active_tab == "photos" %} class="active"{% endif %}><a href="{% url 'band-photo_index' %}">Photos</a></li>
--- a/madeira/templates/mp3/collection_list.html	Thu Oct 17 20:23:15 2013 -0500
+++ b/madeira/templates/mp3/collection_list.html	Thu Oct 17 20:34:42 2013 -0500
@@ -1,5 +1,7 @@
 {% extends 'base.html' %}
+{% load core_tags %}
 {% block title %}The Madeira | Songs{% endblock %}
+{% block navblock %}{% navbar 'songs' %}{% endblock %}
 {% block content %}
 <h1>Madeira Songs</h1>
 {% if collection_list %}