cartodb-4.42/app/views/carto/oauth_provider/_header.html.erb

11 lines
644 B
Plaintext
Raw Normal View History

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