~ubuntu-branches/ubuntu/raring/horizon/raring

« back to all changes in this revision

Viewing changes to horizon/templates/horizon/common/_sidebar.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-06-01 10:57:56 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20120601105756-dif0km7n98vhdi2x
Tags: 2012.2~f2~20120530.1777-0ubuntu1
* New upstream release. 
* debian/patches/add_juju_settings_panel.patch: Refreshed
* debian/patches/turn-off-debug.patch: Refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
  {% if request.horizon.dashboard.supports_tenants %}
9
9
  <div id="tenant_switcher" class="dropdown switcher_bar" tabindex='1'>
10
10
    <a class="dropdown-toggle" data-toggle="dropdown" href="#tenant_switcher">
11
 
      <h4>{% trans "Project" %}</h4>
 
11
      <h4>{% trans "Current Project" %}</h4>
12
12
      <h3>{{ request.user.tenant_name }}</h3>
13
13
      </a>
14
14
    <ul id="tenant_list" class="dropdown-menu">
15
15
      <li class='divider'></li>
16
16
      {% for tenant in authorized_tenants %}
17
 
        {% if tenant.enabled %}
 
17
        {% if tenant.enabled and tenant.id != request.user.tenant_id %}
18
18
          <li><a href="{% url horizon:auth_switch tenant.id %}">{{ tenant.name }}</a></li>
19
19
        {% endif %}
20
20
      {% endfor %}