Skip to content
Snippets Groups Projects
Commit ae05a703 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

menu

parent 508231bc
No related branches found
No related tags found
No related merge requests found
......@@ -47,3 +47,42 @@ Attributes:
- campus:references (optional)
- program:references (optional)
- session:references (optional)
## websites/Menu
Attributes:
- university:references
- website:references
- title:string
- identifier:string
## websites/menu/Item
Attributes:
- university:references
- website:references
- menu:references
- title:string
- parent:references
- position:integer
- kind:integer (enum: page, url)
- about:references (polymorphic)
## Export du menu
/data/menu.yml
```yaml
primary:
- title: Accueil
target: /
- title: Formations
target: /formations
children:
- title: DUT
target: /formations/dut
- title: ENT
target: https://ent.u-bordeaux3.fr
legal:
- title: Mentions légales
target: /mentions-legales
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment