Author: rjollos
Date: Wed Jun 19 18:12:44 2013
New Revision: 1494718
URL: http://svn.apache.org/r1494718
Log:
Fixes #558: Show a message on the Basic Settings admin panel when pytz is not
installed.
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html
Modified:
bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html
URL:
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html?rev=1494718&r1=1494717&r2=1494718&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html
(original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_admin_basics.html
Wed Jun 19 18:12:44 2013
@@ -61,6 +61,10 @@
<option py:for="tzname in timezones" value="${tzname}"
selected="${tzname == default_timezone or
None}">${tzname}</option>
</select>
+ <span py:if="has_pytz is False" class="help-inline">
+ <span class="label label-info">Note</span>
+ Install <code>pytz</code> for a complete list of timezones.
+ </span>
</div>
</div>
<div class="control-group">