Skip to content

Commit

Permalink
Merge branch 'SHS-6055--people-import-dashboard' of github.com:SU-HSD…
Browse files Browse the repository at this point in the history
…O/suhumsci into SHS-6056--event-import-dashboard
  • Loading branch information
Marc Berger committed Feb 18, 2025
2 parents 7f4fe07 + c39f95b commit 5f31008
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
12 changes: 12 additions & 0 deletions config/default/dashboard.dashboard.dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencies:
- views.view.new_default_image_alt_text
- views.view.site_dashboard_active_site_editors
module:
- hs_dashboard
- layout_builder
- layout_discovery
- views
Expand Down Expand Up @@ -100,5 +101,16 @@ layout:
exposed: { }
weight: 2
additional: { }
639187d0-99c0-40de-a51c-1adfcfc5a258:
uuid: 639187d0-99c0-40de-a51c-1adfcfc5a258
region: content
configuration:
id: hs_dashboard_importers
label: Importers
label_display: visible
provider: hs_dashboard
context_mapping: { }
weight: 3
additional: { }
third_party_settings: { }
weight: 0
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,6 @@ public function generatePeopleTable(): array {
$table_rows[] = [
'data' => [
['data' => $importer->label()],
['data' => $orphan_action],
['data' => $importer->getWorkgroups(TRUE)],
],
];
Expand All @@ -132,10 +131,13 @@ public function generatePeopleTable(): array {
'#caption' => $this->t('People Importers'),
'#header' => [
['data' => $this->t('Importer (migration) name')],
['data' => $this->t('Orphan action')],
['data' => $this->t('Organization or Workcode')],
['data' => $this->t('Org Code and Workgroup')],
],
'#rows' => $table_rows,
'#suffix' => $this->t(
'<p>People importer orphan action: @action</p>',
['@action' => $orphan_action]
),
];
}

Expand Down

0 comments on commit 5f31008

Please sign in to comment.