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

44 lines
1.0 KiB
Plaintext
Raw Normal View History

% layout 'default', title => "Sme server 2 - Domain Pseudonyms", share_dir => './';
% content_for 'module' => begin
<div id="module" class="module domains-panel">
% if ($config->{debug} == 1) {
<p>
%= dumper $c->current_route
</p>
% }
<h1><%=$title%></h1>
%= $modul
%if ($ddo_datas->{first}) {
%=$c->render_to_string(inline =>$c->l($ddo_datas->{first}))
%} elsif ($ddo_datas->{success}) {
<div class='sme-success'>
<h2> Operation Status Report</h2>
%= $c->l($ddo_datas->{success});
</div>
%} elsif ($ddo_datas->{error}) {
<div class='sme-error'>
<h2> Operation Status Report - error</h2>
%= $c->l($ddo_datas->{error});
</div>
%}
% if ($ddo_datas->{trt} eq 'EMAIL') {
%= include 'partials/_ddo_modify_email'
%} elsif ($ddo_datas->{trt} eq 'OPTIONS') {
%= include 'partials/_ddo_modify_options'
%} elsif ($ddo_datas->{trt} eq 'ADD') {
%= include 'partials/_ddo_add_pseudonym'
%} else {
%= include 'partials/_ddo_domain_list'
%}
</div>
%end