Line # Revision Author
1 296 ahitrov % if ( $css ) {
2 <% $css %>
3 % } elsif ( $m->comp_exists ("/www/css/$prj/styles.css") ) {
4 <& "/www/css/$prj/styles.css" &>
5 % }
6 <%init>
7
8 my $prj = $request->{project};
9 my $css = $request->{project_profile}->css;
10 $css =~ s/<% \$prj %>/$prj/gi if $css;
11
12 </%init>