File tree Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Expand file tree Collapse file tree 4 files changed +31
-4
lines changed Original file line number Diff line number Diff line change @@ -914,10 +914,10 @@ public static function showForTab($params)
914914 {
915915 $ item = $ params ['item ' ];
916916
917- if ($ item ->fields ['type ' ] == "" ) {
917+ if (isset ( $ item -> fields [ ' type ' ]) && $ item ->fields ['type ' ] == "" ) {
918918 $ item ->fields ['type ' ] = $ params ['options ' ]['type ' ];
919919 }
920- if ($ item ->fields ['itilcategories_id ' ] == "" ) {
920+ if (isset ( $ item -> fields [ ' itilcategories_id ' ]) && $ item ->fields ['itilcategories_id ' ] == "" ) {
921921 $ item ->fields ['itilcategories_id ' ] = $ params ['options ' ]['itilcategories_id ' ];
922922 }
923923 $ functions = array_column (debug_backtrace (), 'function ' );
Original file line number Diff line number Diff line change @@ -337,3 +337,30 @@ msgstr "показать"
337337#: inc/containerdisplaycondition.class.php:136
338338msgid "under"
339339msgstr "под"
340+
341+ #: templates/container_display_conditions.html.twig
342+ msgid "The engine is used for hide block when main object meets condition"
343+ msgstr "Блок скроется, когда условие выполнится"
344+
345+ #: templates/field_display_conditions.html.twig
346+ msgid "The engine is used for hide field when main object meets condition"
347+ msgstr "Поле скроется, когда условие выполнится"
348+
349+
350+ #: inc/field_display_condition.class.php:
351+ msgid "Add condition to hide field"
352+ msgstr "Добавить условие скрытия поля"
353+
354+ msgid "Edit condition to hide field"
355+ msgstr "Редактировать условие скрытия поля"
356+
357+ msgid "Condition to hide field"
358+ msgid_plural "Conditions to hide field"
359+ msgstr[ 0 ] "Условие для скрытия поля"
360+ msgstr[ 1 ] "Условия для скрытия поля"
361+ msgstr[ 2 ] "Условия для скрытия поля"
362+ msgstr[ 3 ] "Условия для скрытия поля"
363+
364+ #: inc/container_display_condition.class.php:
365+ msgid "Edit condition to hide block"
366+ msgstr "Редактировать условие скрытия блока"
Original file line number Diff line number Diff line change 3232<div id =" container{{ rand }}" class =" asset" >
3333 <div class =" flash-messages" >
3434 <div class =" alert alert-info" >
35- {{ __(' The engine is used for hide block when main object meets condition' ) }}
35+ {{ __(' The engine is used for hide block when main object meets condition' , ' fields ' ) }}
3636 </div >
3737 </div >
3838 <div class =" d-flex align-items-start mb-3" >
Original file line number Diff line number Diff line change 3232<div id =" container{{ rand }}" class =" asset" >
3333 <div class =" flash-messages" >
3434 <div class =" alert alert-info" >
35- {{ __(' The engine is used for hide field when main object meets condition' ) }}
35+ {{ __(' The engine is used for hide field when main object meets condition' , ' fields ' ) }}
3636 </div >
3737 </div >
3838 <div class =" d-flex align-items-start mb-3" >
You can’t perform that action at this time.
0 commit comments