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

Fixed login/logout/logged as items in metanav #168

Merged
merged 1 commit into from
Jan 27, 2024

Commits on Jan 27, 2024

  1. Fixed login/logout/logged as items in metanav

    Most of the issues were caused by Trac's clever plugin
    system where classes implementing INavigationContributor
    all contribute to the metanav. Plugins can then override
    existing links by making sure they pass the same name
    (second element in the yielded tuple in get_navigation_items()).
    On top of that, trac.ini can override any item by specifying
    a <item name>.label configuration.
    
    Rather than trying to figure this all out, I've opted to
    hardcode the navigation menu in the HTML. This has the nice
    side-effect of removing the dependency on the forked trac-github.
    
    This commit therefore includes a revert of
    d8760ad.
    
    Fixes django#51
    bmispelon committed Jan 27, 2024
    Configuration menu
    Copy the full SHA
    ef7da55 View commit details
    Browse the repository at this point in the history