/[A3C]/lib/A3C/View.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /lib/A3C/View.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 49 by dpavlin, Mon Mar 31 22:00:20 2008 UTC revision 55 by dpavlin, Tue Apr 1 19:39:00 2008 UTC
# Line 64  template '/search-users' => page { Line 64  template '/search-users' => page {
64    
65  };  };
66    
67    template '/sync' => page {
68    
69            my $action = new_action(
70                    class   => 'SyncOrganization',
71                    moniker => 'sync-organization'
72            );
73    
74            form {
75                    render_action( $action => [ 'cn' ] );
76                    form_submit( label => _('Sync Organization') );
77            };
78    
79            if ( my $users = $action->result->content('synced-users') ) {
80                    ol {
81                            while (my $user = $users->next) {
82                                    li {
83                                            span { $user->cn }
84                                            tt { '<' . $user->mail . '>' }
85                                    }
86                            }
87                    }
88            }
89    
90    };

Legend:
Removed from v.49  
changed lines
  Added in v.55

  ViewVC Help
Powered by ViewVC 1.1.26