This repository was archived by the owner on Sep 13, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
layouts/basic/modules/Vtiger Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
</button >
10
10
{ /if }
11
11
{ /foreach }
12
- <button class =" btn btn-outline-dark dropdown-toggle ml-2" type =" button" id =" { App\Language::translate(' LBL_RECORD_COLLECTOR' )} " data-toggle =" dropdown" aria-expanded =" false" >
12
+ <button class =" btn btn-outline-dark dropdown-toggle ml-2 { if ! empty( $ SHOW_BTN_LABEL ) } js-popover-tooltip { / if } " type =" button" id = " LBL_RECORD_COLLECTOR " title =" { App\Language::translate(' LBL_RECORD_COLLECTOR' )} " data-toggle =" dropdown" aria-expanded =" false" >
13
13
<span class =" yfi-record-collectors mr-2" ></span >
14
- { App\Language::translate(' LBL_RECORD_COLLECTOR' )}
14
+ { if empty( $ SHOW_BTN_LABEL ) } { App\Language::translate(' LBL_RECORD_COLLECTOR' )} { / if }
15
15
</button >
16
- <div class =" dropdown-menu" aria-label =" { App\Language::translate( ' LBL_RECORD_COLLECTOR' ) } " >
16
+ <div class =" dropdown-menu" aria-label =" LBL_RECORD_COLLECTOR" >
17
17
{ foreach item= COLLECTOR_LINK from= $RECORD_COLLECTOR }
18
18
{ assign var= COLLECTOR value= \App\RecordCollector::getInstance($COLLECTOR_LINK -> get (' linkurl' ), $MODULE_NAME )}
19
19
{ if ! empty($COLLECTOR ) && $COLLECTOR -> isActive () && $COLLECTOR_LINK -> get (' linkicon' ) neq 1}
Original file line number Diff line number Diff line change 34
34
</div >
35
35
<div class =" col-xl-6 col-12 text-center text-xl-right" >
36
36
{ if \App\Privilege::isPermitted($MODULE_NAME , ' RecordCollector' ) && ! empty($QUICKCREATE_LINKS [' EDIT_VIEW_RECORD_COLLECTOR' ])}
37
- { include file= \App\Layout::getTemplatePath(' Edit/RecordCollectors.tpl' , $MODULE ) RECORD_COLLECTOR=$QUICKCREATE_LINKS [' EDIT_VIEW_RECORD_COLLECTOR' ]}
37
+ { include file= \App\Layout::getTemplatePath(' Edit/RecordCollectors.tpl' , $MODULE ) SHOW_BTN_LABEL=1 RECORD_COLLECTOR=$QUICKCREATE_LINKS [' EDIT_VIEW_RECORD_COLLECTOR' ]}
38
38
{ /if }
39
39
{ if ! empty($QUICKCREATE_LINKS [' QUICKEDIT_VIEW_HEADER' ])}
40
40
{ foreach item= LINK from= $QUICKCREATE_LINKS [' QUICKEDIT_VIEW_HEADER' ]}
Original file line number Diff line number Diff line change 56
56
</div >
57
57
<div class =" col-xl-6 col-12 text-center text-xl-right" >
58
58
{ if \App\Privilege::isPermitted($MODULE_NAME , ' RecordCollector' ) && ! empty($QUICKCREATE_LINKS [' EDIT_VIEW_RECORD_COLLECTOR' ])}
59
- { include file= \App\Layout::getTemplatePath(' Edit/RecordCollectors.tpl' , $MODULE ) RECORD_COLLECTOR=$QUICKCREATE_LINKS [' EDIT_VIEW_RECORD_COLLECTOR' ]}
59
+ { include file= \App\Layout::getTemplatePath(' Edit/RecordCollectors.tpl' , $MODULE ) SHOW_BTN_LABEL=1 RECORD_COLLECTOR=$QUICKCREATE_LINKS [' EDIT_VIEW_RECORD_COLLECTOR' ]}
60
60
{ /if }
61
61
{ assign var= " EDIT_VIEW_URL" value= $MODULE_MODEL -> getCreateRecordUrl ()}
62
62
{ if ! empty($QUICKCREATE_LINKS [' QUICKCREATE_VIEW_HEADER' ])}
You can’t perform that action at this time.
0 commit comments