cartodb-4.42/lib/assets/javascripts/builder/editor/layers/sync-info/sync-info.tpl

16 lines
607 B
Smarty
Raw Normal View History

2024-04-06 13:25:13 +08:00
<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>