--- lib/A3C/Dispatcher.pm 2008/05/25 16:43:36 127 +++ lib/A3C/Dispatcher.pm 2008/08/31 11:54:40 231 @@ -3,6 +3,16 @@ use strict; use warnings; +=head1 NAME + +A3C::Displatcher + +=head1 DESCRIPTION + +Create top-level menu navigation + +=cut + use Jifty::Dispatcher -base; use Data::Dump qw/dump/; @@ -21,8 +31,14 @@ my $o = $top->child( _('Organizations') => url => '/organizations' ); $o->child( _('New') => url => '/organizations/new' ); - $top->child( _('Sync') => url => '/sync' ); - $top->child( _('LDAP') => url => '/ldap' ); + my $ldap = $top->child( _('LDAP'), url => '/ldap/sync' ); # FIXME some kind of top-level ldap page? + $ldap->child( _('Sync') => url => '/ldap/sync' ); + $ldap->child( _('Search') => url => '/ldap/search' ); + + my $strix = $top->child( _('Strix') => url => '/strix' ); + $strix->child( _('Name differences') => url => '/strix/name_diff' ); + $strix->child( _('SQL') => url => '/strix/sql' ); + $strix->child( _('Navigation') => url => '/strix/navigation' ); # $top->child( 'Prefs' => url => '/prefs' ) if Jifty->web->current_user->id;