mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
PHRAS-3697 printed pdf improvement (#4063)
* field with label on print * option to hide record information in preview when print * add column printable * add color picker * patch on 4 1 6 cr4 * update locale * bump version to 4.1.6-rc4 * fix bloc info color * font size bloc info * some fix * Fallback to thumbnail when chosen subdefinition is not present or not printable
This commit is contained in:
@@ -317,6 +317,7 @@ class FieldsController extends Controller
|
||||
->set_generate_cterms($data['generate_cterms'])
|
||||
->set_gui_editable($data['gui_editable'])
|
||||
->set_gui_visible($data['gui_visible'])
|
||||
->set_printable($data['printable'])
|
||||
->set_report($data['report'])
|
||||
->setVocabularyControl(null)
|
||||
->setVocabularyRestricted(false);
|
||||
@@ -352,7 +353,7 @@ class FieldsController extends Controller
|
||||
{
|
||||
return [
|
||||
'name', 'multi', 'thumbtitle', 'tag', 'business', 'indexable', 'aggregable',
|
||||
'required', 'separator', 'readonly', 'gui_editable', 'gui_visible' , 'type', 'tbranch', 'generate_cterms', 'report',
|
||||
'required', 'separator', 'readonly', 'gui_editable', 'gui_visible' , 'printable', 'type', 'tbranch', 'generate_cterms', 'report',
|
||||
'vocabulary-type', 'vocabulary-restricted', 'dces-element', 'labels'
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user