cartodb-4.42/lib/assets/javascripts/builder/editor/layers/sync-info/sync-info.tpl
2024-04-06 05:25:13 +00:00

16 lines
607 B
Smarty
Executable File

<div class="u-flex u-alignCenter u-justifySpace">
<div class="u-flex u-alignCenter CDB-Text CDB-Size-small u-altTextColor SyncInfo-message--<%- state %> js-state">
<i class="CDB-IconFont CDB-IconFont-wifi"></i>
<p class="u-upperCase is-semibold u-lSpace">
<% if (errorCode || errorMessage) { %>
<%- _t('dataset.sync.sync-failed') %>
<% } else { %>
<%- ranAt %>
<% } %>
</p>
</div>
<% if (isOwner) { %>
<button class="CDB-Text CDB-Size-small u-upperCase js-options SyncInfo-viewOptions"><%- _t('dataset.sync.view-options') %></button>
<% } %>
</div>