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

« back to all changes in this revision

Viewing changes to horizon/templates/base.html

  • Committer: Package Import Robot
  • Author(s): Chuck Short, Adam Gandelman, Chuck Short
  • Date: 2012-11-23 08:49:14 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20121123084914-95m0mzmiicdw64ti
Tags: 2013.1~g1-0ubuntu1
[ Adam Gandelman ]
* debian/patches/add_juju_settings_pannel.patch: Disable during
  Grizzly dev. cycle. 

[ Chuck Short ]
* New upstream relase.
* Refreshed patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
  </head>
13
13
  <body id="{% block body_id %}{% endblock %}">
14
14
    {% block content %}
15
 
      {# FIXME(gabriel): remove the following warning block when Nova fixes their scoping upstream. #}
16
 
      {% if request.user.is_superuser and request.horizon.dashboard.slug == "nova" %}
17
 
        <div class="warning">
18
 
          <div class="warning-text">
19
 
            <h3 class="alert-error">
20
 
                <strong>{% trans "Caution" %}:</strong>
21
 
                <span>{% trans "You are acting as an admin user in the project dashboard." %}</span>
22
 
            </h3>
23
 
            <a href="{% url horizon:nova:overview:warning %}" class="btn btn-small btn-danger ajax-modal">{% trans "Learn More" %}</a>
24
 
          </div>
25
 
        </div>
26
 
      {% endif %}
27
15
      <div id="container">
28
16
        {% block sidebar %}
29
17
          {% include 'horizon/common/_sidebar.html' %}