mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +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:
@@ -465,6 +465,7 @@ class databox extends base implements ThumbnailedElement
|
||||
->set_generate_cterms((isset($field['generate_cterms']) && (string) $field['generate_cterms'] == 1))
|
||||
->set_gui_editable((!isset($field['gui_editable']) || (isset($field['gui_editable']) && (string) $field['gui_editable'] == 1)))
|
||||
->set_gui_visible((!isset($field['gui_visible']) || (isset($field['gui_visible']) && (string) $field['gui_visible'] == 1)))
|
||||
->set_printable((!isset($field['printable']) || (isset($field['printable']) && (string) $field['printable'] == 1)))
|
||||
->set_thumbtitle(isset($field['thumbtitle']) ? (string) $field['thumbtitle'] : (isset($field['thumbTitle']) ? $field['thumbTitle'] : '0'))
|
||||
->set_report(isset($field['report']) ? (string) $field['report'] : '1')
|
||||
->save();
|
||||
|
Reference in New Issue
Block a user