summaryrefslogtreecommitdiff
path: root/chimere/templates/admin/osm_export.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2012-11-24 15:36:43 +0100
committerÉtienne Loks <etienne.loks@peacefrogs.net>2012-11-24 15:36:43 +0100
commit1ac9350e74bce36eb8f64d8564a3c44e6072600e (patch)
tree15524fd11dc3d8503966b0e0bf7499a1899272af /chimere/templates/admin/osm_export.html
parent9a88f5af1afbbdeb3fd002bf7d4aaf6d04ba1f01 (diff)
downloadChimère-1ac9350e74bce36eb8f64d8564a3c44e6072600e.tar.bz2
Chimère-1ac9350e74bce36eb8f64d8564a3c44e6072600e.zip
Admin: improve property model management
* Add the ability to hide property model from the admin * Add a warning to the admin that it should reload the webserver
Diffstat (limited to 'chimere/templates/admin/osm_export.html')
-rw-r--r--chimere/templates/admin/osm_export.html31
1 files changed, 0 insertions, 31 deletions
diff --git a/chimere/templates/admin/osm_export.html b/chimere/templates/admin/osm_export.html
deleted file mode 100644
index dab123e..0000000
--- a/chimere/templates/admin/osm_export.html
+++ /dev/null
@@ -1,31 +0,0 @@
-{% extends "admin/base_site.html" %}
-{% load chimere_tags i18n admin_static %}
-
-{% block extrahead %}
-<link rel="stylesheet" type="text/css" href="{% static "admin/css/forms.css" %}" />
-{% endblock %}
-
-
-{% block content %}
-<fieldset class='module'>
-<form method='POST' action='.'>
-{% csrf_token %}
-<input type='hidden' name='action' value='export_to_osm'/>
-<input type='hidden' name='validate' value='1'/>
-<input type='hidden' name='_selected_action' value='{{item.pk}}'/>
-<table>
-{{ form.as_table }}
-</table>
-</fieldset>
-<ul class='messagelist'>
- <li>{% trans "Only points of interest are managed by this export." %}</li>
- <li>{{msg_item}}</li>
- <li>{% trans "Before exporting to OSM an import is done to verify that no modification has been made. All pending imported item have to be validated before export." %}</li>
-</ul>
-<p class='errornote'>{% blocktrans %}Ensure that all the data exported to OSM have an appropriate license. You can exclude some points of interest by checking the checkbox "Not to be imported in OSM" in the point of interest form. <strong>If you are not sure of what you are doing: DON'T EXPORT TO OSM</strong>!{% endblocktrans %}</p>
-<div class='submit-row'>
-<p class='deletelink-box'><a href="{% if item.point %}{% url admin:chimere_marker_changelist %}{%else%}{% url admin:chimere_route_changelist %}{%endif%}">{% trans "Back to list" %}</a></p>
-<input class='default' type='submit' value='{% trans "Export to OSM" %}'/>
-</div>
-</form>
-{% endblock %}