Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlight active nav item #115

Open
wants to merge 1 commit into
base: stable
Choose a base branch
from

Conversation

MisterSquishy
Copy link

@MisterSquishy MisterSquishy commented Mar 22, 2020

addresses #62

i was cooped up and bored so i decided to knock this one out; stole the pattern from https://www.turnkeylinux.org/blog/django-navbar

lookin good locally; couple examples:
download page
Screen Shot 2020-03-22 at 11 53 52

guide page
Screen Shot 2020-03-22 at 11 54 09



@register.simple_tag
def navactive(request, urls):
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im willing to define this tag in a more central location but i couldn't find a suitable one; let me know if there's a better spot for this!

@MisterSquishy MisterSquishy force-pushed the highlight_active_nav_item branch from 13eed17 to 60dce0f Compare March 22, 2020 16:06
@MisterSquishy MisterSquishy force-pushed the highlight_active_nav_item branch from 60dce0f to 9718819 Compare March 22, 2020 16:07
@delroth delroth force-pushed the stable branch 2 times, most recently from 04a79be to f84e290 Compare April 27, 2020 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant