% layout 'default', title => "Sme server 2 - yum"; % content_for 'module' => begin
% if ($config->{debug} == 1) {

%= dumper $c->current_route %= dumper $yum_datas

% }

<%= $title%>

% if ( $notif ) {
%= $notif %} % if ( $c->is_empty('updates') ) {

%=l 'yum_TITLE_UPTODATE'

%=l 'yum_DESC_UPTODATE'

%} % if ( $c->non_empty('updates') ) {

%=l 'yum_TITLE_UPDATES_AVAILABLE'

%=l 'yum_DESC_UPDATES_AVAILABLE'

%= form_for 'yum' => (method => 'POST') => begin %= hidden_field 'trt' => 'UPDT' %= submit_button $c->l('yum_BUTTON_INSTALL_UPDATES'), class => 'action' % end %} % if ( $c->non_empty('available') ) { %= form_for 'yum' => (method => 'POST') => begin
%= hidden_field 'trt' => 'INST' %= submit_button $c->l('yum_BUTTON_INSTALL_AVAILABLE'), class => 'action' % end %} % if ( $c->non_empty('installed') ) { %= form_for 'yum' => (method => 'POST') => begin
%= hidden_field 'trt' => 'REMO' %= submit_button $c->l('yum_BUTTON_REMOVE'), class => 'action' % end %}


%= form_for 'yum' => (method => 'POST') => begin

%=l 'yum_LABEL_YUM_STATUS' %= $c->get_status('status', 'localise')

%=l 'yum_LABEL_YUM_PACKAGEFUNCTIONS' %= $c->get_status('PackageFunctions', 'localise')

%=l 'yum_LABEL_YUM_DELTARPMPROCESS' %= $c->get_status('DeltaRpmProcess', 'localise')

%=l 'yum_LABEL_YUM_DOWNLOADONLY' %= $c->get_status('DownloadOnly', 'localise')

%=l 'yum_LABEL_YUM_AUTOINSTALLUPDATES' %= $c->get_status('AutoInstallUpdates', 'localise')

%= hidden_field 'trt' => 'CONF'
%= submit_button $c->l('yum_BUTTON_CONFIGURATION'), class => 'action' % end
% end