templates: move includes into *-header.html files
This commit is contained in:
@@ -60,10 +60,8 @@ unless ( params::isJson() ) {
|
||||
}
|
||||
return unless uac::check( $config, $params, $user_presets ) == 1;
|
||||
|
||||
print q{
|
||||
<script src="js/show-playout.js" type="text/javascript"></script>
|
||||
<link rel="stylesheet" href="css/show-playout.css" type="text/css" />
|
||||
} unless (params::isJson);
|
||||
template::process( $config, 'print', template::check( $config, 'show-playout-header.html' ), $headerParams )
|
||||
unless (params::isJson);
|
||||
|
||||
my $permissions = $request->{permissions};
|
||||
$params->{action} = '' unless defined $params->{action};
|
||||
|
||||
Reference in New Issue
Block a user