Shiny new menu at top of screen!

This commit is contained in:
Naomi 2018-11-09 14:59:25 +00:00
parent 0efab1af06
commit 7e28f88b86
9 changed files with 68 additions and 64 deletions

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: openc
label: 'OpenCase Global'
description: ''
locked: false

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: opencase-add-actors
label: 'OpenCase Add Actors'
description: ''
locked: false

View File

@ -1,7 +0,0 @@
langcode: en
status: true
dependencies: { }
id: opencase-admin
label: 'OpenCase Admin'
description: 'Administer OpenCase '
locked: false

View File

@ -0,0 +1,7 @@
langcode: en
status: true
dependencies: { }
id: opencase
label: OpenCase
description: 'Main navigation menu for OpenCase'
locked: false

View File

@ -584,7 +584,7 @@ display:
admin_label: '' admin_label: ''
empty: true empty: true
tokenize: false tokenize: false
content: "<h1>No cases found</h1>\n<p>You do not have access to any existing cases.</p>\n<p>To <b>add a new case</b>, first search for the person you want to add a case to. If they are not on the system yet you can add them using the <b>Add actors</b> menu in the left sidebar.</p>\n" content: "<h1>No cases found</h1>\n<p>You do not have access to any existing cases.</p>\n<p>To <b>add a new case</b>, first search for the person you want to add a case to. If they are not on the system yet you can add them using the <b>Add People.</b> menu.</p>\n"
plugin_id: text_custom plugin_id: text_custom
cache_metadata: cache_metadata:
max-age: -1 max-age: -1

View File

@ -1,12 +1,12 @@
opencase_reporting.clients: opencase_defaults.report_on_clients:
title: 'Clients' title: 'Clients'
description: 'Report on clients' description: 'Report on clients'
menu_name: opencase_reporting parent: opencase_defaults.reporting_menu
url: internal:/opencase/reporting/clients url: internal:/opencase/reporting/clients
weight: 0 weight: 0
opencase_reporting.volunteers: opencase_defaults.report_on_volunteers:
title: 'Volunteers' title: 'Volunteers'
description: 'Report on volunteers' description: 'Report on volunteers'
menu_name: opencase_reporting parent: opencase_defaults.reporting_menu
url: internal:/opencase/reporting/volunteers url: internal:/opencase/reporting/volunteers
weight: 1 weight: 1

View File

@ -1,23 +0,0 @@
langcode: en
status: true
dependencies:
config:
- system.menu.opencase_reporting
module:
- system
theme:
- bartik
id: opencase_reporting_menu
theme: bartik
region: sidebar_first
weight: -8
provider: null
plugin: 'system_menu_block:opencase_reporting'
settings:
id: 'system_menu_block:opencase_reporting'
label: 'Reporting'
provider: system
label_display: visible
level: 1
depth: 0
visibility: { }

View File

@ -0,0 +1,6 @@
opencase_defaults.reporting_menu:
title: 'Reporting'
description: 'Report on clients'
menu_name: opencase
url: internal:#
weight: 100

View File

@ -1,40 +1,75 @@
opencase.all-cases:
title: 'My cases'
description: ''
menu_name: opencase
url: internal:/opencase/all-cases
weight: 0
opencase.opencase_add_people_menu:
title: 'Add people'
description: 'Add more people to OpenCase'
menu_name: opencase
url: internal:#
weight: 1
opencase.add_people_links:
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
deriver: Drupal\opencase\Plugin\Derivative\AddActorsMenuLink
menu_name: opencase
parent: opencase.opencase_add_people_menu
opencase.opencase_admin_menu:
title: 'Administration'
description: 'Management and Configuration'
menu_name: opencase
url: internal:#
weight: 100
opencase.manage_user_logins: opencase.manage_user_logins:
title: 'Manage user logins' title: 'Manage user logins'
description: 'Manage who can access the system' description: 'Manage who can access the system'
menu_name: opencase-admin menu_name: opencase
parent: opencase.opencase_admin_menu
url: internal:/admin/people url: internal:/admin/people
weight: 0 weight: 0
opencase.manage_actor_types: opencase.manage_person_types:
title: 'Manage actor types' title: 'Manage person types'
description: 'Configure types of actors and their fields' description: 'Configure types of people and their fields'
menu_name: opencase-admin menu_name: opencase
parent: opencase.opencase_admin_menu
url: internal:/admin/opencase/oc_actor_type url: internal:/admin/opencase/oc_actor_type
weight: 1 weight: 1
opencase.manage_case_types: opencase.manage_case_types:
title: 'Manage case types' title: 'Manage case types'
description: 'Configure types of cases and their fields' description: 'Configure types of cases and their fields'
menu_name: opencase-admin menu_name: opencase
parent: opencase.opencase_admin_menu
url: internal:/admin/opencase/oc_case_type url: internal:/admin/opencase/oc_case_type
weight: 2 weight: 2
opencase.manage_activity_types: opencase.manage_activity_types:
title: 'Manage activity types' title: 'Manage activity types'
description: 'Configure types of activities and their fields' description: 'Configure types of activities and their fields'
menu_name: opencase-admin menu_name: opencase
parent: opencase.opencase_admin_menu
url: internal:/admin/opencase/oc_activity_type url: internal:/admin/opencase/oc_activity_type
weight: 3 weight: 3
opencase.opencase_support_menu:
title: 'Support'
description: 'Get help and advice'
menu_name: opencase
url: internal:#
weight: 101
opencase.view_documentation: opencase.view_documentation:
title: 'Read documentation' title: 'Read documentation'
description: 'Find out about OpenCase and how it works' description: 'Find out about OpenCase and how it works'
menu_name: openc menu_name: opencase
parent: opencase.opencase_support_menu
url: https://hoegrammer.gitbooks.io/opencase/content/ url: https://hoegrammer.gitbooks.io/opencase/content/
weight: 0 weight: 0
opencase.send_feedback: opencase.contact_developers:
title: 'Send feedback' title: 'Contact OpenCase'
description: 'Contact the OpenCase developers' description: 'Contact the OpenCase developers'
menu_name: openc menu_name: opencase
parent: opencase.opencase_support_menu
url: internal:/contact url: internal:/contact
weight: 1 weight: 1
opencase.add_actors_links:
class: Drupal\opencase\Plugin\Menu\AddActorsMenuLink
deriver: Drupal\opencase\Plugin\Derivative\AddActorsMenuLink
menu_name: opencase-add-actors