Skip to content

Commit

Permalink
Merge pull request #8163 from snipe/fixes/fix-for-css-on-column-selector
Browse files Browse the repository at this point in the history
Fixed weird padlock display in asset listing with encrypted custom fields
  • Loading branch information
snipe authored Jun 23, 2020
2 parents de4934f + 946129f commit b42801f
Show file tree
Hide file tree
Showing 9 changed files with 84 additions and 72 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 b42801f

Please sign in to comment.