~ubuntu-branches/ubuntu/trusty/horizon/trusty-updates

« back to all changes in this revision

Viewing changes to openstack_dashboard/dashboards/project/databases/templates/databases/_detail_overview.html

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-03-06 16:53:28 UTC
  • mfrom: (1.1.37)
  • Revision ID: package-import@ubuntu.com-20140306165328-w2vgmtfriqlhp27m
Tags: 1:2014.1~b3-0ubuntu1
* New upstream milestone release.
* d/static/*: Refreshed assets for new upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
  <h4>{% trans "Connection Info" %}</h4>
22
22
  <hr class="header_rule">
23
23
  <dl>
24
 
    {% with instance.ip.0 as ipaddress %}
25
 
    <dt>{% trans "Instance IP Address" %}</dt>
26
 
    <dd>{{ ipaddress }}</dd>
 
24
    {% with instance.host as host %}
 
25
    <dt>{% trans "Host" %}</dt>
 
26
    <dd>{{ host }}</dd>
27
27
    <dt>{% trans "Database Port" %}</dt>
28
28
    <dd>3306</dd> {# TODO: This should be a config #}
29
29
    <dt>{% trans "Connection Examples" %}</dt>
30
 
    <dd>mysql -h {{ ipaddress }} -u USERNAME -p</dd>
31
 
    <dd>mysql://USERNAME:PASSWORD@{{ ipaddress }}:3306/DATABASE</dd>
 
30
    <dd>mysql -h {{ host }} -u USERNAME -p</dd>
 
31
    <dd>mysql://USERNAME:PASSWORD@{{ host }}:3306/DATABASE</dd>
32
32
    {% endwith %}
33
33
  </dl>
34
34
</div>