{# Data API Help Button resource: the resource #} {% if resource.datastore_active %} {% set loading_text = _('Loading...') %} {% set api_info_url = h.url_for('api.snippet', ver=1, snippet_path='api_info.html', resource_id=resource.id) %} {{ _('Data API') }} {% endif %}