From f196d6f224fea353f35d73bd456dc03d6c12b07c Mon Sep 17 00:00:00 2001 From: loiclau Date: Fri, 10 Nov 2017 14:35:25 +0100 Subject: [PATCH 1/3] add massive change contact/cg update mode for host --- www/include/configuration/configObject/host/formHost.ihtml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/www/include/configuration/configObject/host/formHost.ihtml b/www/include/configuration/configObject/host/formHost.ihtml index f6826d0f68c..4219137196f 100644 --- a/www/include/configuration/configObject/host/formHost.ihtml +++ b/www/include/configuration/configObject/host/formHost.ihtml @@ -160,7 +160,10 @@

{t}Notification receivers{/t}

- {if $o == "mc"} + {if $o == "mc"} + {$form.mc_mod_hcg.label}{$form.mc_mod_hcg.html} + {/if} + {if $o == "mc"} {$form.mc_contact_additive_inheritance.label} {$form.mc_contact_additive_inheritance.html} From ca559ad1b1937e6178b9e0cbe716d4eab000b258 Mon Sep 17 00:00:00 2001 From: loiclau Date: Fri, 10 Nov 2017 14:37:59 +0100 Subject: [PATCH 2/3] add critical tag for test --- features/MassiveChangeHosts.feature | 1 + 1 file changed, 1 insertion(+) diff --git a/features/MassiveChangeHosts.feature b/features/MassiveChangeHosts.feature index 145b385d4ae..60763c674e6 100644 --- a/features/MassiveChangeHosts.feature +++ b/features/MassiveChangeHosts.feature @@ -7,6 +7,7 @@ Feature: Massive Change on Hosts Given I am logged in a Centreon server And several hosts have been created with mandatory properties + @critical Scenario: Configure by massive change several hosts with same properties When I have applied Massive Change operation to several hosts Then all selected hosts are updated with the same values From 627e4772c3287c3c629ad6df48af1cab0cb24b95 Mon Sep 17 00:00:00 2001 From: loiclau Date: Fri, 10 Nov 2017 17:23:57 +0100 Subject: [PATCH 3/3] fix duplicate if --- www/include/configuration/configObject/host/formHost.ihtml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/www/include/configuration/configObject/host/formHost.ihtml b/www/include/configuration/configObject/host/formHost.ihtml index 4219137196f..62a764373c1 100644 --- a/www/include/configuration/configObject/host/formHost.ihtml +++ b/www/include/configuration/configObject/host/formHost.ihtml @@ -161,9 +161,10 @@

{t}Notification receivers{/t}

{if $o == "mc"} - {$form.mc_mod_hcg.label}{$form.mc_mod_hcg.html} - {/if} - {if $o == "mc"} + + {$form.mc_mod_hcg.label} + {$form.mc_mod_hcg.html} + {$form.mc_contact_additive_inheritance.label} {$form.mc_contact_additive_inheritance.html}