~ubuntu-branches/ubuntu/precise/horizon/precise-updates

« back to all changes in this revision

Viewing changes to .pc/git-2012.1~e2~20111201.1077.patch/openstack-dashboard/dashboard/templates/_topbar.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2011-12-09 16:18:55 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20111209161855-nguyenpghx2o2lqy
Tags: 2012.1~e2~20111209.1104-0ubuntu1
* New upstream release.
* Refreshed patches.
* debian/docs: Removed README

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% load horizon i18n %}
2
 
 
3
 
<div id='header'>
4
 
  <ul id="main_nav">
5
 
    <li id="home_link"><h1><a href='{% url splash %}'>{% trans "OpenStack Dashboard"%}</a></h1></li>
6
 
    {% horizon_main_nav %}
7
 
    <li><a id="settings_btn" {% if request.horizon.dashboard.slug == "settings" %} class="active" {% endif %} href="{% url horizon:settings:user:index %}">&nbsp;</a></li>
8
 
  </ul>
9
 
 
10
 
  <div id="user_bar">
11
 
    <a id="current_tenant" href="#FIXME">
12
 
      <h4>{{request.user.tenant_name}}</h4>
13
 
      <span>as {{request.user.username}}</span>
14
 
    </a>
15
 
    <a id="drop_btn" href="#">&nbsp;</a>
16
 
    <ul id="user_tenant_list">
17
 
      <li class="title"><h4>{% trans "Available Tenants"%}</h4></li>
18
 
      {% for tenant in authorized_tenants %}
19
 
        {% if tenant.enabled %}
20
 
          <li><a href="{% url horizon:auth_switch tenant.id %}">{{tenant.name}}</a></li>
21
 
        {% endif %}
22
 
      {% endfor %}
23
 
      <li id="sign_out"><a href="{% url horizon:auth_logout %}">{% trans "Sign Out"%}</a></li>
24
 
    </ul>
25
 
  </div>
26
 
</div>