Revision 745

Date:
2018/11/14 23:03:11
Author:
ahitrov
Revision Log:
Coloring

Files:

Legend:

 
Added
 
Removed
 
Modified
  • utf8/plugins/payments/comps/contenido/payments/components/block_transaction.msn

     
    14 14 </%args>
    15 15 <%init>
    16 16
    17 my $bg_color = $transaction->status == 0 ? $transaction->success == 1 || $transaction->success == 2 ? '#e8ffe8' : '#ffe8e8' : '#e8e8e8';
    17 my $bg_color = $transaction->status == 0 ? $transaction->name ne 'Error' ? '#e8ffe8' : '#ffe8e8' : '#e8e8e8';
    18 18 my $dt = Contenido::DateTime->new( postgres => $transaction->mtime );
    19 19
    20 20 </%init>