Cleanup more usr and add host templates
This commit is contained in:
@@ -5,10 +5,10 @@
|
||||
<div class="card-body">
|
||||
|
||||
% if (config->{debug} == 1) {
|
||||
<p>
|
||||
<div>
|
||||
%= dumper $c->current_route
|
||||
%= dumper $hos_datas
|
||||
</p>
|
||||
</div>
|
||||
% }
|
||||
|
||||
<h1><%= $title%></h1>
|
||||
@@ -21,15 +21,15 @@
|
||||
%}
|
||||
|
||||
% if ($hos_datas->{trt} eq 'ADD' or $hos_datas->{trt} eq 'UPD') {
|
||||
%= include 'partials/_hos_upd'
|
||||
%= include 'partials/_hos_upd'
|
||||
%} elsif ($hos_datas->{trt} eq 'DEL') {
|
||||
%= include 'partials/_hos_del'
|
||||
%= include 'partials/_hos_del'
|
||||
%} elsif ( $hos_datas->{trt} eq 'ALC' or $hos_datas->{trt} eq 'ULC') {
|
||||
%= include 'partials/_hos_ulc'
|
||||
%= include 'partials/_hos_ulc'
|
||||
%} elsif ( $hos_datas->{trt} eq 'ARM' or $hos_datas->{trt} eq 'URM') {
|
||||
%= include 'partials/_hos_urm'
|
||||
%= include 'partials/_hos_urm'
|
||||
%} else {
|
||||
%= include 'partials/_hos_list'
|
||||
%= include 'partials/_hos_list'
|
||||
%}
|
||||
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user