summaryrefslogtreecommitdiff
path: root/chimere/widgets.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/widgets.py')
-rw-r--r--chimere/widgets.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/chimere/widgets.py b/chimere/widgets.py
index 219f30d..7fa8893 100644
--- a/chimere/widgets.py
+++ b/chimere/widgets.py
@@ -522,8 +522,12 @@ class ImportFiltrWidget(AreaWidget):
tpl += u'var msg_missing_filtr = "%s";' % \
_(u"You have to insert a filter tag.")
tpl += u"</script>\n"
- help_msg = _(u"Don't forget to refresh before submit")
- tpl += u"<p class='help-osm'>%s</p>\n" % help_msg
+ help_msg = _(u"If you change the above form don't forget to refresh "\
+ u"before submit!")
+ tpl += u"<p class='help-osm errornote'>%s</p>\n" % help_msg
+ help_msg = _(u"You can put a Folder name in the KML file to filter on "\
+ u"it.")
+ tpl += u"<p class='help-kml'>%s</p>\n" % help_msg
if not value:
value = ''
tpl += u"<div><input type='text' id='id_%s' name='id_%s' "\
@@ -552,7 +556,7 @@ class ImportFiltrWidget(AreaWidget):
lower_right_lon
# as the regexp pass, we could be pretty confident
self.xapi_type, self.xapi_tag, self.bounding_box = xapi_m.groups()
- upper_left_lon, upper_left_lat, lower_right_lon, lower_right_lat = \
+ upper_left_lon, lower_right_lat, lower_right_lon, upper_left_lat = \
self.bounding_box.split(',')
return float(upper_left_lat), float(upper_left_lon), \
float(lower_right_lat), float(lower_right_lon)