diff --git a/Resources/config/routing/customfield.yml b/Resources/config/routing/customfield.yml index fcb34bd97..eb92fdc96 100644 --- a/Resources/config/routing/customfield.yml +++ b/Resources/config/routing/customfield.yml @@ -1,6 +1,11 @@ customfield: path: /{_locale}/admin/customfield/ defaults: { _controller: "ChillCustomFieldsBundle:CustomField:index" } + options: + menus: + admin: + order: 1000 + label: "CustomFields" customfield_show: path: /{_locale}/admin/customfield/{id}/show diff --git a/Resources/views/CustomField/edit.html.twig b/Resources/views/CustomField/edit.html.twig index bfbe14f58..47f98ee92 100644 --- a/Resources/views/CustomField/edit.html.twig +++ b/Resources/views/CustomField/edit.html.twig @@ -1,6 +1,22 @@ -{% extends '::base.html.twig' %} +{# + * Copyright (C) 2014, Champs Libres Cooperative SCRLFS, + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . +#} +{% extends "ChillMainBundle::Admin/layout.html.twig" %} -{% block body -%} +{% block admin_content %}

CustomField edit

{{ form(edit_form) }} diff --git a/Resources/views/CustomField/index.html.twig b/Resources/views/CustomField/index.html.twig index eac49fbd8..1802c3a9c 100644 --- a/Resources/views/CustomField/index.html.twig +++ b/Resources/views/CustomField/index.html.twig @@ -1,6 +1,22 @@ -{% extends '::base.html.twig' %} +{# + * Copyright (C) 2014, Champs Libres Cooperative SCRLFS, + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . +#} +{% extends "ChillMainBundle::Admin/layout.html.twig" %} -{% block body -%} +{% block admin_content %}

CustomField list

diff --git a/Resources/views/CustomField/new.html.twig b/Resources/views/CustomField/new.html.twig index 108602ea0..771abbd10 100644 --- a/Resources/views/CustomField/new.html.twig +++ b/Resources/views/CustomField/new.html.twig @@ -1,6 +1,22 @@ -{% extends '::base.html.twig' %} +{# + * Copyright (C) 2014, Champs Libres Cooperative SCRLFS, + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . +#} +{% extends "ChillMainBundle::Admin/layout.html.twig" %} -{% block body -%} +{% block admin_content %}

CustomField creation

{{ form(form) }} diff --git a/Resources/views/CustomField/show.html.twig b/Resources/views/CustomField/show.html.twig index 70cd6a1b2..451a544db 100644 --- a/Resources/views/CustomField/show.html.twig +++ b/Resources/views/CustomField/show.html.twig @@ -1,6 +1,22 @@ -{% extends '::base.html.twig' %} +{# + * Copyright (C) 2014, Champs Libres Cooperative SCRLFS, + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . +#} +{% extends "ChillMainBundle::Admin/layout.html.twig" %} -{% block body -%} +{% block admin_content %}

CustomField