31 |
}]; |
}]; |
32 |
}; |
}; |
33 |
|
|
34 |
|
param show_actions => |
35 |
|
label is 'Show file actions', |
36 |
|
render as 'checkbox'; |
37 |
|
|
38 |
}; |
}; |
39 |
|
|
40 |
sub sticky_on_success { 1; } |
sub sticky_on_success { 1; } |
47 |
my $self = shift; |
my $self = shift; |
48 |
|
|
49 |
my $author = $self->argument_value('author'); |
my $author = $self->argument_value('author'); |
50 |
warn "author: $author\n"; |
my $msg = ''; |
51 |
|
$msg .= "Showing only commits for $author" if ($author); |
52 |
$self->result->message("Showing only commits from $author"); |
$msg .= ( $msg ? ' and file actions' : ' File actions' ) if ( $self->argument_value('show_actions') ); |
53 |
|
$self->result->message($msg) if ($msg); |
54 |
|
|
55 |
return 1; |
return 1; |
56 |
} |
} |