X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Fsearch%2Fcust_msg.html;h=f71a86607786399cb9363c625bf6c9e9cb6ce64c;hb=8baa8e46e67f00f297d7e10dad02c131d286f40e;hp=7932ab3a2e602f2330804e4ede29406a664c5373;hpb=bb119c4cc86e906f698a205437790bd8f96bb3d0;p=freeside.git diff --git a/httemplate/search/cust_msg.html b/httemplate/search/cust_msg.html index 7932ab3a2..f71a86607 100644 --- a/httemplate/search/cust_msg.html +++ b/httemplate/search/cust_msg.html @@ -16,7 +16,9 @@ $date ? time2str('%Y-%m-%d %T',$_[0]->_date) : '' }, 'msgname', - 'env_to', + sub { + join('
', split(/,\s*/, $_[0]->env_to) ) + }, 'status', sub { encode_entities($_[0]->error) }, ], @@ -39,7 +41,7 @@ <%init> #hmm... die "access denied" - unless $FS::CurrentUser::CurrentUser->access_right('View customers of all agents'); + unless $FS::CurrentUser::CurrentUser->access_right('View email logs'); my $conf = new FS::Conf; @@ -83,7 +85,6 @@ my $sub_popup_link = sub { }; my %color = ( - 'prepared' => '0000FF', 'failed' => 'FF0000', 'sent' => '', ); @@ -104,11 +105,10 @@ include('/elements/input-date-field.html', include('/elements/select.html', 'field' => 'status', 'curr_value' => $cgi->param('status') || '', - 'options' => [ '', 'failed', 'sent', 'prepared' ], + 'options' => [ '', 'failed', 'sent', ], 'labels' => { '' => '(any)', 'failed' => 'failed', - 'sent' => 'sent', - 'prepared'=> 'prepared' }, + 'sent' => 'sent', }, ) . '