Skip to content

Commit

Permalink
Fix for weird padlock display in asset listing with encrypted custom …
Browse files Browse the repository at this point in the history
…fields
  • Loading branch information
snipe committed Jun 23, 2020
1 parent de4934f commit d1aa11e
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 12 deletions.
7 changes: 5 additions & 2 deletions app/Presenters/AssetPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,11 @@ public static function dataTableLayout()
"searchable" => true,
"sortable" => true,
"switchable" => true,
"title" => ($field->field_encrypted=='1') ?'<i class="fa fa-lock"></i> '.$field->name : $field->name,
"formatter" => "customFieldsFormatter"
"title" => $field->name,
'formatter' => 'customFieldsFormatter',
'escape' => true,
'class' => ($field->field_encrypted=='1') ? 'css-padlock' : '',
'visible' => true,
];

}
Expand Down
2 changes: 1 addition & 1 deletion public/css/build/all.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/css/dist/all.css

Large diffs are not rendered by default.

Loading

0 comments on commit d1aa11e

Please sign in to comment.