parent
bb057277ff
commit
0632e421b0
2 changed files with 6 additions and 4 deletions
|
@ -160,13 +160,15 @@ class App.UiElement.ApplicationUiElement
|
|||
nameNew = item.displayName()
|
||||
else if item.name
|
||||
nameNew = item.name
|
||||
|
||||
if attribute.translate
|
||||
nameNew = App.i18n.translateInline(nameNew)
|
||||
attribute.options.push {
|
||||
name: nameNew,
|
||||
|
||||
attribute.options.push
|
||||
value: item.id,
|
||||
note: item.note,
|
||||
}
|
||||
name: nameNew,
|
||||
title: if item.email then item.email else nameNew
|
||||
|
||||
attribute.sortBy = null
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
<% end %>
|
||||
<div class="columnSelect-pool js-pool">
|
||||
<% for option in @attribute.options: %>
|
||||
<div class="columnSelect-option js-select js-option<%= ' is-hidden' if option.selected %>" data-value="<%= option.value %>" title="<%= option.name %>"><%= option.name %></div>
|
||||
<div class="columnSelect-option js-select js-option<%= ' is-hidden' if option.selected %>" data-value="<%= option.value %>" title="<%= option.title %>"><%= option.name %></div>
|
||||
<% end %>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in a new issue