cartodb-4.42/app/views/carto/admin/mobile_apps/index.html.erb
2024-04-06 05:25:13 +00:00

39 lines
1.2 KiB
Plaintext

<% content_for(:page_title) do %>
Your mobile apps |
<% end %>
<%= content_for(:js) do %>
<script type="text/javascript">
var config = <%= safe_js_object frontend_config %>;
var user_data = <%= safe_js_object current_user.data.to_json %>;
var organization_notifications = <%= safe_js_object @organization_notifications.to_json %>;
</script>
<%= javascript_include_tag 'common', 'common_vendor', 'mobile_apps' %>
<% end %>
<%= content_for(:css) do %>
<%= stylesheet_link_tag 'mobile_apps.css', :media => 'all' %>
<% end %>
<%= render :partial => 'shared/flash_message' %>
<%= render :partial => 'admin/shared/trial_notification' %>
<div class="FormAccount-Section u-inner">
<%= render :partial => 'admin/shared/pages_subheader' %>
<div class="CDB-Text FormAccount-Content">
<%= render :partial => 'admin/shared/api_keys_subheader' %>
<%= render :partial => 'carto/admin/mobile_apps/mobile_plan_info' %>
<% if @mobile_apps.empty? %>
<%= render :partial => 'carto/admin/mobile_apps/no_mobile_apps' %>
<% else %>
<%= render :partial => 'carto/admin/mobile_apps/show' %>
<% end %>
</div>
</div>
<%= render 'admin/shared/new_private_footer' %>