diff --git a/awx/ui_next/src/screens/Dashboard/Dashboard.jsx b/awx/ui_next/src/screens/Dashboard/Dashboard.jsx index c6d029cb67..78fea22c7d 100644 --- a/awx/ui_next/src/screens/Dashboard/Dashboard.jsx +++ b/awx/ui_next/src/screens/Dashboard/Dashboard.jsx @@ -170,86 +170,93 @@ function Dashboard({ i18n }) { aria-label={i18n._(t`Job status graph tab`)} eventKey={0} title={{i18n._(t`Job status`)}} - /> + > + + + + + setPeriodSelection(selection) + } + selections={periodSelection} + isOpen={isPeriodDropdownOpen} + > + + {i18n._(t`Past month`)} + + + {i18n._(t`Past two weeks`)} + + + {i18n._(t`Past week`)} + + + + setJobTypeSelection(selection) + } + selections={jobTypeSelection} + isOpen={isJobTypeDropdownOpen} + > + + {i18n._(t`All job types`)} + + + {i18n._(t`Inventory sync`)} + + + {i18n._(t`SCM update`)} + + + {i18n._(t`Playbook run`)} + + + + + + + + + {i18n._(t`Recent Jobs`)}} - /> + > + + {activeTabId === 1 && ( + + )} + + {i18n._(t`Recent Templates`)} } - /> + > + + {activeTabId === 2 && ( + + )} + + - {activeTabId === 0 && ( - - - - - setPeriodSelection(selection) - } - selections={periodSelection} - isOpen={isPeriodDropdownOpen} - > - - {i18n._(t`Past month`)} - - - {i18n._(t`Past two weeks`)} - - - {i18n._(t`Past week`)} - - - - setJobTypeSelection(selection) - } - selections={jobTypeSelection} - isOpen={isJobTypeDropdownOpen} - > - - {i18n._(t`All job types`)} - - - {i18n._(t`Inventory sync`)} - - - {i18n._(t`SCM update`)} - - - {i18n._(t`Playbook run`)} - - - - - - - - - )} - {activeTabId === 1 && } - {activeTabId === 2 && ( - - )}