~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/_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="message_box info">
5
 
      <h2>{% trans "Info"%}</h2>
6
 
      <p>{{ message }}</p>
7
 
    </div>
8
 
  {% endif %}
9
 
  {% if message.tags == "warning" %}
10
 
    <div class="message_box medium">
11
 
      <h2>{% trans "Warning"%}</h2>
12
 
      <p>{{ message }}</p>
13
 
    </div>
14
 
  {% endif %}
15
 
  {% if message.tags == "success" %}
16
 
    <div class="message_box success">
17
 
      <h2>{% trans "Success"%}</h2>
18
 
      <p>{{ message }}</p>
19
 
    </div>
20
 
  {% endif %}
21
 
  {% if message.tags == "error" %}
22
 
    <div class="message_box error">
23
 
      <h2>{% trans "Error"%}</h2>
24
 
      <p>{{ message }}</p>
25
 
    </div>
26
 
  {% endif %}
27
 
{% endfor %}