mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-25 11:38:44 +02:00
N°2847 - ActivityPanel: Rework for new UX in edition/creation
- Hide main action buttons - Remove activity tab entry form - Send caselogs value with global form
This commit is contained in:
@@ -82,12 +82,11 @@ class ActivityPanelFactory
|
||||
}
|
||||
}
|
||||
|
||||
//TODO 3.0.0: Check write rights
|
||||
if($oActivityPanel->HasCaseLogTabs()) {
|
||||
|
||||
|
||||
// Activity tab entry form is only in view mode
|
||||
// As caselog tabs input will be attached to the main object form and submit button hidden, we can't have an entry form in the activity tab as it's not for a specific caselog
|
||||
if($sMode === cmdbAbstractObject::ENUM_OBJECT_MODE_VIEW) {
|
||||
$oActivityPanel->SetActivityTabEntryForm(CaseLogEntryFormFactory::MakeForActivityTab($oObject, $sMode));
|
||||
}
|
||||
$oActivityPanel->SetActivityTabEntryForm(CaseLogEntryFormFactory::MakeForActivityTab($oObject, $sMode));
|
||||
|
||||
// Retrieve history changes (including case logs entries)
|
||||
// - Prepare query to retrieve changes
|
||||
|
||||
Reference in New Issue
Block a user