Merge pull request #6283 from rekonder/aj_SCI_9162

Fix css for importing inventory [SCI-9162]
This commit is contained in:
Alex Kriuchykhin 2023-09-26 15:07:15 +02:00 committed by GitHub
commit 8cf26d7a90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,20 +27,21 @@
options_from_collection_for_select(@import_data.available_fields,
:first,
:last),
include_blank: t('repositories.parse_sheet.do_not_include_column'),
hide_label: true) %>
<br />
<% if th.nil? %>
<i><%= t('repositories.import_records.no_header_name') %></i>
<% else %>
<% if th.length > Constants::NAME_TRUNCATION_LENGTH_DROPDOWN %>
<div class="modal-tooltip">
<%= truncate(th, length: Constants::NAME_TRUNCATION_LENGTH_DROPDOWN) %>
</div>
{ include_blank: t('repositories.parse_sheet.do_not_include_column'), hide_label: true },
{ class:'form-control' }) %>
<div class="mt-8">
<% if th.nil? %>
<i><%= t('repositories.import_records.no_header_name') %></i>
<% else %>
<%= th %>
<% if th.length > Constants::NAME_TRUNCATION_LENGTH_DROPDOWN %>
<div class="modal-tooltip">
<%= truncate(th, length: Constants::NAME_TRUNCATION_LENGTH_DROPDOWN) %>
</div>
<% else %>
<%= th %>
<% end %>
<% end %>
<% end %>
</div>
</th>
<% end %>
</thead>