Improvements on CSV importer form and missing blank space on activities pagination.
This commit is contained in:
parent
8cd3d28b89
commit
fc18101722
|
@ -311,7 +311,8 @@ class CSV extends Importer {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="field is-grouped">
|
||||
<div class="field is-expanded">
|
||||
<label class="label"><?php _e('File Encoding', 'tainacan'); ?></label>
|
||||
<span class="help-wrapper">
|
||||
<a class="help-button has-text-secondary">
|
||||
|
@ -338,7 +339,7 @@ class CSV extends Importer {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="field is-expanded">
|
||||
<label class="label"><?php _e('Repeated Item', 'tainacan'); ?></label>
|
||||
<span class="help-wrapper">
|
||||
<a class="help-button has-text-secondary">
|
||||
|
@ -363,18 +364,15 @@ class CSV extends Importer {
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<label class="label"><?php _e('Importing attachments', 'tainacan'); ?></label>
|
||||
<p>
|
||||
<?php echo nl2br(__("If you also have files you want to import, that are related to the items in your CSV, you can use some special columns in your csv to do so.\n
|
||||
There are two special columns you can use: <b>special_document</b>, which will set the Document of your item, and <b>special_attachments</b> to add one or many attachments.\n
|
||||
The values for the special_document must be prepended with 'url:'', 'file:'' or 'text:'. This will indicate the Document Type.\n
|
||||
The values for the special_attachments is just a list of files. If you want to add many attachments, use the separator you set in the Multivalued Delimiter option.\n
|
||||
In either case, you can point to a file using a full URL, or just a file name. In this last case, you should set the option below to tell Tainacan where to find the files in your server. You can then upload them directly (via FTP for example) and tainacan will add them to your items.\n
|
||||
", 'tainacan')); ?>
|
||||
<?php echo nl2br(__('Check the documentation to learn how to set up your .csv file correctly for importing files <a href="https://tainacan.github.io/tainacan-wiki/#/importers?id=importador-csv-items">on this link.</a>', 'tainacan')); ?>
|
||||
</p>
|
||||
<br>
|
||||
<label class="label"><?php _e('Server path', 'tainacan'); ?></label>
|
||||
<span class="help-wrapper">
|
||||
<a class="help-button has-text-secondary">
|
||||
|
|
|
@ -176,7 +176,7 @@
|
|||
v-if="tab != 'processes' && totalActivities > 0">
|
||||
<div class="shown-items">
|
||||
{{
|
||||
$i18n.get('info_showing_activities') +
|
||||
$i18n.get('info_showing_activities') + ' ' +
|
||||
(activitiesPerPage * (activitiesPage - 1) + 1) +
|
||||
$i18n.get('info_to') +
|
||||
getLastActivityNumber() +
|
||||
|
|
Loading…
Reference in New Issue