--- lib/A3C/Dispatcher.pm 2008/04/09 22:53:31 65 +++ lib/A3C/Dispatcher.pm 2008/04/10 21:33:37 71 @@ -8,14 +8,20 @@ use Data::Dump qw/dump/; before '*' => run { - Jifty->web->tangent(url => '/ldaplogin') if (! Jifty->web->current_user->id); + warn "## ", Jifty->web->request->path; + Jifty->web->tangent(url => '/ldaplogin') + if ( ! Jifty->web->current_user->id && Jifty->web->request->path !~ m{^/(?:ldaplogin|__jifty)} ); + my $top = Jifty->web->navigation; my $user = Jifty->web->current_user->user_object; # Jifty->log->debug("current_user = ", dump( $user )); - $top->child( _('Find People') => url => '/search-users' ); - $top->child( _('Sync Organization') => url => '/sync' ); + $top->child( _('People') => url => 'people' ); + + $top->child( _('Sync') => url => 'sync' ); + $top->child( _('LDAP') => url => 'ldap' ); + # $top->child( 'Prefs' => url => '/prefs' ) if Jifty->web->current_user->id; };