mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Use icon instead of "Add" in structural entity select.
This commit is contained in:
parent
b668218154
commit
c71646de3f
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ export default class extends Controller {
|
||||||
item: this.renderItem.bind(this),
|
item: this.renderItem.bind(this),
|
||||||
option: this.renderOption.bind(this),
|
option: this.renderOption.bind(this),
|
||||||
option_create: function(data, escape) {
|
option_create: function(data, escape) {
|
||||||
return '<div class="create">Add <strong>' + escape(data.input) + '</strong>… ' +
|
return '<div class="create"><i class="fa-solid fa-plus fa-fw"></i> <strong>' + escape(data.input) + '</strong>… ' +
|
||||||
'<small class="text-muted float-end">(' + addHint +')</small>' +
|
'<small class="text-muted float-end">(' + addHint +')</small>' +
|
||||||
'</div>';
|
'</div>';
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue