Skip to content
This repository has been archived by the owner on May 21, 2019. It is now read-only.

Commit

Permalink
No need to check level 1 in_navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
zgohr committed May 16, 2012
1 parent 2ccef68 commit 9cc8ee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mezzanine_pageview/templates/pages/menus/dropdown.html
Expand Up @@ -29,7 +29,7 @@
{% if branch_level == 1 %}
<ul class="dropdown-menu">
{% for page in page_branch %}
{% if page.in_navigation and user|can_access_link:page %}
{% if user|can_access_link:page %}
<li{% if page.is_current_or_ascendant %} class="active"{% endif %}
id="dropdown-menu-{{ page.html_id }}">
<a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
Expand Down

0 comments on commit 9cc8ee9

Please sign in to comment.