Mercurial > farol > farol
comparison farol/templates/base.j2 @ 148:3500cb0c54d1
Restore working popover
author | Benoît Allard <benoit.allard@greenbone.net> |
---|---|
date | Fri, 31 Oct 2014 14:18:47 +0100 |
parents | 3a56d5501ffa |
children | 57b65e7765c1 |
comparison
equal
deleted
inserted
replaced
147:0f19ece4e7e5 | 148:3500cb0c54d1 |
---|---|
98 </li> | 98 </li> |
99 {% endif %} | 99 {% endif %} |
100 {% endblock %} | 100 {% endblock %} |
101 | 101 |
102 {% block pre_content %} | 102 {% block pre_content %} |
103 <script>$('#error-popover').popover()</script> | |
103 {% if has_current %} | 104 {% if has_current %} |
104 {% for element in cache %} | 105 {% for element in cache %} |
105 {# Put the modals for the load action here #} | 106 {# Put the modals for the load action here #} |
106 {% call modal(element + '_modal', 'Load %s from cache' % element) %} | 107 {% call modal(element + '_modal', 'Load %s from cache' % element) %} |
107 <p>You asked to load <strong>{{ element }}</strong>, your changes to <strong>{{ current_id }}</strong> will be lost.</p> | 108 <p>You asked to load <strong>{{ element }}</strong>, your changes to <strong>{{ current_id }}</strong> will be lost.</p> |