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

« back to all changes in this revision

Viewing changes to openstack-dashboard/dashboard/templates/_messages.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 i18n %}
2
 
{% for message in messages %}
3
 
  {% if message.tags == "info" %}
4
 
    <div class="alert-message  info">
5
 
      <p><strong>{% trans "Info: " %}</strong>{{ message }}</p>
6
 
    </div>
7
 
  {% endif %}
8
 
  {% if message.tags == "warning" %}
9
 
    <div class="alert-message warning">
10
 
      <p><strong>{% trans "Warning: " %}</strong>{{ message }}</p>
11
 
    </div>
12
 
  {% endif %}
13
 
  {% if message.tags == "success" %}
14
 
    <div class="alert-message  success">
15
 
      <p><strong>{% trans "Success: " %}</strong>{{ message }}</p>
16
 
    </div>
17
 
  {% endif %}
18
 
  {% if message.tags == "error" %}
19
 
    <div class="alert-message  error">
20
 
      <p><strong>{% trans "Error: " %}</strong>{{ message }}</p>
21
 
    </div>
22
 
  {% endif %}
23
 
{% endfor %}