diff options
Diffstat (limited to 'chimere/rss/templates/rss.html')
| -rw-r--r-- | chimere/rss/templates/rss.html | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/chimere/rss/templates/rss.html b/chimere/rss/templates/rss.html index c28b3db..0c895ed 100644 --- a/chimere/rss/templates/rss.html +++ b/chimere/rss/templates/rss.html @@ -17,16 +17,17 @@ <label for="rss_category">{% trans "Type of RSS feed" %}</label> <select name='rss_category' id='rss_category' onchange='document.forms["rss_form"].submit();'> <option value=""> ---- </option> - <option value="global">{% trans "All the new points of interest" %}</option> - <option value="poi">{% trans "Category of point of interest" %}</option> - <option value="area">{% trans "Area" %}</option> + <option value="global">{% trans "All new points of interest" %}</option> + <option value="poi">{% trans "New points of interest by category" %}</option> + <option value="area">{% trans "New points of interest by area" %}</option> </select> </div> {% endif %} {%ifequal category_rss_feed "category" %} +<h3>{% trans "New points of interest by category" %}</h3> <div class="fieldWrapper"> - <label for="id_subcategory">{% trans "Category of POI" %}</label> + <label for="id_subcategory">{% trans "Choose a category" %}</label> <select name='subcategory' id='subcategory' onchange='document.forms["rss_form"].submit();'> {% for cat_subcat in sub_categories %} <option value ="cat_{{cat_subcat.0.id}}"> ---- {{cat_subcat.0.name}} ---- @@ -40,9 +41,10 @@ {% endifequal %} {%ifequal category_rss_feed "area" %} +<h3>{% trans "New points of interest by area" %}</h3> {% if area_id %} <div class="fieldWrapper"> - <label for="id_area">{% trans "Pre-defined areas:" %}</label> + <label for="id_area">{% trans "Choose a pre-defined areas" %}</label> <select name='id_area' id='id_area' onchange='document.forms["rss_form"].submit();'> <option value="" selected="selected"> ---- </option> {% for areaID in area_id %} @@ -55,12 +57,13 @@ <form method='post' action=''> {% endif %} +<div class='fieldWrapper'> +<label>{% trans "Or select the area by zooming and panning this map" %}</label> <div class="map"> - -<label>{% trans "Or select the area by zooming an panning this map:" %}</label> {{form.area}} </div> -<p><input type="submit" value="{% trans "Submit" %}" /></p> +</div> +<p><input type="submit" value="{% trans "Validate" %}" /></p> {% endifequal %} </form> |
