% layout 'default', title => "Sme server 2 - AWStats";
% content_for 'module' => begin
% if ($config->{debug} == 1) {
%= dumper $c->current_route
%= dumper $aws_datas
% }
% if ( stash 'warning' ) {
%= $c->render_to_string(inline => stash 'warning')
%}
% if ( stash 'error' ) {
%= $c->render_to_string(inline => stash 'error')
%}
<%= $title%>
% if ($aws_datas->{trt} eq 'CNF') {
%= include 'partials/_aws_cnf'
%} elsif ($aws_datas->{trt} eq 'SHW' or $aws_datas->{trt} eq 'SHWP') {
%= include 'partials/_aws_shw'
%} elsif ($aws_datas->{trt} eq 'UPD') {
%= include 'partials/_aws_cnf'
%} else {
%= include 'partials/_aws_list'
%}
% end