cartodb-4.42/lib/assets/javascripts/dashboard/components/support-view/support-banner.tpl
2024-04-06 05:25:13 +00:00

48 lines
2.8 KiB
Smarty

<div class="u-inner">
<div class="SupportBanner-inner">
<div class="SupportBanner-info">
<h4 class="CDB-Text CDB-Size-large u-secondaryTextColor u-bSpace">
<% if (userType === 'org_admin' || userType === 'client') { %>
As a paying customer, you have access to our dedicated support.
<% } else if (isViewer) { %>
Contact the <a href="mailto:<%- orgDisplayEmail %>">organization administrator</a> to become a builder.
<% } else if (userType === 'org') { %>
Contact the <a href="mailto:<%- orgDisplayEmail %>">organization administrator</a> for support.
<% } else if (userType === "internal") { %>
You are part of CARTO, you deserve outstanding support.
<% } else { %>
For all technical questions, contact our community support forum.
<% } %>
</h4>
<p class="CDB-Text CDB-Size-medium u-altTextColor">
<% if (isViewer) { %>
You will be able to create your own maps!
<% } else if (userType === 'org' || userType === 'org_admin' || userType === 'client') { %>
Remember that there is a lot of information in our <a href="http://gis.stackexchange.com/questions/tagged/carto" target="_blank" rel="noopener noreferrer">community forums</a>.
<% } else if (userType === "internal") { %>
Don't forget to share your knowledge in our <a href="http://gis.stackexchange.com/questions/tagged/carto" target="_blank" rel="noopener noreferrer">community forums</a>.
<% } else { %>
If you experience any problems with the CARTO service, feel free to <a href="mailto:support@carto.com">contact us</a>.
<% } %>
</p>
</div>
<% if (userType === 'org_admin') { %>
<a href="mailto:enterprise-support@carto.com" class="SupportBanner-link CDB-Button CDB-Button--secondary">
<span class="CDB-Button-Text CDB-Text is-semibold CDB-Size-medium u-upperCase">Contact support</span>
</a>
<% } else if (userType === 'org') { %>
<a href="mailto:<%- orgDisplayEmail %>" class="SupportBanner-link CDB-Button CDB-Button--secondary">
<span class="CDB-Button-Text CDB-Text is-semibold CDB-Size-medium u-upperCase">Contact administrator</span>
</a>
<% } else if (userType === 'client' || userType === 'internal') { %>
<a href="mailto:support@carto.com" class="SupportBanner-link CDB-Button CDB-Button--secondary">
<span class="CDB-Button-Text CDB-Text is-semibold CDB-Size-medium u-upperCase">Contact us</span>
</a>
<% } else { %>
<a href="http://gis.stackexchange.com/questions/tagged/carto" class="SupportBanner-link CDB-Button CDB-Button--secondary" target="_blank" rel="noopener noreferrer">
<span class="CDB-Button-Text CDB-Text is-semibold CDB-Size-medium u-upperCase">Community support</span>
</a>
<% } %>
</div>
</div>