{% extends "explorer/base.html" %} {% load i18n %} {% block sql_explorer_content %}

{% blocktrans with pagenum=page_obj.number %}Recent Query Logs - Page {{pagenum}}{% endblocktrans %}

{% for object in recent_logs %} {% endfor %}
{% trans "Run At" %} {% trans "Run By" %} {% trans "Duration" %} SQL {% trans "Query ID" %} {% trans "Playground" %}
{{ object.run_at|date:"SHORT_DATETIME_FORMAT" }} {{ object.run_by_user.email }} {{ object.duration|floatformat:2 }}ms {{ object.sql }} {% if object.query_id %} {% blocktrans trimmed with query_id=object.query_id %} Query {{ query_id }} {% endblocktrans %} {% elif object.is_playground %} {% trans "Playground" %} {% else %} -- {% endif %} {% trans "Open" %}
{% if is_paginated %} {% endif %}
{% endblock %}