/[SVNBrowser]/trunk/lib/SVNBrowser/Action/Filter.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 /trunk/lib/SVNBrowser/Action/Filter.pm

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

revision 13 by dpavlin, Tue Dec 5 23:32:32 2006 UTC revision 19 by dpavlin, Wed Dec 6 23:20:47 2006 UTC
# Line 43  use Jifty::Action schema { Line 43  use Jifty::Action schema {
43                  render as 'Select',                  render as 'Select',
44                  available are qw( 10 20 30 50 100 );                  available are qw( 10 20 30 50 100 );
45    
46            param from_date =>
47                    label is 'From date',
48                    render as 'Date';
49    
50            param to_date =>
51                    label is 'To date',
52                    render as 'Date';
53    
54            param search =>
55                    label is 'Search in messages';
56    
57  };  };
58    
59  sub sticky_on_success { 1; }  sub sticky_on_success { 1; }
# Line 57  sub take_action { Line 68  sub take_action {
68          my $author = $self->argument_value('author');          my $author = $self->argument_value('author');
69          my $msg = '';          my $msg = '';
70          $msg .= "Showing only commits for $author" if ($author);          $msg .= "Showing only commits for $author" if ($author);
71          $msg .= ( $msg ? ' and file actions' : ' File actions' ) if ( $self->argument_value('show_actions') );          $msg .= ( $msg ? ' and file actions' : 'Showing file actions for each commit' ) if ( $self->argument_value('show_actions') );
72      $self->result->message($msg) if ($msg);      $self->result->message($msg) if ($msg);
73            
74      return 1;      return 1;

Legend:
Removed from v.13  
changed lines
  Added in v.19

  ViewVC Help
Powered by ViewVC 1.1.26