cartodb-4.42/app/views/carto/oauth_provider/_header.html.erb
2024-04-06 05:25:13 +00:00

11 lines
644 B
Plaintext

<%= render :partial => 'avatars' %>
<% if @error.blank? %>
<h1 class='oauth-form__title'>Request for permission</h1>
<h2 class='oauth-form__subtitle'>
<strong><%= @oauth_app.name %></strong> <% if @oauth_app.user %>by <strong><%= @oauth_app.user.name_or_username %></strong><% end %> would like permission to access your account
</h2>
<% else %>
<h1 class='oauth-form__title'>Something went wrong</h1>
<h2 class='oauth-form__subtitle oauth-form__subtitle--error'>An external application failed to connect with CARTO. The application may be incorrectly configured, please contact the application developer for help.</h2>
<% end %>