Not the most elegant solution but you should be able to do something
like this:

                {% if page.in_menu %}
                    {% if page.slug == 'login_register' %}
                        {% if not user.is_staff %}
                            <li class="nav-item  {% if 
page.is_current_or_ascendant
        %}active{% endif %}"
                                id="{{ page.html_id }}">
                                <a class="nav-link" href="{{ 
page.get_absolute_url
        }}">{{ page.title }}</a>
                            </li>
                        {% endif %}
                    {% else %}
                        <li class="nav-item  {% if page.is_current_or_ascendant
    %}active{% endif %}"
                            id="{{ page.html_id }}">
                            <a class="nav-link" href="{{ page.get_absolute_url
    }}">{{ page.title }}</a>
                        </li>
                    {% endif %}
                {% endif %}

-- 
You received this message because you are subscribed to the Google Groups 
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to