Skip to content
Snippets Groups Projects
Commit 77ca6723 authored by pabois's avatar pabois
Browse files

wip menu

parent 9c5dde8d
No related branches found
No related tags found
No related merge requests found
......@@ -44,7 +44,7 @@ class Communication::Website::Menu::Item < ApplicationRecord
foreign_key: :parent_id,
dependent: :destroy
enum kind: { blank: 0, url: 10, page: 20, programs: 30 }, _prefix: :kind
enum kind: { blank: 0, url: 10, page: 20, programs: 30, program: 31, news: 40, news_category: 41, news_article: 42, staff: 50 }, _prefix: :kind
validates :title, presence: true
......
......@@ -119,6 +119,11 @@ en:
communication/website/menu/item:
kind:
blank: Title
page: Page
programs: Programs
news: News index
news_article: Specific news
news_category: News category
page: Specific Page
program: Specific program
programs: Programs index
staff: Staff
url: URL
......@@ -119,6 +119,11 @@ fr:
communication/website/menu/item:
kind:
blank: Titre intermédiaire
page: Page
programs: Formations
news: Index des actualités
news_article: Actualité spécifique
news_category: Catégorie d'actualités
page: Page spécifique
program: Formation spécifique
programs: Index des formations
staff: Équipe
url: URL
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