updated repository import modal html [fixes SCI-2235]

This commit is contained in:
zmagod 2018-03-30 09:47:27 +02:00
parent b7a14215bc
commit 802e917e69
2 changed files with 9 additions and 1 deletions

View file

@ -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>

View file

@ -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.'