{% extends "project/databases/_detail_overview.html" %} {% load i18n sizeformat %} {% block connection_info %}

{% trans "Connection Information" %}


{% if instance.cluster_id %} Link to Cluster Details for Connection Information {% else %}
{% with instance.host as host %}
{% trans "Host" %}
{% if not host %} {% trans "Not Assigned" %}
{% else %} {{ host }}
{% trans "Database Port" %}
27017
{% trans "Connection Examples" %}
mongo --host {{ host }}
mongodb://[{% trans "USERNAME" %}:{% trans "PASSWORD" %}@]{{ host }}:27017/{% trans "DATABASE" %}
{% endif %} {% endwith %}
{% endif %} {% endblock %}