repo.or.cz
/
sgn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Forward to a mason component so the autohandler is invoked
[sgn.git]
/
mason
/
system_message.mas
blob
ff813efa64040bda025e6477e4dee4a5ec7df10e
1
<%init>
2
use Path::Class;
3
</%init>
4
% my $message = eval { file( $c->get_conf('system_message_file') || '' )->slurp };
5
% if( $message && $message =~ /\S/ ) {
6
<div class="devbar">
7
<span style="color: #922; font-weight: bold">Notice: </span>
8
<!-- system message active -->
9
<% $message %>
10
</div>
11
% }