smeserver-wbl/root/usr/share/smanager/themes/default/templates/wbl.html.ep

34 lines
636 B
Plaintext

% layout 'default', title => "Sme server 2 - wbl", share_dir => '';
% content_for 'module' => begin
<div id="module" class="module wbl-panel">
%if ($config->{debug} == 1) {
<p>
%= dumper $c->current_route
%= dumper $wbl_datas
</p>
%}
<h1><%= $title %></h1>
<br>
%= l('wbl_WBL_DESCRIPTION')
<br>
% if ($wbl_datas->{trt} eq 'RBL') {
%= include 'partials/_wbl_rbl'
%} elsif ($wbl_datas->{trt} eq 'BLACK') {
%= include 'partials/_wbl_black'
%} elsif ($wbl_datas->{trt} eq 'WHITE') {
%= include 'partials/_wbl_white'
%} else {
%= include 'partials/_wbl_choice'
%}
</div>
%end