Commit ff152bc0 authored by Thibaut Vallee's avatar Thibaut Vallee
Browse files

correction mineur

parent a1c6e885
Pipeline #11198 passed with stage
in 19 seconds
...@@ -35,8 +35,8 @@ create table unicaen_renderer_rendu ...@@ -35,8 +35,8 @@ create table unicaen_renderer_rendu
references unicaen_renderer_template references unicaen_renderer_template
on delete set null, on delete set null,
date_generation timestamp not null, date_generation timestamp not null,
document_sujet text not null, sujet text not null,
document_corps text not null corps text not null
); );
create unique index unicaen_document_rendu_id_uindex on unicaen_renderer_rendu (id); create unique index unicaen_document_rendu_id_uindex on unicaen_renderer_rendu (id);
......
...@@ -30,7 +30,7 @@ class TemplateController extends AbstractActionController { ...@@ -30,7 +30,7 @@ class TemplateController extends AbstractActionController {
return new ViewModel([ return new ViewModel([
'title' => "Affichage du template", 'title' => "Affichage du template",
'contenu' => $template, 'template' => $template,
]); ]);
} }
......
...@@ -33,6 +33,7 @@ use UnicaenRenderer\Form\Template\TemplateForm; ...@@ -33,6 +33,7 @@ use UnicaenRenderer\Form\Template\TemplateForm;
toolbar: 'newdocument undo redo | bold italic | bullist ', toolbar: 'newdocument undo redo | bold italic | bullist ',
resize: true, resize: true,
language: 'fr_FR', language: 'fr_FR',
entity_encoding : "raw",
templates: macros, templates: macros,
statusbar: true, statusbar: true,
browser_spellcheck: true, browser_spellcheck: true,
...@@ -50,6 +51,7 @@ use UnicaenRenderer\Form\Template\TemplateForm; ...@@ -50,6 +51,7 @@ use UnicaenRenderer\Form\Template\TemplateForm;
toolbar: 'newdocument undo redo | template', toolbar: 'newdocument undo redo | template',
resize: true, resize: true,
language: 'fr_FR', language: 'fr_FR',
entity_encoding : "raw",
plugins: 'lists template', plugins: 'lists template',
templates: macros, templates: macros,
statusbar: true, statusbar: true,
...@@ -70,6 +72,7 @@ use UnicaenRenderer\Form\Template\TemplateForm; ...@@ -70,6 +72,7 @@ use UnicaenRenderer\Form\Template\TemplateForm;
block_formats: 'Normal=p;Titre 1=h1;Titre 2=h2;Titre 3=h3', block_formats: 'Normal=p;Titre 1=h1;Titre 2=h2;Titre 3=h3',
resize: true, resize: true,
language: 'fr_FR', language: 'fr_FR',
entity_encoding : "raw",
plugins: 'lists template table', plugins: 'lists template table',
templates: macros, templates: macros,
statusbar: true, statusbar: true,
...@@ -88,6 +91,7 @@ use UnicaenRenderer\Form\Template\TemplateForm; ...@@ -88,6 +91,7 @@ use UnicaenRenderer\Form\Template\TemplateForm;
toolbar: 'newdocument undo redo | template', toolbar: 'newdocument undo redo | template',
resize: true, resize: true,
language: 'fr_FR', language: 'fr_FR',
entity_encoding : "raw",
plugins: 'lists template', plugins: 'lists template',
templates: macros, templates: macros,
statusbar: true, statusbar: true,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment