mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
N°1350 - Audit: propose domains selection as default
This commit is contained in:
@@ -1638,8 +1638,8 @@ class Config
|
||||
'audit.enable_selection_landing_page' => [
|
||||
'type' => 'bool',
|
||||
'description' => 'If true audit categories must be selected before results are computed (use this setting in case of a lot of audit categories)',
|
||||
'default' => false,
|
||||
'value' => false,
|
||||
'default' => true,
|
||||
'value' => true,
|
||||
'source_of_value' => '',
|
||||
'show_in_conf_sample' => false,
|
||||
],
|
||||
|
||||
@@ -780,6 +780,7 @@ We hope you’ll enjoy this version as much as we enjoyed imagining and creating
|
||||
'UI:Audit:Interactive:Selection:BreadCrumb+' => 'Selection of an Audit to run',
|
||||
'UI:Audit:Interactive:Selection:BadgeAll' => 'All categories',
|
||||
'UI:Audit:Interactive:Button:Back' => 'Back to the audit',
|
||||
'UI:Audit:Interactive:Button:Configuration' => 'Audit configuration',
|
||||
|
||||
'UI:Audit:ViewRules' => 'Check the rules',
|
||||
'UI:Audit:HeaderAuditRule' => 'Audit Rule',
|
||||
|
||||
@@ -763,6 +763,7 @@ Nous espérons que vous aimerez cette version autant que nous avons eu du plaisi
|
||||
'UI:Audit:Interactive:Selection:BreadCrumb+' => 'Choix d\'un Audit à exécuter',
|
||||
'UI:Audit:Interactive:Selection:BadgeAll' => 'Toutes les catégories',
|
||||
'UI:Audit:Interactive:Button:Back' => 'Retour à l\'audit',
|
||||
'UI:Audit:Interactive:Button:Configuration' => 'Configurer l\'audit',
|
||||
|
||||
'UI:Audit:ViewRules' => 'Vérifier les régles d\'audit',
|
||||
|
||||
|
||||
@@ -259,6 +259,10 @@ try
|
||||
|
||||
case 'selection':
|
||||
$oP->SetBreadCrumbEntry('ui-tool-auditselection', Dict::S('UI:Audit:Interactive:Selection:BreadCrumb'), Dict::S('UI:Audit:Interactive:Selection:BreadCrumb+'), '', 'fas fa-stethoscope', iTopWebPage::ENUM_BREADCRUMB_ENTRY_ICON_TYPE_CSS_CLASSES);
|
||||
if (UserRights::IsActionAllowed('AuditCategory', UR_ACTION_WRITE)) {
|
||||
$oButton = ButtonUIBlockFactory::MakeLinkNeutral("./UI.php?c[menu]=AuditCategories", Dict::S('UI:Audit:Interactive:Button:Configuration'), 'fas fa-wrench');
|
||||
$oP->AddUiBlock($oButton);
|
||||
}
|
||||
$oP->AddUiBlock(TitleUIBlockFactory::MakeForPage(Dict::S('UI:Audit:Interactive:Selection:Title')));
|
||||
$oP->AddUiBlock(new Text(Dict::S('UI:Audit:Interactive:Selection:SubTitle')));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user