Skip to content

Commit 201f487

Browse files
authored
Merge pull request #16303 from snipe/chore/sc-28493
Added tooltip for currency in table
2 parents afa7391 + 069860d commit 201f487

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/Presenters/LocationPresenter.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,13 @@ public static function dataTableLayout()
102102
'titleTooltip' => trans('general.people'),
103103
'visible' => true,
104104
'class' => 'css-house-user',
105-
// 'data-tooltip' => true, - not working, but I want to try to use regular tooltips here
106105
], [
107106
'field' => 'currency',
108107
'searchable' => true,
109108
'sortable' => true,
110109
'switchable' => true,
111-
'title' => trans('general.currency'),
110+
'title' => trans('general.currency_text'),
111+
'titleTooltip' => trans('general.currency_text'),
112112
'visible' => true,
113113
'class' => 'css-currency',
114114
], [

resources/lang/en-US/general.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@
8888
'record_created' => 'Record Created',
8989
'updated_at' => 'Updated at',
9090
'currency' => '$', // this is deprecated
91+
'currency_text' => 'Currency', //
9192
'current' => 'Current',
9293
'current_password' => 'Current Password',
9394
'customize_report' => 'Customize Report',

0 commit comments

Comments
 (0)