package SGN::View::Mason::Commands;
use strict;
use vars qw($m $c);
HTML::Mason::Component::FileBased->new(
'code' => sub {
use utf8; local $SGN::View::Mason::Commands::m = $HTML::Mason::Commands::m;
$m->debug_hook( $m->current_comp->path ) if ( HTML::Mason::Compiler::IN_PERL_DB() );

#line 1 "/home/production/cxgn/sgn/mason/system_message.mas"

use Path::Class;
#line 4 "/home/production/cxgn/sgn/mason/system_message.mas"
 my $message = eval { file( $c->get_conf('system_message_file') || '' )->slurp };
 if( $message && $message =~ /\S/ ) {
$m->print( '<!-- <div class="devbar"> -->
<div class="devbar_tmp">
   <span style="color: #922; font-weight: bold">Notice: </span>
   <!-- system message active -->
   ' );
#line 10 "/home/production/cxgn/sgn/mason/system_message.mas"
$m->print(  $message  );
#line 10 "/home/production/cxgn/sgn/mason/system_message.mas"
$m->print( '
</div>
' );
#line 12 "/home/production/cxgn/sgn/mason/system_message.mas"
 }
$m->print( '
  <style>
    .devbar_tmp {
      width: 100%;
      padding: 5px;
      margin: 0px 0 0px 0px;
      text-align: center;
      background-color: #eef;
      border-bottom: 2px solid #905;
    }
  </style>
' );
;return;
},
'load_time' => 1763079527,

)
;