Author: rjollos
Date: Sun Jun 2 17:21:33 2013
New Revision: 1488745
URL: http://svn.apache.org/r1488745
Log:
Refs #466: Added an optional parameter 'dismiss' (default: True) that
determines whether the dismiss button is present.
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_alert.html
Modified:
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_alert.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_alert.html?rev=1488745&r1=1488744&r2=1488745&view=diff
==============================================================================
---
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_alert.html
(original)
+++
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_alert.html
Sun Jun 2 17:21:33 2013
@@ -29,7 +29,8 @@
<span class="label ${labels[msgtype or None]}" py:if="msglabel">
$msglabel
</span>
- <button type="button" class="close" data-dismiss="alert">×</button>
+ <button py:if="dismiss is not False" type="button" class="close"
+ data-dismiss="alert">×</button>
$msgbody
</p>
<py:if test="msgdetails">