更新 import-data-header.tpl

This commit is contained in:
钟进 2020-07-13 16:25:49 +00:00
parent 1f1ce02ee2
commit 6222bddbd1

View File

@ -7,10 +7,7 @@
</h3>
<p class="CDB-Text CDB-Size-medium u-altTextColor">
<% if (state !== "selected") { %>
<% fileEnabledText = _t('components.modals.add-layer.imports.header-import.select-a-file') +
' <a target="_blank" href="https://carto.com/developers/import-api/guides/importing-geospatial-data/#supported-geospatial-data-formats">' +
_t('components.modals.add-layer.imports.header-import.see-all-formats') +
'</a>'
<% fileEnabledText = _t('components.modals.add-layer.imports.header-import.select-a-file')
%>
<%= _t('components.modals.add-layer.imports.header-import.paste-url', {
fileEnabled: fileEnabled ? fileEnabledText : ''