Skip to content

Commit

Permalink
Add template blocks in primary navigation template
Browse files Browse the repository at this point in the history
  • Loading branch information
Izidor Matušov committed Sep 23, 2013
1 parent 482d832 commit 6968a3d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions oscar/templates/oscar/partials/nav_primary.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
</a>

<div class="nav-collapse primary-collapse">
{% block primary_navigation %}
{% block browse_store_button %}
<div id="browse" class="dropdown pull-left {% if expand_dropdown %}open{% endif %}">
<button class="btn btn-primary dropdown-toggle hidden-phone"{% if not expand_dropdown %} data-toggle="dropdown"{% endif %}>
{% trans "Browse Store" %}
Expand Down Expand Up @@ -50,7 +52,12 @@
<li><a href="{% url 'offer:list' %}">{% trans "Offers" %}</a></li>
</ul>
</div>
{% endblock %}
{# Block for other buttons #}
{% block head_bar %}
{% endblock %}
{% include "partials/search.html" %}
{% endblock %}
</div><!-- /nav-collapse -->

</div><!-- /navbar-inner -->
Expand Down

0 comments on commit 6968a3d

Please sign in to comment.