mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-09-20 23:16:15 +08:00
updated repository import modal html [fixes SCI-2235]
This commit is contained in:
parent
b7a14215bc
commit
802e917e69
|
@ -13,7 +13,7 @@
|
|||
remote: true) do |f|%>
|
||||
<%= f.hidden_field :team_id, value: current_team.id %>
|
||||
<div class="modal-body">
|
||||
<h4><%= t("teams.parse_sheet.help_text") %></h4>
|
||||
<p><%= t("teams.parse_sheet.help_text") %></p>
|
||||
<div style="overflow-x: scroll">
|
||||
<table class="table parse-records-table" style="display: block">
|
||||
<thead>
|
||||
|
@ -62,6 +62,12 @@
|
|||
|
||||
<div id="import-errors-container">
|
||||
</div>
|
||||
<div class="alert alert-info" role="alert">
|
||||
<ul>
|
||||
<li><%= t('repositories.modal_parse.warning_1') %></li>
|
||||
<li><%= t('repositories.modal_parse.warning_2') %></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal" onClick="pageReload()"><%= t('general.cancel')%></button>
|
||||
|
|
|
@ -962,6 +962,8 @@ en:
|
|||
delete: "Delete column"
|
||||
modal_parse:
|
||||
title: 'Import items'
|
||||
warning_1: 'Be careful when importing into Dropdown column/s! Each new unique cell value from the file will create a new Dropdown option. This could result in large amounts of Dropdown options.'
|
||||
warning_2: 'Importing into file columns is not supported.'
|
||||
modal_import:
|
||||
title: 'Import items'
|
||||
notice: 'You may upload .csv file (comma separated) or tab separated file (.txt or .tsv) or Excel file (.xlsx). First row should include header names, followed by rows with sample data.'
|
||||
|
|
Loading…
Reference in a new issue