diff --git a/Targets/Nfsshare-Custom.pm b/Targets/Nfsshare-Custom.pm index c250937..87624c1 100644 --- a/Targets/Nfsshare-Custom.pm +++ b/Targets/Nfsshare-Custom.pm @@ -1,5 +1,5 @@ # -# Routines to be editted by the developer to provide validation for parameters +# Routines to be edited by the developer to provide validation for parameters # and provison of the control data for table(s) # # Generated by SME2Gen version:0.7 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-06 08:40 diff --git a/Targets/Nfsshare-Custom.pm.new b/Targets/Nfsshare-Custom.pm.new index 1293875..7b4d502 100644 --- a/Targets/Nfsshare-Custom.pm.new +++ b/Targets/Nfsshare-Custom.pm.new @@ -1,8 +1,8 @@ # -# Routines to be editted by the developer to provide validation for parameters +# Routines to be edited by the developer to provide validation for parameters # and provison of the control data for table(s) # -# Generated by SME2Gen version:0.7 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-06 10:02 +# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.10.12 at 2024-06-13 15:12 # use esmith::util; diff --git a/Targets/Nfsshare.pm b/Targets/Nfsshare.pm index 3a34df7..b67cda3 100644 --- a/Targets/Nfsshare.pm +++ b/Targets/Nfsshare.pm @@ -1,16 +1,15 @@ package SrvMngr::Controller::Nfsshare; # -# Generated by version:SME2Gen version:0.7 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-06 10:02 +# Generated by version:SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.10.12 at 2024-06-13 15:12 # #---------------------------------------------------------------------- # heading : Network # description : NFS data share # navigation : 2000 400 # -# name : nfsshare, method : get, url : /nfsshare, ctlact : nfsshare#main -# name : nfsshareu, method : post, url : /nfsshareu, ctlact : nfsshare#do_update -# name : nfsshared, method : get, url : /nfsshared, ctlact : nfsshare#do_display -# name : nfssharee, method : post, url : /nfsshared, ctlact : nfsshare#do_display +# name : nfsshare, method : get, url : /nfsshare, ctlact : Nfsshare#main +# name : nfsshareu, method : post, url : /nfsshareu, ctlact : Nfsshare#do_update +# name : nfsshared, method : get, url : /nfsshared, ctlact : Nfsshare#do_display # # routes : end # @@ -87,7 +86,7 @@ sub main { modul => $modul, nfs_data => \%nfs_data ); - $c->render( template => "Nfsshare" ); + $c->render( template => "nfsshare" ); } # Post request with params - submit from the form @@ -168,7 +167,7 @@ sub do_update { $c->stash(error => $c->l($ret)); $c->render("Nfsshare"); } else { - $c->stash( success => $c->l('nfs_PARAMS_panel_action_was_successfull')); #A bit bland - edit it in the lex file + $c->stash( success => $c->l('nfs_PARAMS_panel_action_was_successful')); #A bit bland - edit it in the lex file } } @@ -180,7 +179,7 @@ sub do_update { $c->stash(error => $c->l($ret)); $c->render("Nfsshare"); } else { - $c->stash( success => $c->l('nfs_TABLE_panel_action_was_successfull')); #A bit bland - edit it in the lex file + $c->stash( success => $c->l('nfs_TABLE_panel_action_was_successful')); #A bit bland - edit it in the lex file } } diff --git a/Targets/_nfs_PARAMS.html.ep b/Targets/_nfs_PARAMS.html.ep index 0e8757c..664a10c 100644 --- a/Targets/_nfs_PARAMS.html.ep +++ b/Targets/_nfs_PARAMS.html.ep @@ -1,7 +1,7 @@ %# -%# Generated by SME2Gen version:0.7 Chameleon version:4.5.4 On Python:3.10.12 at 2024-05-06 10:02 +%# Generated by SM2Gen version:0.8 Chameleon version:4.5.4 On Python:3.10.12 at 2024-06-13 15:12 %# -