From a5fb0c8a6f9af76fbd2c1428a313185dff4f45fe Mon Sep 17 00:00:00 2001 From: Paolo Pasquali Date: Fri, 29 Sep 2017 15:20:24 +0200 Subject: [PATCH] Update some templates to 2.6.3 --- haitidata/settings.py | 2 +- haitidata/static/css/haitidata.css | 2 +- haitidata/static/less/haitidata.less | 2 +- haitidata/templates/401.html | 30 - haitidata/templates/404.html | 9 - haitidata/templates/500.html | 309 ---------- haitidata/templates/_announcements.html | 17 - .../templates/_bulk_permissions_form.html | 25 - haitidata/templates/_messages.html | 10 - haitidata/templates/_permissions.html | 173 ------ haitidata/templates/_permissions_form.html | 38 -- haitidata/templates/_permissions_form_js.html | 334 ---------- haitidata/templates/_status_message.html | 5 - haitidata/templates/about.html | 14 - .../account/admin_approval_sent.html | 21 - .../account/email_confirmation_sent.html | 23 - haitidata/templates/account/login.html | 23 - haitidata/templates/account/logout.html | 33 - .../templates/account/password_change.html | 33 - .../templates/account/password_reset.html | 31 - haitidata/templates/account/signup.html | 49 -- haitidata/templates/actstream/actor.html | 33 - .../admin/backups/confirm_cancel.html | 27 - haitidata/templates/admin/base_site.html | 12 - .../announcement_confirm_delete.html | 37 -- haitidata/templates/announcements/detail.html | 17 - .../templates/autocomplete_response.html | 4 - haitidata/templates/avatar/add.html | 42 -- haitidata/templates/avatar/change.html | 56 -- .../templates/avatar/confirm_delete.html | 39 -- .../base/_resourcebase_contact_snippet.html | 23 - .../base/_resourcebase_info_panel.html | 173 ------ .../base/_resourcebase_opengraph.html | 7 - .../base/_resourcebase_twittercard.html | 7 - .../base/resourcebase_info_panel.html | 10 - .../catalogue/geonode_metadata_full.html | 177 ------ haitidata/templates/developer.html | 104 ---- haitidata/templates/dialogos/_comment.html | 1 - .../templates/documents/document_base.html | 12 - .../documents/document_metadata.html | 90 --- .../documents/document_metadata_detail.html | 1 - .../templates/documents/document_remove.html | 26 - .../templates/documents/document_replace.html | 34 -- haitidata/templates/facebook_sdk.html | 8 - haitidata/templates/geonode_base.html | 4 - .../templates/groups/_group_list_item.html | 30 - .../templates/groups/_group_opengraph.html | 10 - .../templates/groups/_group_twittercard.html | 9 - haitidata/templates/groups/activity.html | 70 --- haitidata/templates/groups/base.html | 1 - .../templates/groups/email/invite_user.txt | 3 - .../groups/email/invite_user_subject.txt | 1 - haitidata/templates/groups/group_base.html | 12 - .../groups/group_invite_response.html | 18 - haitidata/templates/groups/group_members.html | 11 +- haitidata/templates/groups/group_remove.html | 6 +- .../groups/group_remove_maps_data.html | 18 - haitidata/templates/groups/group_update.html | 8 +- haitidata/templates/help.html | 77 --- haitidata/templates/index.html | 85 --- haitidata/templates/lang.js | 242 -------- haitidata/templates/layers/layer_base.html | 12 - .../templates/layers/layer_change_poc.html | 22 - haitidata/templates/layers/layer_detail.html | 248 ++++---- .../templates/layers/layer_geoext_map.html | 162 ----- .../layers/layer_granule_remove.html | 40 -- .../templates/layers/layer_leaflet_map.html | 79 --- haitidata/templates/layers/layer_list.html | 3 +- haitidata/templates/layers/layer_map.html | 1 - .../templates/layers/layer_metadata.html | 133 ---- .../layers/layer_metadata_detail.html | 1 - haitidata/templates/layers/layer_ol3_map.html | 69 --- haitidata/templates/layers/layer_remove.html | 40 -- haitidata/templates/layers/layer_replace.html | 125 ---- .../templates/layers/layer_style_manage.html | 89 --- .../layers/wps_execute_gs_aggregate.xml | 84 --- .../layers/wps_execute_gs_unique.xml | 27 - .../templates/leaflet_maps/map_base.html | 13 - .../templates/leaflet_maps/map_list.html | 32 - .../templates/leaflet_maps/map_view.html | 569 ------------------ haitidata/templates/maps/map_base.html | 12 - haitidata/templates/maps/map_download.html | 134 ----- haitidata/templates/maps/map_edit.html | 19 - haitidata/templates/maps/map_embed.html | 40 -- haitidata/templates/maps/map_geoexplorer.js | 44 -- haitidata/templates/maps/map_include.html | 36 -- haitidata/templates/maps/map_leaflet.html | 81 --- haitidata/templates/maps/map_list.html | 1 - haitidata/templates/maps/map_metadata.html | 21 +- .../templates/maps/map_metadata_detail.html | 1 - haitidata/templates/maps/map_new.html | 19 - haitidata/templates/maps/map_ol3.html | 62 -- haitidata/templates/maps/map_remove.html | 8 +- haitidata/templates/maps/map_sdk.js | 44 -- haitidata/templates/maps/map_view.html | 18 - haitidata/templates/maps/wmc.xml | 87 --- .../templates/masdap/entry_page_header.html | 25 - .../templates/masdap/map_entry_page.html | 59 -- haitidata/templates/metadata_detail.html | 376 ------------ haitidata/templates/metadata_form_js.html | 85 --- .../templates/people/_profile_about_item.html | 15 - .../templates/people/_profile_filters.html | 8 - .../templates/people/_profile_list_item.html | 54 -- .../templates/people/_profile_opengraph.html | 8 - .../people/_profile_twittercard.html | 7 - .../people/forgot_username_form.html | 19 - haitidata/templates/people/profile_base.html | 13 - .../templates/people/profile_create.html | 17 - haitidata/templates/rating.html | 14 - .../relationships/_list_connections.html | 18 - .../relationships/_manage_connections.html | 8 - .../relationships/_profile_follow.html | 18 - .../templates/relationships/confirm.html | 15 - .../relationships/relationship_list.html | 31 - .../templates/relationships/success.html | 8 - haitidata/templates/request_download.html | 26 - .../indexes/documents/document_text.txt | 6 + .../indexes/groups/groupprofile_text.txt | 4 + .../search/indexes/layers/layer_text.txt | 7 + .../search/indexes/maps/map_text.txt | 7 + .../search/indexes/people/profile_text.txt | 7 + haitidata/templates/search/search.html | 3 +- .../templates/services/layers_register.html | 48 -- .../templates/services/service_detail.html | 125 ---- .../templates/services/service_layers.html | 14 - .../templates/services/service_remove.html | 23 - .../templates/services/services_base.html | 23 - .../templates/social/_activity_item.html | 33 - .../templates/upload/layer_upload_base.html | 12 - .../templates/upload/layer_upload_crs.html | 46 -- .../templates/upload/layer_upload_csv.html | 67 --- .../templates/upload/layer_upload_error.html | 7 - .../upload/layer_upload_invalid.html | 8 - .../templates/upload/layer_upload_time.html | 166 ----- haitidata/templates/upload/no_upload.html | 19 - .../user_messages/_message_snippet.html | 46 -- haitidata/templates/user_messages/inbox.html | 81 --- .../user_messages/message_create.html | 32 - .../user_messages/thread_detail.html | 33 - 139 files changed, 198 insertions(+), 6547 deletions(-) delete mode 100644 haitidata/templates/401.html delete mode 100644 haitidata/templates/404.html delete mode 100644 haitidata/templates/500.html delete mode 100644 haitidata/templates/_announcements.html delete mode 100644 haitidata/templates/_bulk_permissions_form.html delete mode 100644 haitidata/templates/_messages.html delete mode 100644 haitidata/templates/_permissions.html delete mode 100644 haitidata/templates/_permissions_form.html delete mode 100644 haitidata/templates/_permissions_form_js.html delete mode 100644 haitidata/templates/_status_message.html delete mode 100644 haitidata/templates/about.html delete mode 100644 haitidata/templates/account/admin_approval_sent.html delete mode 100644 haitidata/templates/account/email_confirmation_sent.html delete mode 100644 haitidata/templates/account/login.html delete mode 100644 haitidata/templates/account/logout.html delete mode 100644 haitidata/templates/account/password_change.html delete mode 100644 haitidata/templates/account/password_reset.html delete mode 100644 haitidata/templates/account/signup.html delete mode 100644 haitidata/templates/actstream/actor.html delete mode 100644 haitidata/templates/admin/backups/confirm_cancel.html delete mode 100644 haitidata/templates/admin/base_site.html delete mode 100644 haitidata/templates/announcements/announcement_confirm_delete.html delete mode 100644 haitidata/templates/announcements/detail.html delete mode 100644 haitidata/templates/autocomplete_response.html delete mode 100644 haitidata/templates/avatar/add.html delete mode 100644 haitidata/templates/avatar/change.html delete mode 100644 haitidata/templates/avatar/confirm_delete.html delete mode 100644 haitidata/templates/base/_resourcebase_contact_snippet.html delete mode 100644 haitidata/templates/base/_resourcebase_info_panel.html delete mode 100644 haitidata/templates/base/_resourcebase_opengraph.html delete mode 100644 haitidata/templates/base/_resourcebase_twittercard.html delete mode 100644 haitidata/templates/base/resourcebase_info_panel.html delete mode 100644 haitidata/templates/catalogue/geonode_metadata_full.html delete mode 100644 haitidata/templates/developer.html delete mode 100644 haitidata/templates/dialogos/_comment.html delete mode 100644 haitidata/templates/documents/document_base.html delete mode 100644 haitidata/templates/documents/document_metadata.html delete mode 100644 haitidata/templates/documents/document_metadata_detail.html delete mode 100644 haitidata/templates/documents/document_remove.html delete mode 100644 haitidata/templates/documents/document_replace.html delete mode 100644 haitidata/templates/facebook_sdk.html delete mode 100644 haitidata/templates/geonode_base.html delete mode 100644 haitidata/templates/groups/_group_list_item.html delete mode 100644 haitidata/templates/groups/_group_opengraph.html delete mode 100644 haitidata/templates/groups/_group_twittercard.html delete mode 100644 haitidata/templates/groups/activity.html delete mode 100644 haitidata/templates/groups/base.html delete mode 100644 haitidata/templates/groups/email/invite_user.txt delete mode 100644 haitidata/templates/groups/email/invite_user_subject.txt delete mode 100644 haitidata/templates/groups/group_base.html delete mode 100644 haitidata/templates/groups/group_invite_response.html delete mode 100644 haitidata/templates/groups/group_remove_maps_data.html delete mode 100644 haitidata/templates/help.html delete mode 100644 haitidata/templates/index.html delete mode 100644 haitidata/templates/lang.js delete mode 100644 haitidata/templates/layers/layer_base.html delete mode 100644 haitidata/templates/layers/layer_change_poc.html delete mode 100644 haitidata/templates/layers/layer_geoext_map.html delete mode 100644 haitidata/templates/layers/layer_granule_remove.html delete mode 100644 haitidata/templates/layers/layer_leaflet_map.html delete mode 100644 haitidata/templates/layers/layer_map.html delete mode 100644 haitidata/templates/layers/layer_metadata.html delete mode 100644 haitidata/templates/layers/layer_metadata_detail.html delete mode 100644 haitidata/templates/layers/layer_ol3_map.html delete mode 100644 haitidata/templates/layers/layer_remove.html delete mode 100644 haitidata/templates/layers/layer_replace.html delete mode 100644 haitidata/templates/layers/layer_style_manage.html delete mode 100644 haitidata/templates/layers/wps_execute_gs_aggregate.xml delete mode 100644 haitidata/templates/layers/wps_execute_gs_unique.xml delete mode 100644 haitidata/templates/leaflet_maps/map_base.html delete mode 100644 haitidata/templates/leaflet_maps/map_list.html delete mode 100644 haitidata/templates/leaflet_maps/map_view.html delete mode 100644 haitidata/templates/maps/map_base.html delete mode 100644 haitidata/templates/maps/map_download.html delete mode 100644 haitidata/templates/maps/map_edit.html delete mode 100644 haitidata/templates/maps/map_embed.html delete mode 100644 haitidata/templates/maps/map_geoexplorer.js delete mode 100644 haitidata/templates/maps/map_include.html delete mode 100644 haitidata/templates/maps/map_leaflet.html delete mode 100644 haitidata/templates/maps/map_metadata_detail.html delete mode 100644 haitidata/templates/maps/map_new.html delete mode 100644 haitidata/templates/maps/map_ol3.html delete mode 100644 haitidata/templates/maps/map_sdk.js delete mode 100644 haitidata/templates/maps/map_view.html delete mode 100644 haitidata/templates/maps/wmc.xml delete mode 100644 haitidata/templates/masdap/entry_page_header.html delete mode 100644 haitidata/templates/masdap/map_entry_page.html delete mode 100644 haitidata/templates/metadata_detail.html delete mode 100644 haitidata/templates/metadata_form_js.html delete mode 100644 haitidata/templates/people/_profile_about_item.html delete mode 100644 haitidata/templates/people/_profile_filters.html delete mode 100644 haitidata/templates/people/_profile_list_item.html delete mode 100644 haitidata/templates/people/_profile_opengraph.html delete mode 100644 haitidata/templates/people/_profile_twittercard.html delete mode 100644 haitidata/templates/people/forgot_username_form.html delete mode 100644 haitidata/templates/people/profile_base.html delete mode 100644 haitidata/templates/people/profile_create.html delete mode 100644 haitidata/templates/rating.html delete mode 100644 haitidata/templates/relationships/_list_connections.html delete mode 100644 haitidata/templates/relationships/_manage_connections.html delete mode 100644 haitidata/templates/relationships/_profile_follow.html delete mode 100644 haitidata/templates/relationships/confirm.html delete mode 100644 haitidata/templates/relationships/relationship_list.html delete mode 100644 haitidata/templates/relationships/success.html delete mode 100644 haitidata/templates/request_download.html create mode 100644 haitidata/templates/search/indexes/documents/document_text.txt create mode 100644 haitidata/templates/search/indexes/groups/groupprofile_text.txt create mode 100644 haitidata/templates/search/indexes/layers/layer_text.txt create mode 100644 haitidata/templates/search/indexes/maps/map_text.txt create mode 100644 haitidata/templates/search/indexes/people/profile_text.txt delete mode 100644 haitidata/templates/services/layers_register.html delete mode 100644 haitidata/templates/services/service_detail.html delete mode 100644 haitidata/templates/services/service_layers.html delete mode 100644 haitidata/templates/services/service_remove.html delete mode 100644 haitidata/templates/services/services_base.html delete mode 100644 haitidata/templates/social/_activity_item.html delete mode 100644 haitidata/templates/upload/layer_upload_base.html delete mode 100644 haitidata/templates/upload/layer_upload_crs.html delete mode 100644 haitidata/templates/upload/layer_upload_csv.html delete mode 100644 haitidata/templates/upload/layer_upload_error.html delete mode 100644 haitidata/templates/upload/layer_upload_invalid.html delete mode 100644 haitidata/templates/upload/layer_upload_time.html delete mode 100644 haitidata/templates/upload/no_upload.html delete mode 100644 haitidata/templates/user_messages/_message_snippet.html delete mode 100644 haitidata/templates/user_messages/inbox.html delete mode 100644 haitidata/templates/user_messages/message_create.html delete mode 100644 haitidata/templates/user_messages/thread_detail.html diff --git a/haitidata/settings.py b/haitidata/settings.py index 16370d2..f9e4955 100644 --- a/haitidata/settings.py +++ b/haitidata/settings.py @@ -155,7 +155,7 @@ UPLOADER = { 'BACKEND': 'geonode.rest', 'OPTIONS': { 'TIME_ENABLED': False, - 'MOSAIC_ENABLED': False, + 'MOSAIC_ENABLED': True, 'GEOGIG_ENABLED': False, } } diff --git a/haitidata/static/css/haitidata.css b/haitidata/static/css/haitidata.css index 260520a..8a5e0b4 100644 --- a/haitidata/static/css/haitidata.css +++ b/haitidata/static/css/haitidata.css @@ -6947,7 +6947,7 @@ section#subheader { padding-top: 0; } section#subheader p { - color: #b0bec5; + color: #78909c; display: inline-block; } section#subheader .btn-group { diff --git a/haitidata/static/less/haitidata.less b/haitidata/static/less/haitidata.less index 9fc58ed..31c8db8 100755 --- a/haitidata/static/less/haitidata.less +++ b/haitidata/static/less/haitidata.less @@ -251,7 +251,7 @@ section#subheader { padding-top: 0; p { - color: @gray-light; + color: @gray; display: inline-block; } diff --git a/haitidata/templates/401.html b/haitidata/templates/401.html deleted file mode 100644 index 100c49b..0000000 --- a/haitidata/templates/401.html +++ /dev/null @@ -1,30 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} - -{% block body %} -
-

- {% if error_title %} - {{ error_title }} - {% else %} - {% trans "Not Permitted" %} - {% endif %} -

-
-

- {% if error_message %} - {{ error_message }} - {% else %} - {% blocktrans %} - You are not allowed to perform this operation. - {% endblocktrans %} - {% endif %} -

-

- {% if not request.user.is_anonymous %} - {% blocktrans %}Please verify that you are logged in as the correct user.{%endblocktrans%} - {% else %} - {% blocktrans %}Please login or register and retry.{% endblocktrans %} - {% endif %} -

-{% endblock %} diff --git a/haitidata/templates/404.html b/haitidata/templates/404.html deleted file mode 100644 index 80405ff..0000000 --- a/haitidata/templates/404.html +++ /dev/null @@ -1,9 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} - -{% block body %} -

{% trans "Page Not Found" %}

- {% blocktrans %} - The page you requested does not exist. Perhaps you are using an outdated bookmark? - {% endblocktrans %} -{% endblock %} diff --git a/haitidata/templates/500.html b/haitidata/templates/500.html deleted file mode 100644 index ba69745..0000000 --- a/haitidata/templates/500.html +++ /dev/null @@ -1,309 +0,0 @@ -{% load i18n avatar_tags %} - - - - - - - {% block title %}{{ SITE_NAME }}{% endblock %} - {% block head %} - {% if DEBUG_STATIC %} - - - - - - {% else %} - - {% endif %} - - - - {% block extra_head %} - {% endblock %} - {% endblock %} - - - - - - {% block header %} - - {% endblock header %} - - - -
- {% block middle %} -
- {% include "_status_message.html" %} - {% include "_announcements.html" %} - {% include "_messages.html" %} - {% block body_outer %} -
-
- {% block body %} -
-

{% trans "There was a problem loading this page" %}

-
- {% blocktrans %} - Please contact your GeoNode administrator (he may have received an email automatically if he configured it properly). - If you are the site administrator, enable debug mode to see the actual error and fix it or file an issue in GeoNode's issue tracker - {% endblocktrans %} - {% endblock %} -
-
- {% block sidebar %}{% endblock %} -
-
- {% endblock %} -
- {% endblock middle %} -
- - {% block footer %} - - {% endblock footer %} - - - - {% if not user.is_authenticated %} - - {% else %} - - {% endif %} - - - {% if DEBUG_STATIC %} - - - - - - - - - - - - {% else %} - - {% endif %} - - - {% include 'autocomplete_light/static.html' %} - - {% block extra_script %}{% endblock extra_script %} - - - - - - diff --git a/haitidata/templates/_announcements.html b/haitidata/templates/_announcements.html deleted file mode 100644 index 852a512..0000000 --- a/haitidata/templates/_announcements.html +++ /dev/null @@ -1,17 +0,0 @@ -{% load i18n announcements_tags %} - -{% announcements as site_wide_announcements %} -{% if site_wide_announcements %} -
- {% for announcement in site_wide_announcements %} -
- {% if announcement.dismissal_type > 1 %} - × - {% endif %} -

{{ announcement }}

-

{{ announcement.creation_date }}

-
{{ announcement.content }}
-
- {% endfor %} -
-{% endif %} diff --git a/haitidata/templates/_bulk_permissions_form.html b/haitidata/templates/_bulk_permissions_form.html deleted file mode 100644 index 20c4d86..0000000 --- a/haitidata/templates/_bulk_permissions_form.html +++ /dev/null @@ -1,25 +0,0 @@ -{% load i18n %} - - diff --git a/haitidata/templates/_messages.html b/haitidata/templates/_messages.html deleted file mode 100644 index a54736e..0000000 --- a/haitidata/templates/_messages.html +++ /dev/null @@ -1,10 +0,0 @@ -{% if messages %} -
- {% for message in messages %} -
- × - {{ message }}

-
- {% endfor %} -
-{% endif %} diff --git a/haitidata/templates/_permissions.html b/haitidata/templates/_permissions.html deleted file mode 100644 index ff5474a..0000000 --- a/haitidata/templates/_permissions.html +++ /dev/null @@ -1,173 +0,0 @@ -{% load i18n %} -
- -
- -
-
-
- -
-
- -
-
- -
-
-
-
- -
- -
-
-
- -
-
- -
-
- -
-
-
-
- -
- -
-
-
- -
-
- -
-
-
-
- {% if is_layer %} - -
- -
-
-
- -
-
- -
-
-
-
- -
- -
-
-
- -
-
- -
-
-
-
- {% endif %} - -
- -
-
-
- -
-
- -
-
-
-
-
diff --git a/haitidata/templates/_permissions_form.html b/haitidata/templates/_permissions_form.html deleted file mode 100644 index 269fe87..0000000 --- a/haitidata/templates/_permissions_form.html +++ /dev/null @@ -1,38 +0,0 @@ -{% load i18n %} - - - - \ No newline at end of file diff --git a/haitidata/templates/_permissions_form_js.html b/haitidata/templates/_permissions_form_js.html deleted file mode 100644 index 4dec095..0000000 --- a/haitidata/templates/_permissions_form_js.html +++ /dev/null @@ -1,334 +0,0 @@ -{% load i18n %} - diff --git a/haitidata/templates/_status_message.html b/haitidata/templates/_status_message.html deleted file mode 100644 index 190fa68..0000000 --- a/haitidata/templates/_status_message.html +++ /dev/null @@ -1,5 +0,0 @@ - diff --git a/haitidata/templates/about.html b/haitidata/templates/about.html deleted file mode 100644 index c113e3b..0000000 --- a/haitidata/templates/about.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% block title %} {% trans "About HaitiData" %} — {{ block.super }} {% endblock %} - -{% block body_outer %} - -

Le but de ce site est de faciliter l’accès libre à de l’information, des données et des connaissances géospatiales, sur les désastres naturels et sur la vulnérabilité et le risque en Haïti, ainsi que d’encourager leur partage et leur utilisation.

-

Les données géospatiales peuvent être utilisées à plusieurs fins : l’établissement de données de base, l’élaboration d’évaluations des risques, la planification, la surveillance de projets et le suivi de leur avancement. L’accès à de l’information de haute qualité est critique pour les planificateurs, les décideurs et autres intervenants impliqués dans la reconstruction d’Haïti. Ce site vise à faciliter un support plus efficace à la réhabilitation, le redressement et le développement durable à long terme du pays.

-

Suite au tremblement de terre du 12 janvier 2010, une quantité substantielle de données géospatiales a été créée, permettant d’évaluer l’intensité du séisme, la probabilité d’inondations, les risques associés aux glissements de terrain et aux tsunamis ainsi que les dommages, de façon globale. L’énormité du besoin actuel en assistance matérielle, en support pour le renforcement de la structure de gouvernance ainsi que la quantité innombrable d’organisations locales et internationales se joignant dans l’assistance aux processus de reconstruction et de développement, posent également un défi considérable à la capacité du gouvernement et des autres mandataires à se coordonner, afin que le peuple d’Haïti en bénéficie. Ce site souhaite aider à informer les décideurs à tous les niveaux et dans tous les secteurs, dans l’immédiat ainsi que dans la planification de l’avenir, incluant la gestion du risque dérivé des hazard naturels.

- -{% endblock %} diff --git a/haitidata/templates/account/admin_approval_sent.html b/haitidata/templates/account/admin_approval_sent.html deleted file mode 100644 index 106c55e..0000000 --- a/haitidata/templates/account/admin_approval_sent.html +++ /dev/null @@ -1,21 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} - -{% block title %}{{ block.super }} {% trans "Account Pending Approval" %}{% endblock %} -{% block page-title %} - {% trans "Account Pending Approval" %} -
- - - - - {% trans "Go Back" %} - -
-{% endblock %} - -{% block body %} -

{% blocktrans %}We have sent the administrators a notice to approve your account associated with {{ email }}. If the account is approved, you will receive a confirmation notice.{% endblocktrans %}

-{% endblock %} diff --git a/haitidata/templates/account/email_confirmation_sent.html b/haitidata/templates/account/email_confirmation_sent.html deleted file mode 100644 index 5adf4d6..0000000 --- a/haitidata/templates/account/email_confirmation_sent.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} - -{% block head_title %}{% trans "Confirm your email address" %}{% endblock %} - -{% block title %}{{ block.super }} {% trans "Confirm your email address" %}{% endblock %} -{% block page-title %} - {% trans "Confirm your email address" %} -
- - - - - {% trans "Go Back" %} - -
-{% endblock %} - -{% block body %} -

{% blocktrans %}We have sent you an email to {{ email }} for verification. Follow the link provided to finalize the signup process.{% endblocktrans %}

-{% endblock %} diff --git a/haitidata/templates/account/login.html b/haitidata/templates/account/login.html deleted file mode 100644 index 8c4637b..0000000 --- a/haitidata/templates/account/login.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {% trans "Log in" %}{% endblock %} -{% block page-title %}{% trans "Log in" %}{% endblock %} - -{% block body %} -
- {% csrf_token %} - {{ form|as_bootstrap }} - {% if redirect_field_value %} - - {% endif %} - - -
-{% endblock %} diff --git a/haitidata/templates/account/logout.html b/haitidata/templates/account/logout.html deleted file mode 100644 index 72cd3b8..0000000 --- a/haitidata/templates/account/logout.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} - -{% block title %}{{ block.super }} {% trans "Log Out" %}{% endblock %} -{% block page-title %} - {% trans "Log Out" %} -
- - - - - {% trans "Cancel" %} - -
-{% endblock %} - -{% block body %} -
-
-
-
- {% csrf_token %} -

{% trans "Are you sure you want to log out?" %}

-
- -
-
-
-
-
-{% endblock %} diff --git a/haitidata/templates/account/password_change.html b/haitidata/templates/account/password_change.html deleted file mode 100644 index 930e026..0000000 --- a/haitidata/templates/account/password_change.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} -{% load bootstrap_tags %} -{% load account_tags %} - -{% block title %}{{ block.super }} {% trans "Password change" %}{% endblock %} -{% block page-title %} - {% trans "Password change" %} -
- - - - - {% trans "User Profile" %} - -
- {% endblock %} - -{% user_display request.user as user_display %} - -{% block body %} -
-
- {% csrf_token %} - {{ form|as_bootstrap }} -
- -
-
-
-{% endblock %} diff --git a/haitidata/templates/account/password_reset.html b/haitidata/templates/account/password_reset.html deleted file mode 100644 index 85d10e6..0000000 --- a/haitidata/templates/account/password_reset.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} -{% load bootstrap_tags %} -{% load account_tags %} - -{% block title %}{{ block.super }} {% trans "Password reset" %}{% endblock %} -{% block page-title %}{% trans "Password reset" %}{% endblock %} - - -{% user_display request.user as user_display %} - -{% block body %} -

{% trans "Enter your email address below, and we'll send you an email allowing you to reset it." %}

-
-
- {% csrf_token %} - {{ form.as_p }} -
- -
-
-
-

{% blocktrans %}If you have any trouble resetting your password, contact us at {{ THEME_ACCOUNT_CONTACT_EMAIL }}.{% endblocktrans %}

-{% endblock %} -{% block extra_body %} - -{% endblock %} diff --git a/haitidata/templates/account/signup.html b/haitidata/templates/account/signup.html deleted file mode 100644 index 62451cd..0000000 --- a/haitidata/templates/account/signup.html +++ /dev/null @@ -1,49 +0,0 @@ -{% extends "site_base.html" %} - -{% load url from future %} -{% load i18n %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {% trans "Sign up" %}{% endblock %} -{% block page-title %} - {% trans "Sign up" %} -
- - - - - {% trans "Go Back" %} - -
-{% endblock %} - -{% block body %} - {% if REGISTRATION_OPEN %} -
-
- {% csrf_token %} - {{ form|as_bootstrap }} - {% if redirect_field_value %} - - {% endif %} -
- -
-
-
- {% else %} -

{% trans "Sorry, registrations are not open at this time." %}

- {% endif %} -{% endblock %} - -{% block sidebar %} -{% include "account/_signup_sidebar.html" %} -{% endblock %} - -{% block extra_script %} - -{% endblock %} diff --git a/haitidata/templates/actstream/actor.html b/haitidata/templates/actstream/actor.html deleted file mode 100644 index 757a187..0000000 --- a/haitidata/templates/actstream/actor.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends 'site_base.html' %} -{% load activity_tags social_tags i18n %} - -{% block extra_head %} -{{ block.super }}{% endblock %} - -{% block title %}{% ifequal request.user actor %}{% trans "My Activity feed" %}{% else %}{{ actor }}'s {% trans "Activity Feed" %}{% endifequal %}{% endblock %} -{% block content_title %}{% ifequal request.user actor %}{% trans "My Activity feed" %}{% else %}{{ actor }}'s {% trans "Activity Feed" %}{% endifequal %}{% endblock %} - -{% comment %} -{% block navlinks %} -
  • RSS
  • -
  • ATOM
  • -{% endblock %} -{% endcomment %} - -{% block body %} - - -
    -
    -
      - {% for action in action_list %} - {% activity_item action %} - {% empty %} -

      {% trans "No actions yet" %}

      - {% endfor %} -
    -
    -
    -{% endblock %} diff --git a/haitidata/templates/admin/backups/confirm_cancel.html b/haitidata/templates/admin/backups/confirm_cancel.html deleted file mode 100644 index 48d5265..0000000 --- a/haitidata/templates/admin/backups/confirm_cancel.html +++ /dev/null @@ -1,27 +0,0 @@ -{% extends "admin/base_site.html" %} - -{% block content %} - -
    -

    - Are you sure you want to run the selected {{ objects_name }}? -

    - {% for cancellable_backup in cancellable_backups %} - - {% endfor %} -
    -
    {% csrf_token %} - -
    - - -{% endblock %} diff --git a/haitidata/templates/admin/base_site.html b/haitidata/templates/admin/base_site.html deleted file mode 100644 index 7d4a462..0000000 --- a/haitidata/templates/admin/base_site.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "admin/base.html" %} - -{% block title %}{{ title }} | {{ site_title|default:_('GeoNode site admin') }}{% endblock %} - -{% block branding %} -

    {{ site_header|default:_('GeoNode administration') }}

    -{% endblock %} - -{% block extrahead %} - - {% include 'autocomplete_light/static.html' %} -{% endblock %} diff --git a/haitidata/templates/announcements/announcement_confirm_delete.html b/haitidata/templates/announcements/announcement_confirm_delete.html deleted file mode 100644 index d496cca..0000000 --- a/haitidata/templates/announcements/announcement_confirm_delete.html +++ /dev/null @@ -1,37 +0,0 @@ -{% extends "announcements/base.html" %} - -{% load i18n %} -{% load bootstrap_tags %} -{% load url from future %} - -{% block title %}{{ block.super }} {% trans "Announcements" %}{% endblock %} -{% block page-title %} - {% trans "Delete Announcement" %} -
    - - - - - {% trans "Announcements" %} - -
    -{% endblock %} - -{% block body_class %}announcements{% endblock %} - -{% block body %} - {% url "announcements_delete" pk=announcement.pk as post_url %} -

    - {% trans "Are you sure you want to delete this announcement?" %} -

    -

    {{ announcement.title }}

    -

    {{ announcement.content }}

    - -
    - {% csrf_token %} -
    - {% trans "Cancel" %} - -
    -
    -{% endblock %} diff --git a/haitidata/templates/announcements/detail.html b/haitidata/templates/announcements/detail.html deleted file mode 100644 index 9d9d966..0000000 --- a/haitidata/templates/announcements/detail.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} - -{% block title %} {% blocktrans %}Announcements : {{ announcement }}{% endblocktrans %} {{ block.super }} {% endblock %} - -{% block body %} - -

    {{ announcement.creation_date }}

    -
    -
    -

    {{ announcement.content }}

    - {{ announcement.creator }} -
    -
    -{% endblock %} diff --git a/haitidata/templates/autocomplete_response.html b/haitidata/templates/autocomplete_response.html deleted file mode 100644 index def1dd6..0000000 --- a/haitidata/templates/autocomplete_response.html +++ /dev/null @@ -1,4 +0,0 @@ - -{{ choice }} - - diff --git a/haitidata/templates/avatar/add.html b/haitidata/templates/avatar/add.html deleted file mode 100644 index a4fbc88..0000000 --- a/haitidata/templates/avatar/add.html +++ /dev/null @@ -1,42 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n avatar_tags %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {% trans "Add Avatar" %}{% endblock %} -{% block page-title %}{% trans "Add Avatar" %}{% endblock %} - -{% block body_outer %} -
    -
    - {% avatar user 240 %} -
    -
    - {% if not avatars %} -

    {% trans "You haven't uploaded an avatar yet. Please upload one now." %}

    - {% else %} -
    - {{ upload_avatar_form.as_p }} -
    -
    - {% csrf_token %} -

    -
    -
    -
    - {% endif %} - -
    -
    -{% endblock %} - -{% block extra_head %} - -{% endblock %} diff --git a/haitidata/templates/avatar/change.html b/haitidata/templates/avatar/change.html deleted file mode 100644 index 487e9d4..0000000 --- a/haitidata/templates/avatar/change.html +++ /dev/null @@ -1,56 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n avatar_tags %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {% trans "Change Avatar" %}{% endblock %} -{% block page-title %}{% trans "Change Avatar" %}{% endblock %} - -{% block body_outer %} -
    -
    - {% avatar user 240 %} -
    -
    - {% if not avatars %} -

    {% trans "You haven't uploaded an avatar yet. Please upload one now." %}

    - {% else %} -
    -
      - {{ primary_avatar_form.as_ul }} -
    -
    -
    - {% csrf_token %} -

    -
    -
    -
    - {% endif %} -
    -
    - {{ upload_avatar_form.as_p }} -
    -
    - {% csrf_token %} -

    -
    -
    -
    - -
    -
    -{% endblock %} - -{% block extra_head %} - -{% endblock %} diff --git a/haitidata/templates/avatar/confirm_delete.html b/haitidata/templates/avatar/confirm_delete.html deleted file mode 100644 index 6e2c38d..0000000 --- a/haitidata/templates/avatar/confirm_delete.html +++ /dev/null @@ -1,39 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n avatar_tags %} - -{% block title %}{{ block.super }} {% trans "Delete Avatars" %}{% endblock %} -{% block page-title %}{% trans "Delete Avatars" %}{% endblock %} - -{% block body %} -

    {% trans "Please select the avatars that you would like to delete." %}

    -{% if not avatars %} -{% url 'avatar_change' as avatar_change_url %} -

    {% blocktrans %}You have no avatars to delete. Please upload one now.{% endblocktrans %}

    -{% else %} -
    - -
    -
    - {% csrf_token %} - -
    -
    -
    -{% endif %} - -
    - -
    -{% endblock %} - -{% block extra_head %} - -{% endblock %} diff --git a/haitidata/templates/base/_resourcebase_contact_snippet.html b/haitidata/templates/base/_resourcebase_contact_snippet.html deleted file mode 100644 index 83b811f..0000000 --- a/haitidata/templates/base/_resourcebase_contact_snippet.html +++ /dev/null @@ -1,23 +0,0 @@ -{% load i18n %} -
  • -

    {% trans "About" %}

    - {% if resource.owner == resource.poc and resource.owner == resource.metadata_author %} -

    {% trans "Owner, Point of Contact, Metadata Author" %}

    - {% with resource.owner as profile %} - {% include "people/_profile_about_item.html" %} - {% endwith %} - {% else %} -

    {% trans "Owner" %}

    - {% with resource.owner as profile %} - {% include "people/_profile_about_item.html" %} - {% endwith %} -

    {% trans "Point of Contact" %}

    - {% with resource.poc as profile %} - {% include "people/_profile_about_item.html" %} - {% endwith %} -

    {% trans "Metadata Author" %}

    - {% with resource.metadata_author as profile %} - {% include "people/_profile_about_item.html" %} - {% endwith %} - {% endif %} -
  • diff --git a/haitidata/templates/base/_resourcebase_info_panel.html b/haitidata/templates/base/_resourcebase_info_panel.html deleted file mode 100644 index 6e5eaaf..0000000 --- a/haitidata/templates/base/_resourcebase_info_panel.html +++ /dev/null @@ -1,173 +0,0 @@ -{% load i18n %} -{% block content %} - -
    - {% if resource.title %} -
    {% trans "Title" %}
    -
    {{ resource.title|truncatechars:80 }}
    - {% endif %} - - {% if resource.srid and SRID_DETAIL == 'above' %} -
    {% trans "SRID" %}
    -
    {{ resource.srid }}
    - {% endif %} - - {% if LICENSES_ENABLED and LICENSES_DETAIL == 'above' and resource.license %} -
    {% trans "License" %}
    -
    {{ resource.license.name_long }}
    - {% endif %} -
    - {% for bullet in resource.license.description_bullets %} - {{ bullet }}

    - {% endfor %} - {% if resource.license.url %} - + For more info see {{ resource.license.url }}. - {% endif %} -
    - - {% if resource.abstract %} -
    {% trans "Abstract" %}
    -
    {{ resource.abstract|escape|urlize|linebreaks|safe }}
    - {% endif %} - - {% if resource.date %} -
    {% trans resource.date_type|title %} {% trans "Date" %}
    - {% if resource.date_type == 'creation' %} -
    {{ resource.date }}
    - {% elif resource.date_type == 'publication' %} - - {% else %} -
    {{ resource.date }}
    - {% endif %} - {% endif %} - - {% if resource.display_type %} -
    {% trans "Type" %}
    -
    {{ resource.display_type }}
    - {% endif %} - - {% if resource.keywords.count > 0 %} -
    {% trans "Keywords" %}
    -
    - {% for keyword in resource.keywords.all %} - - {{ keyword.name }} - - {% if not forloop.last %},{% endif %} - {% endfor %} -
    - {% endif %} - - {% if resource.category %} -
    {% trans "Category" %}
    -
    {{ resource.category }} {% if resource.category.description %}{% endif %}
    - {% if resource.category.description %} -
    - {{ resource.category.description }} -
    - {% endif %} - {% endif %} - - {% if resource.regions.all %} -
    {% trans "Regions" %}
    -
    - {% for region in resource.regions.all %} - - {{ region.name }} - - {% if not forloop.last %},{% endif %} - {% endfor %} -
    - {% endif %} - - {% if resource.owner %} -
    {% trans "Owner" %}
    -
    - {% endif %} - - {% if resource.poc.user %} -
    {% trans "Point of Contact" %}
    -
    {{ resource.poc.user.username }}
    - {% endif %} -
    - -
    -
    {% trans "More info" %}
    -
    -
    -
    - -
    -
    - - {% if resource.srid and SRID_DETAIL == 'below' %} -
    {% trans "SRID" %}
    -
    {{ resource.srid }}
    - {% endif %} - - {% if LICENSES_ENABLED and LICENSES_DETAIL == 'below' and resource.license %} -
    {% trans "License" %}
    -
    {{ resource.license.name_long }}
    -
    - {% for bullet in resource.license.description_bullets %} - {{ bullet }}

    - {% endfor %} - {% if resource.license.url %} - + For more info see {{ resource.license.url }}. - {% endif %} -
    - {% endif %} - - {% if resource.maintenance_frequency %} -
    {% trans "Maintenance Frequency" %}
    -
    {{ resource.maintenance_frequency_title }}
    - {% endif %} - - {% if resource.restriction_code_type or resource.constraints_other %} -
    {% trans "Restrictions" %}
    -
    {% if resource.constraints_other %} - {{ resource.constraints_other }} - {% else %} - {{ resource.restriction_code_type }} - {% endif %}
    - {% endif %} - - {% if resource.edition %} -
    {% trans "Edition" %}
    -
    {{ resource.edition}}
    - {% endif %} - - {% if resource.purpose %} -
    {% trans "Purpose" %}
    -
    {{ resource.purpose|escape|urlize|linebreaks|safe|truncatechars:160 }}
    - {% endif %} - - {% if resource.language %} -
    {% trans "Language" %}
    -
    {{ resource.language_title }}
    - {% endif %} - - {% if resource.temporal_extent_start and resource.temporal_extent_end %} -
    {% trans "Temporal Extent" %}
    -
    {{ resource.temporal_extent_start }} - {{ resource.temporal_extent_end }}
    - {% endif %} - - {% if resource.data_quality_statement %} -
    {% trans "Data Quality" %}
    -
    {{ resource.data_quality_statement }}
    - {% endif %} - - {% if resource.supplemental_information %} -
    {% trans "Supplemental Information" %}
    -
    {{ resource.supplemental_information|truncatechars:160|escape|urlize|linebreaks|safe }}
    - {% endif %} - - {% if resource.spatial_representation_type %} -
    {% trans "Spatial Representation Type" %}
    -
    {{ resource.spatial_representation_type }}
    - {% endif %} - -
    - -
    - - {% endblock %} diff --git a/haitidata/templates/base/_resourcebase_opengraph.html b/haitidata/templates/base/_resourcebase_opengraph.html deleted file mode 100644 index 8bffa34..0000000 --- a/haitidata/templates/base/_resourcebase_opengraph.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/haitidata/templates/base/_resourcebase_twittercard.html b/haitidata/templates/base/_resourcebase_twittercard.html deleted file mode 100644 index 7370b15..0000000 --- a/haitidata/templates/base/_resourcebase_twittercard.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/haitidata/templates/base/resourcebase_info_panel.html b/haitidata/templates/base/resourcebase_info_panel.html deleted file mode 100644 index 13a0164..0000000 --- a/haitidata/templates/base/resourcebase_info_panel.html +++ /dev/null @@ -1,10 +0,0 @@ -{% extends "base/_resourcebase_info_panel.html" %} -{% load i18n %} - -
    - {% block article_content %} - {% block content %} - {{ block.super }} - {% endblock %} - {% endblock %} -
    \ No newline at end of file diff --git a/haitidata/templates/catalogue/geonode_metadata_full.html b/haitidata/templates/catalogue/geonode_metadata_full.html deleted file mode 100644 index 9a7da2d..0000000 --- a/haitidata/templates/catalogue/geonode_metadata_full.html +++ /dev/null @@ -1,177 +0,0 @@ -{% load i18n %} - - - - - - {{ resource.title }} - {% block head %} - {% if DEBUG_STATIC %} - - - - - - {% else %} - - {% endif %} - - - - - - {% endblock %} - - - {% block body_outer %} - {% block body %}{% endblock body %} - {% block sidebar %}{% endblock sidebar %} - {% endblock body_outer %} -
    -
    - - -
    -
    -
    -
    Thumbnail
    -
    {{ resource.title }}
    - -
    Resource ID
    -
    {{resource.uuid}}
    - -
    {% trans "Title" %}
    -
    {{resource.title}}
    - -
    {% trans "Date" %}
    -
    {{resource.date}}, {% trans resource.date_type|title %}
    - -
    {% trans "Abstract" %}
    -
    {{resource.abstract}}
    - -
    {% trans "Edition" %}
    - {% if resource.edition %} -
    {{resource.edition}}
    - {% else %} -
    --
    - {% endif %} - - -
    {% trans "Owner" %}
    -
    {{resource.owner}}
    - -
    {% trans "Point of Contact" %}
    -
    {{extra_res_md.poc_last_name}}
    -
    {{extra_res_md.poc_email}}
    - - -
    {% trans "Purpose" %}
    - {% if resource.purpose %} -
    {{resource.purpose}}
    - {% else %} -
    --
    - {% endif %} - - -
    {% trans "Maintenance Frequency" %}
    -
    {{resource.maintenance_frequency}}
    - -
    {% trans "Type" %}
    -
    {{extra_res_md.sprt_identifier}}
    - -
    {% trans "Restrictions" %}
    -
    {{resource.restriction_code_type}}
    -
    {{resource.constraints_other}}
    - -
    {% trans "License" %}
    -
    {{resource.license}}
    - -
    {% trans "Language" %}
    -
    {{resource.language}}
    - -
    {% trans "Temporal Extent" %}
    -
    Start
    - {% if resource.temporal_extent_start %} -
    {{resource.temporal_extent_start}}
    - {% else %} -
    --
    - {% endif %} -
    End
    - {% if resource.temporal_extent_end %} -
    {{resource.temporal_extent_end}}
    - {% else %} -
    --
    - {% endif %} - - -
    {% trans "Supplemental Information" %}
    -
    {{resource.supplemental_information}}
    - -
    {% trans "Data Quality" %}
    - {% if resource.data_quality_statement %} -
    {{resource.data_quality_statement}}
    - {% else %} -
    --
    - {% endif %} - -
    Extent
    -
    -
      -
    • long min: {{resource.bbox_x0}}
    • -
    • long max: {{resource.bbox_x1}}
    • -
    • lat min: {{resource.bbox_y0}}
    • -
    • lat max: {{resource.bbox_y1}}
    • -
    -
    - -
    Spatial Reference System Identifier
    -
    {{resource.srid}}
    - -
    {% trans "Keywords" %}
    -
    {{extra_res_md.keywords}}
    - -
    {% trans "Category" %}
    -
    {{resource.category}}
    - - {% if resource.regions.all %} -
    {% trans "Regions" %}
    -
    - {% for region in resource.regions.all %} - {{ region.name }} - {% if not forloop.last %},{% endif %} - {% endfor %} -
    - {% endif %} - - {% if "layer" in request.META.HTTP_REFERER|stringformat:"s" %} -
    Attributes
    -
    - -
    -
    - - - {% endif %} - -
    -
    -
    -
    - - \ No newline at end of file diff --git a/haitidata/templates/developer.html b/haitidata/templates/developer.html deleted file mode 100644 index cf6a83b..0000000 --- a/haitidata/templates/developer.html +++ /dev/null @@ -1,104 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% block title %}{{ block.super }} {% trans "Information for Developers" %}{% endblock %} -{% block page-title %}{% trans "Information for Developers" %}{% endblock %} - -{% block body_outer %} - - -
    -
    -

    {% trans "Useful information for developers interested in GeoNode." %}

    - {% blocktrans %} -

    GeoNode is an open service built on open source software. We encourage you to build new applications using the components and resources it provides. This page is a starting point for developers interesting in taking full advantage of GeoNode. It also includes links to the project's source code so anyone can build and customize their own GeoNode.

    - -

    GeoNode Software

    - -

    All the code that runs GeoNode is open source. The code is available at http://github.com/GeoNode/geonode/. The issue tracker for the project is at http://github.com/GeoNode/geonode/issues.

    - -

    GeoNode is built using several open source projects, each with its own community. If you are interested in contributing new features to the GeoNode, we encourage you to do so by contributing to one of the projects on which it is built:

    -
      -
    • GeoExt - The JavaScript toolkit for rich web mapping applications
    • -
    • GeoServer - Standards based server for geospatial information
    • -
    • GeoWebCache - Cache engine for WMS Tiles
    • OpenLayers - Pure JavaScript library powering the maps of GeoExt
    • -
    • pycsw - CSW, OpenSearch and OAI-PMH metadata catalogue server
    • -
    - -

    What are OGC Services?

    -

    The data in this application is served using open standards endorsed by the Open Geospatial Consortium; in particular, WMS (Web Map Service) is used for accessing maps, WFS (Web Feature Service) is used for accessing vector data, and WCS (Web Coverage Service) is used for accessing raster data. WMC (Web Map Context Documents) is used for sharing maps. You can use these services in your own applications using libraries such as OpenLayers, GeoTools, and OGR (all of which are open-source software and available at zero cost).

    - -

    What is GeoWebCache?

    -

    GeoWebCache provides mapping tiles that are compatible with a number of mapping engines, including Google Maps, Bing Maps and OpenLayers. All the data hosted by GeoNode is also available through GeoWebCache. GeoWebCache improves on WMS by caching data and providing more responsive maps.

    - -

    CSW Example Code

    -

    To interact with GeoNode's CSW you can use any CSW client (QGIS MetaSearch, GRASS, etc.). The following example illustrates a simple invocation using the OWSLib Python package:

    -

    from owslib.csw import CatalogueServiceWeb

    -

    from owslib.fes import PropertyIsLike

    -

    csw = CatalogueServiceWeb('{{ CATALOGUE_BASE_URL }}')

    -

    anytext = PropertyIsLike('csw:AnyText', 'birds')')

    -

    csw.getrecords2(constraints=[anytext])

    -

    print csw.results

    -

    print csw.records

    - -

    OpenLayers Example Code

    - -

    To include a GeoNode map layer in an OpenLayers map, first find the name for that layer. This is found in the layer's name field (not title) of the layer list. For this example, we will use the Nicaraguan political boundaries background layer, whose name is risk:nicaragua_admin. Then, create an instance of OpenLayers.Layer.WMS:

    -

    var geonodeLayer = new OpenLayers.Layer.WMS("GeoNode Risk Data", "http://demo.geonode.org/geoserver/wms",{ layers: "risk:nicaragua_admin" });

    - -

    Google Maps Example Code

    -

    To include a GeoNode map layer in a Google Map, include the layer namein the URL template.

    -

    var tilelayer = new GTileLayer(null, null, null, {tileUrlTemplate: 'http://demo.geonode.org/geoserver/gwc/service/gmaps?layers=risk:nicaragua_admin&zoom={Z}&x={X}&y={Y}', isPng:true, opacity:0.5 } );

    - -

    Shapefile/GeoJSON/GML Output

    -

    To get data from the GeoNode web services use the WFS protocol. For example, to get the full Nicaraguan admin boundaries use:

    -

    http://demo.geonode.org/geoserver/wfs?request=GetFeature&typeName=risk:nicaragua_admin&outputformat=SHAPE-ZIP

    -

    Changing output format to json, GML2, GML3, or csv will get data in those formats. The WFS protocol also can handle more precise queries, specifying a bounding box or various spatial and non-spatial filters based on the attributes of the data.

    - -

    GeoTools Example Code

    -

    Create a DataStore and extract a FeatureType from it, then run a Query. It is all documented on the wiki at http://geotools.org/.

    - {% endblocktrans %} -
    - -
    -

    {% trans "GeoNode's Web Services" %}

    -

    {% trans "GeoNode's Web Services are available from the following URLs:" %}

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    {% trans "Dynamic tiles via WMS:" %}WMS 1.1.1
    {% trans "Vector data via WFS:" %}WFS 1.1.0
    {% trans "Raster data via WCS:" %}WCS 1.1.1
    {% trans "Metadata search via CSW:" %}CSW 2.0.2
    {% trans "Metadata search via OpenSearch:" %}OpenSearch 1.0
    {% trans "Metadata search via OAI-PMH:" %}OAI-PMH 2.0
    {% trans "Open Data:" %}data.json
    {% trans "Cached tiles via WMTS:" %}WMTS 1.0.0
    -
    -
    -{% endblock %} diff --git a/haitidata/templates/dialogos/_comment.html b/haitidata/templates/dialogos/_comment.html deleted file mode 100644 index d06921f..0000000 --- a/haitidata/templates/dialogos/_comment.html +++ /dev/null @@ -1 +0,0 @@ -

    {{ comment }}

    \ No newline at end of file diff --git a/haitidata/templates/documents/document_base.html b/haitidata/templates/documents/document_base.html deleted file mode 100644 index 00291af..0000000 --- a/haitidata/templates/documents/document_base.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %} {{ block.super }} {% endblock %} - -{% block body_class %}documents{% endblock %} - -{% block body_outer %} -{% block body %}{% endblock body %} -{% block sidebar %}{% endblock sidebar %} -{% endblock body_outer %} diff --git a/haitidata/templates/documents/document_metadata.html b/haitidata/templates/documents/document_metadata.html deleted file mode 100644 index 21423e8..0000000 --- a/haitidata/templates/documents/document_metadata.html +++ /dev/null @@ -1,90 +0,0 @@ -{% extends "documents/document_base.html" %} -{% load i18n %} -{% load bootstrap_tags %} - -{% block title %}{{ document.typename }} — {{ block.super }}{% endblock %} - -{% block head %} - {% include "geonode/ext_header.html" %} - {{ block.super }} -{% endblock %} - -{% block body_class %}data{% endblock %} - -{% block body_outer %} - -
    -
    -

    - {% trans "Editing details for" %} {{ document.title }} -

    -
    - {% if document_form.errors or category_form.errors or author_form.errors or poc.errors %} -

    {% blocktrans %}Error updating metadata. Please check the following fields: {% endblocktrans %}

    -
      - {% if author_form.errors %} -
    • {% trans "Metadata Author" %}
    • - {{ author_form.errors }} - {% endif %} - {% if poc_form.errors %} -
    • {% trans "Point of Contact" %}
    • - {{ poc_form.errors }} - {% endif %} - {% for field in document_form %} - {% if field.errors %} -
    • {{ field.label }}
    • - {% endif %} - {% endfor %} - - {% if category_form.errors %} -
    • {{ category_form.errors.as_ul }}
    • - {% endif %} -
    - {% endif %} -
    - -
    - {% csrf_token %} -
    - {{ document_form|as_bootstrap }} -
    - - -
    -
    - {% autoescape off %} -
    - {% for choice in category_form.category_choice_field.field.choices %} -
    - - {{ choice.1 }} - -
    - {% endfor %} -
    - {% endautoescape %} -
    -
    - -
    -
    -
    -
    -{% endblock %} -{% block extra_script %} -{% include 'metadata_form_js.html' %} -{% endblock %} diff --git a/haitidata/templates/documents/document_metadata_detail.html b/haitidata/templates/documents/document_metadata_detail.html deleted file mode 100644 index f320e00..0000000 --- a/haitidata/templates/documents/document_metadata_detail.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "metadata_detail.html" %} \ No newline at end of file diff --git a/haitidata/templates/documents/document_remove.html b/haitidata/templates/documents/document_remove.html deleted file mode 100644 index 2eb32cf..0000000 --- a/haitidata/templates/documents/document_remove.html +++ /dev/null @@ -1,26 +0,0 @@ -{% extends "documents/document_base.html" %} -{% load i18n %} - -{% block title %}{% trans "Deleting" %} {{ document.title }} — {{ block.super }}{% endblock %} - -{% block body %} - -
    -
    -

    - {% blocktrans with document.title as document_title %} - Are you sure you want to remove {{ document_title }}? - {% endblocktrans %} -

    -
    - {% csrf_token %} - -
    -
    -
    -{% endblock %} diff --git a/haitidata/templates/documents/document_replace.html b/haitidata/templates/documents/document_replace.html deleted file mode 100644 index 17d4f2d..0000000 --- a/haitidata/templates/documents/document_replace.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "documents/document_upload_base.html" %} -{% load i18n %} - -{% block title %} {% trans "Replace Document" %} - {{ block.super }} {% endblock %} - -{% block body_class %}documents replace{% endblock body_class %} - -{% block head %} - {% include "geonode/app_header.html" %} - {{ block.super }} -{% endblock %} - -{% block body %} -
    -
    -

    {% trans "Replace " %}{{ document.title }}

    -
    -
    - - {{ form.errors }} - {% if document.doc_file %} - {{ form.doc_file }} - {% elif document.doc_url %} - {{ form.doc_url }} - {% endif %} -
    - - -
    -
    -
    -
    -
    -{% endblock %} diff --git a/haitidata/templates/facebook_sdk.html b/haitidata/templates/facebook_sdk.html deleted file mode 100644 index 73be298..0000000 --- a/haitidata/templates/facebook_sdk.html +++ /dev/null @@ -1,8 +0,0 @@ -
    - diff --git a/haitidata/templates/geonode_base.html b/haitidata/templates/geonode_base.html deleted file mode 100644 index 80d77ad..0000000 --- a/haitidata/templates/geonode_base.html +++ /dev/null @@ -1,4 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load staticfiles %} diff --git a/haitidata/templates/groups/_group_list_item.html b/haitidata/templates/groups/_group_list_item.html deleted file mode 100644 index df723ca..0000000 --- a/haitidata/templates/groups/_group_list_item.html +++ /dev/null @@ -1,30 +0,0 @@ -{% verbatim %} -
    -
    -
    -
    - -
    -
    -
    {{ group.title }}
    - -

    {{ group.description | limitTo: 100 }}{{ group.description.length > 100 ? '...' : ''}}

    -
    - -
    -
    -{% endverbatim %} \ No newline at end of file diff --git a/haitidata/templates/groups/_group_opengraph.html b/haitidata/templates/groups/_group_opengraph.html deleted file mode 100644 index df3ba36..0000000 --- a/haitidata/templates/groups/_group_opengraph.html +++ /dev/null @@ -1,10 +0,0 @@ -{% load avatar_tags %} - - - - - diff --git a/haitidata/templates/groups/_group_twittercard.html b/haitidata/templates/groups/_group_twittercard.html deleted file mode 100644 index 1f03557..0000000 --- a/haitidata/templates/groups/_group_twittercard.html +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - diff --git a/haitidata/templates/groups/activity.html b/haitidata/templates/groups/activity.html deleted file mode 100644 index 44631e1..0000000 --- a/haitidata/templates/groups/activity.html +++ /dev/null @@ -1,70 +0,0 @@ -{% extends 'site_base.html' %} -{% load activity_tags social_tags i18n %} - -{% block extra_head %} -{{ block.super }}{% endblock %} - -{% block title %}{% trans "Activity Feed for" %} {{ group.title }}{% endblock %} -{% block content_title %}{% trans "Activity Feed for" %} {{ group.title }}{% endblock %} - -{% comment %} -{% block navlinks %} -
  • RSS
  • -
  • ATOM
  • -{% endblock %} -{% endcomment %} - -{% block body_outer %} - - -
    -
    - -
    -
    -
      - {% for action in action_list %} - {% activity_item action %} - {% empty %} -

      {% trans "No actions yet" %}

      - {% endfor %} -
    -
    -
    -
      - {% for action in action_list_layers %} - {% activity_item action %} - {% empty %} -

      {% trans "No actions yet" %}

      - {% endfor %} -
    -
    -
    -
      - {% for action in action_list_maps %} - {% activity_item action %} - {% empty %} -

      {% trans "No actions yet" %}

      - {% endfor %} -
    -
    -
    -
      - {% for action in action_list_comments %} - {% activity_item action %} - {% empty %} -

      {% trans "No actions yet" %}

      - {% endfor %} -
    -
    -
    -
    -
    -{% endblock %} diff --git a/haitidata/templates/groups/base.html b/haitidata/templates/groups/base.html deleted file mode 100644 index c801515..0000000 --- a/haitidata/templates/groups/base.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "site_base.html" %} diff --git a/haitidata/templates/groups/email/invite_user.txt b/haitidata/templates/groups/email/invite_user.txt deleted file mode 100644 index b54cf87..0000000 --- a/haitidata/templates/groups/email/invite_user.txt +++ /dev/null @@ -1,3 +0,0 @@ -You have been invited to join the group "{{ group.title }}" at {{ domain }}. - -http://{{ domain }}/groups/group/{{ group.slug }}/invite/{{ invite.token }} diff --git a/haitidata/templates/groups/email/invite_user_subject.txt b/haitidata/templates/groups/email/invite_user_subject.txt deleted file mode 100644 index 020e9b8..0000000 --- a/haitidata/templates/groups/email/invite_user_subject.txt +++ /dev/null @@ -1 +0,0 @@ -Invitation to join the group "{{ group.title }}" at {{ domain }} \ No newline at end of file diff --git a/haitidata/templates/groups/group_base.html b/haitidata/templates/groups/group_base.html deleted file mode 100644 index f7d33b2..0000000 --- a/haitidata/templates/groups/group_base.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %} {{ block.super }} {% endblock %} - -{% block body_class %}groups explore{% endblock %} - -{% block body_outer %} - {% block body %}{% endblock body %} - {% block sidebar %}{% endblock sidebar %} -{% endblock body_outer %} diff --git a/haitidata/templates/groups/group_invite_response.html b/haitidata/templates/groups/group_invite_response.html deleted file mode 100644 index 261e969..0000000 --- a/haitidata/templates/groups/group_invite_response.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "groups/base.html" %} -{% load i18n %} - -{% block body %} -
    - -

    {% trans "Members" %}

    -
    - -

    {% trans "Membership Request" %}

    -

    You have been invited to join the group {{ object.title }}. Would you like to join? -

    - {% csrf_token %} - - -
    -
    -{% endblock %} diff --git a/haitidata/templates/groups/group_members.html b/haitidata/templates/groups/group_members.html index db84230..fa8d757 100644 --- a/haitidata/templates/groups/group_members.html +++ b/haitidata/templates/groups/group_members.html @@ -2,11 +2,14 @@ {% load i18n %} {% load bootstrap_tags %} +{% block title %}{{ block.super }} {% trans "Update Group Members" %}{% endblock %} +{% block page-title %}{% trans "Update Group Members" %}{% endblock %} + {% block sidebar %}
    -
    +
    -

    {% trans "Members" %}

    +

    {% trans "Members" %}

    {% if member_form %} -

    {% trans "Add members" %}

    +

    {% trans "Add members" %}

    {% csrf_token %}
    {{ member_form|as_bootstrap }}

    - +
    {% endif %} diff --git a/haitidata/templates/groups/group_remove.html b/haitidata/templates/groups/group_remove.html index 6b909ec..efd2917 100644 --- a/haitidata/templates/groups/group_remove.html +++ b/haitidata/templates/groups/group_remove.html @@ -1,8 +1,10 @@ {% extends "groups/group_base.html" %} {% load i18n %} -{% block title %}{{ group.title }} — {{ block.super }}{% endblock %} -{% block body_class %}groups remove{% endblock %} +{% block title %}{{ block.super }} {% trans "Remove Group" %}{% endblock %} +{% block page-title %}{% trans "Remove Group" %}{% endblock %} + +{% block body_class %}groups{% endblock %} {% block body %}
    diff --git a/haitidata/templates/groups/group_remove_maps_data.html b/haitidata/templates/groups/group_remove_maps_data.html deleted file mode 100644 index 5e56293..0000000 --- a/haitidata/templates/groups/group_remove_maps_data.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "groups/group_base.html" %} -{% load i18n %} - -{% block sidebar %} -
    -

    {% trans "Remove Maps/Data from Group" %}

    -
    - {% csrf_token %} -
      - {{ map_form.as_ul }} -
    -
      - {{ layer_form.as_ul }} -
    - -
    -
    -{% endblock %} diff --git a/haitidata/templates/groups/group_update.html b/haitidata/templates/groups/group_update.html index e8eb37e..199291e 100644 --- a/haitidata/templates/groups/group_update.html +++ b/haitidata/templates/groups/group_update.html @@ -2,8 +2,10 @@ {% load bootstrap_tags %} {% load i18n %} -{% block head_title %}{% trans "Create Group" %}{% endblock %} -{% block body_class %}groups update{% endblock %} +{% block title %}{{ block.super }} {% trans "Update Group" %}{% endblock %} +{% block page-title %}{% trans "Update Group" %}{% endblock %} + +{% block body_class %}groups{% endblock %} {% block body %}
    @@ -30,5 +32,5 @@
    - + {% endblock %} diff --git a/haitidata/templates/help.html b/haitidata/templates/help.html deleted file mode 100644 index 04a3284..0000000 --- a/haitidata/templates/help.html +++ /dev/null @@ -1,77 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% block title %}{{ block.super }} {% trans "User Guide" %}{% endblock %} -{% block page-title %}{% trans "User Guide" %}{% endblock %} - -{% block body_outer %} - -
    -
    -

    {% trans "This page provides helpful information about how to use the GeoNode. You can use the sidebar links to navigate to what you want to know." %}

    - - {% blocktrans %} -

    The GeoNode provides access to data sets and a map editing application allows users to browse existing maps and contribute their own.

    - -

    Browsing Layers

    -

    The Layers tab allows you to browse data uploaded to this GeoNode.

    -

    All data can be downloaded in a variety of formats, for use in other applications.

    - -

    Developer Access

    -

    The Developer page is the place for developers to get started building applications against the GeoNode. It includes instructions on using the web services, links to the source code of the GeoNode, and information about the open source projects used to create it.

    - -

    Browsing Maps

    -

    The GeoNode allows users to create and share maps with one another.

    -

    The Maps tab is a gateway to map exploration on GeoNode. From here you can search for a map or create a map, which will open the Map Composer.

    -
    Google Earth Mode
    -

    Any map viewed in the interactive map editor can be seen in 3D mode with the Google Earth plugin. To switch to 3D mode select the Google Earth globe logo, the rightmost button on top toolbar. If you do not have the Google Earth plugin installed you will be prompted to install it.

    - -

    Creating a Map

    -

    To create a new map go to the Contributed Maps tab and click the create your own map link.

    -

    This will take you to the Map Composer with a base layer loaded.

    -

    To add data layers from the GeoNode click on the green plus button located below the layers tab on the left hand side of the screen. This will open a dialog listing all the layers available on the GeoNode.

    -

    To add layers to your map select them and hit the Add Layers button. When finished you may hit Done to close the dialog and go back to the map.

    - -
    Reordering and Removing Layers
    -

    Change the display order of the layers listed in the data tab by simply dragging and dropping their names. The order in the map will be updated to reflect that. To turn a layer's visibility off simply uncheck it, and to remove it entirely select it and hit the red minus button.

    - -
    Saving your map
    -

    Once a suitable set of layers and zoom level has been found it's time to save it so others can see it. Click the Save button--the left most icon on the top toolbar, an image of a map with a disk--on the top menu and fill out the title and abstract of the map.

    - -

    Publishing a Map

    -

    Any map from the GeoNode can be embedded for use in another site or blog. To publish a map:

    -
      -
    1. Select the from the list of maps on the community or map page and then hit the 'Publish map' button.
    2. -
    3. Choose your desired height and width for the widget in the wizard.
    4. -
    5. Copy the HTML snippet provided in the wizard to any HTML page or iFrame-supporting blog post.
    6. -
    -

    This will put an interactive widget showing you map in your web page or blog post.

    -

    Note that the Map Composer also has a button to publish the map. Just be sure to save the map before publishing if there are changes that you want others to see. It publishes the last saved version, not the last viewed version.

    - -

    Remixing a Map

    -

    Any map available can serve as a starting point for a new map.

    -
      -
    1. Open the map in the Map Composer.
    2. -
    3. Add and remove layers as you like.
    4. -
    5. Pan and zoom to highlight the area of interest.
    6. -
    7. IMPORTANT: Update the title, abstract, contact info and tags to reflect the new map.
    8. -
    9. Save the map.
    10. -
    -

    You will be able to see your new map when you search for it from the Maps tab.

    - {% endblocktrans %} -
    - -
    -{% endblock %} diff --git a/haitidata/templates/index.html b/haitidata/templates/index.html deleted file mode 100644 index 5e7aef8..0000000 --- a/haitidata/templates/index.html +++ /dev/null @@ -1,85 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load staticfiles %} -{% load base_tags %} - -{% block title %} {% trans "Welcome!" %} - {{ block.super }} {% endblock %} - -{% block body_class %}home{% endblock %} - -{% block middle %} - {{ block.super }} - {% block hero %} -
    -
    -

    {% trans "Welcome" %}

    -

    {% blocktrans %}GeoNode is an open source platform for sharing geospatial data and maps.{% endblocktrans %}

    -

    {% blocktrans %}If you have any questions about the software or service, join our mailing list.{% endblocktrans %}

    - {% trans 'Need help?' %} {% trans 'Getting Started' %} -
    -
    - {% endblock %} - - {% block mainbody %} -
    -
    - {% with facet_type='home' %} - {% facets as facets %} -
    -

    -

    {{ facets.layer|default:_("No") }} {% blocktrans count counter=facets.layer %}Layer{% plural %}Layers{% endblocktrans %}

    -

    {% trans "Click to search for geospatial data published by other users, organizations and public sources. Download data in standard formats." %}

    - {% if user.is_authenticated %} -

    {% trans "Add layers" %} »

    - {% else %} -

    {% trans "Explore layers" %} »

    - {% endif %} -
    -
    -

    -

    {{ facets.map|default:_("No") }} {% blocktrans count counter=facets.map %}Map{% plural %}Maps{% endblocktrans %}

    -

    {% trans "Data is available for browsing, aggregating and styling to generate maps which can be shared publicly or restricted to specific users only." %}

    - {% if user.is_authenticated %} -

    {% trans "Create maps" %} »

    - {% else %} -

    {% trans "Explore maps" %} »

    - {% endif %} -
    -
    -

    -

    {{ facets.user|default:_("No") }} {% blocktrans count counter=facets.user %}User{% plural %}Users{% endblocktrans %}

    -

    {% trans "GeoNode allows registered users to easily upload geospatial data in several formats including shapefile and GeoTiff." %}

    -

    {% trans "See users" %} »

    -
    - {% endwith %} -
    -
    - {% verbatim %} -
    -
    - -
    -
    - {% endverbatim %} - {% endblock %} - -{% endblock %} - -{% block extra_script %} -{% if DEBUG_STATIC %} - -{% endif %} - - -{% endblock extra_script %} diff --git a/haitidata/templates/lang.js b/haitidata/templates/lang.js deleted file mode 100644 index caba787..0000000 --- a/haitidata/templates/lang.js +++ /dev/null @@ -1,242 +0,0 @@ -{% load i18n %} - -if (window.GeoExt && GeoExt.Lang) { - GeoExt.Lang.set("{{ LANGUAGE_CODE }}"); -} - -if (window.GeoNode && GeoNode.plugins && GeoNode.plugins.Save) { - Ext.apply(GeoNode.plugins.Save.prototype, { - metadataFormCancelText : gettext("Cancel"), - metadataFormSaveAsCopyText : gettext("Save as Copy"), - metaDataHeader: gettext("About this Map"), - metaDataMapAbstract: gettext("Abstract"), - metadataFormSaveText : gettext("Save"), - metaDataMapTitle: gettext("Title") - }); -} - -if (window.GeoNode && GeoNode.plugins && GeoNode.plugins.XHRTrouble) { - Ext.apply(GeoNode.plugins.XHRTrouble.prototype, { - connErrorTitleText: gettext("Connection Error"), - connErrorText: gettext("The server returned an error"), - connErrorDetailsText: gettext("Details...") - }); -} - -if (window.GeoExplorer) { - Ext.apply(GeoExplorer.prototype, { - addLayersButtonText: gettext("Add Layers"), - areaActionText: gettext("Area"), - backgroundContainerText: gettext("Background"), - capGridAddLayersText: gettext("Add Layers"), - capGridDoneText: gettext("Done"), - capGridText: gettext("Available Layers"), - exportDialogMessage: '

    Your map is ready to be published to the web!

    ' + '

    Simply copy the following HTML to embed the map in your website:

    ', - heightLabel: gettext("Height"), - infoButtonText: gettext("Get Feature Info"), - largeSizeLabel: gettext("Large"), - layerAdditionLabel: gettext("or add a new server."), - layerContainerText: gettext("Map Layers"), - layerSelectionLabel: gettext("View available data from:"), - layersContainerText: gettext("Data"), - layersPanelText: gettext("Layers"), - legendPanelText: gettext("Legend"), - lengthActionText: gettext("Length"), - loadingMapMessage: gettext("Loading Map..."), - mapSizeLabel: gettext("Map Size"), - measureSplitText: gettext("Measure"), - metaDataMapContact: gettext("Contact"), - metaDataMapId: gettext("Permalink"), - miniSizeLabel: gettext("Mini"), - navActionTipText: gettext("Pan Map"), - navNextAction: gettext("Zoom to Next Extent"), - navPreviousActionText: gettext("Zoom to Previous Extent"), - noPermalinkText: gettext("This map has not yet been saved."), - permalinkLabel: gettext("Permalink"), - premiumSizeLabel: gettext("Premium"), - printTipText: gettext("Print Map"), - printWindowTitleText: gettext("Print Preview"), - propertiesText: gettext("Properties"), - publishActionText: gettext("Publish Map"), - removeLayerActionText: gettext("Remove Layer"), - removeLayerActionTipText: gettext("Remove Layer"), - saveFailMessage: gettext("Sorry, your map could not be saved."), - saveFailTitle: gettext("Error While Saving"), - saveMapText: gettext("Save Map"), - saveNotAuthorizedMessage: gettext("You must be logged in to save this map."), - smallSizeLabel: gettext("Small"), - sourceLoadFailureMessage: gettext("Error contacting server.\n Please check the url and try again."), - layerPropertiesText: gettext('Layer Properties'), - layerPropertiesTipText: gettext('Change layer format and style'), - layerStylesText: gettext('Edit Styles'), - layerStylesTipText: gettext('Edit layer styles'), - switchTo3DActionText: gettext("Switch to Google Earth 3D Viewer"), - unknownMapMessage: gettext("The map that you are trying to load does not exist. Creating a new map instead."), - unknownMapTitle: gettext("Unknown Map"), - widthLabel: gettext("Width"), - zoomInActionText: gettext("Zoom In"), - zoomOutActionText: gettext("Zoom Out"), - zoomSelectorText: gettext("Zoom level"), - zoomSliderTipText: gettext("Zoom Level"), - zoomToLayerExtentText: gettext("Zoom to Layer Extent"), - zoomVisibleButtonText: gettext("Zoom to Visible Extent") - }); -} - -if (window.Embed) { - Ext.apply(Embed.prototype, { - zoomLevelText: gettext("Zoom Level {zoom}") - }); -} - -if (window.GeoNode && GeoNode.MapGrid) { - Ext.apply(GeoNode.MapGrid.prototype, { - createMapText : gettext("Create Map"), - exportMapText: gettext("Export Map"), - mapAbstractLabelText: gettext("Abstract"), - mapContactLabelText: gettext("Contact"), - mapGridText : gettext("Map"), - mapLinkLabelText: gettext("View this Map"), - mapTitleLabelText: gettext("Title"), - openMapText : gettext("Open Map") - }); -} - -if (window.GeoExplorer && GeoExplorer.CapabilitiesGrid) { - Ext.apply(GeoExplorer.CapabilitiesGrid.prototype, { - nameHeaderText : gettext("Name"), - queryableHeaderText : gettext("Queryable"), - titleHeaderText : gettext("Title") - }); -} - -if (window.GeoNode && GeoNode.ConfigManager) { - Ext.apply(GeoNode.ConfigManager.prototype, { - backgroundDisabledText : gettext("No background") - }); -} - -if (window.gxp && gxp.EmbedMapDialog) { - Ext.apply(gxp.EmbedMapDialog.prototype, { - heightLabel: gettext("Height"), - largeSizeLabel: gettext("Large"), - mapSizeLabel: gettext("Map Size"), - miniSizeLabel: gettext("Mini"), - premiumSizeLabel: gettext("Premium"), - publishActionText: gettext("Publish Map"), - publishMessage: gettext('Your map is ready to be published to the web! Simply copy the following HTML to embed the map in your website:'), - smallSizeLabel: gettext("Small"), - widthLabel: gettext("Width") - }); -} - - -if (window.GeoExplorer && GeoExplorer.CapabilitiesRowExpander) { - Ext.apply(GeoExplorer.CapabilitiesRowExpander.prototype, { - abstractText: gettext("Abstract:"), - attributionEmptyText: gettext("No attribution information is provided for this layer."), - attributionText: gettext("Provided by:"), - downloadText : gettext("Download:"), - keywordEmptyText: gettext("No keywords are listed for this layer."), - keywordText: gettext("Keywords:"), - metadataEmptyText: gettext("No metadata URLs are defined for this layer."), - metadataText: gettext("Metadata Links:") - }); -} - -if (window.GeoExt && GeoExt.ux && GeoExt.ux.PrintPreview) { - Ext.apply(GeoExt.ux.PrintPreview.prototype, { - paperSizeText: gettext("Paper size:"), - resolutionText: gettext("Resolution:"), - printText: gettext("Print"), - emptyTitleText: gettext("Enter map title here."), - includeLegendText: gettext("Include legend?"), - emptyCommentText: gettext("Enter comments here."), - creatingPdfText: gettext("Creating PDF...") - }); -} - - -if (window.GeoNode && GeoNode.MapSearchTable) { - Ext.apply(GeoNode.MapSearchTable.prototype, { - titleHeaderText: gettext('Title'), - contactHeaderText: gettext("Contact"), - lastModifiedHeaderText: gettext("Last Modified"), - mapAbstractLabelText: gettext("Abstract"), - mapLinkLabelText: gettext("View this Map"), - previousText: gettext('Prev'), - nextText: gettext('Next'), - ofText: gettext('of'), - noResultsText: gettext('Your search did not match any items.'), - searchLabelText: gettext('Search Maps'), - searchButtonText: gettext('Search'), - showingText: gettext('Showing'), - loadingText: gettext('Loading'), - permalinkText: gettext('permalink') - }); -} - - -if (window.GeoNode && GeoNode.SearchTable) { - Ext.apply(GeoNode.SearchTable.prototype, { - selectHeaderText: gettext('Select'), - nameHeaderText: gettext('Name'), - titleHeaderText: gettext('Title'), - selectText: gettext('Select:'), - selectAllText: gettext('All'), - selectNoneText: gettext('None'), - previousText: gettext('Prev'), - nextText: gettext('Next'), - ofText: gettext('of'), - noResultsText: gettext('Your search did not match any items.'), - searchButtonText: gettext('Search'), - showingText: gettext('Showing'), - loadingText: gettext("Loading..."), - permalinkText: gettext('permalink'), - unviewableTooltip: gettext('You do not have permission to view this data'), - remoteTooltip: gettext('This data is stored on a remote server') - }); -} -if (window.GeoNode && GeoNode.SearchTableRowExpander) { - Ext.apply(GeoNode.SearchTableRowExpander.prototype, { - abstractText: gettext("Abstract:"), - abstractEmptyText: gettext('No abstract is provided for this layer.'), - attributionEmptyText: gettext("No attribution information is provided for this layer."), - attributionText: gettext("Provided by:"), - downloadText : gettext("Download:"), - downloadEmptyText: gettext("No download URLs are definied for this layer."), - keywordEmptyText: gettext("No keywords are listed for this layer."), - keywordText: gettext("Keywords:"), - metadataEmptyText: gettext("No metadata URLs are defined for this layer."), - metadataText: gettext("Metadata Links:"), - dataDetailText: 'Click here for more information about this layer.' - }); -} -if (window.GeoNode && GeoNode.DataCart) { - Ext.apply(GeoNode.DataCart.prototype, { - selectedLayersText: gettext('Selected Layers'), - emptySelectionText: gettext('No Layers Selected'), - titleText: gettext('Title'), - clearSelectedButtonText: gettext('Clear Selected'), - clearAllButtonText: gettext('Clear All') - }); -} - -if (window.GeoNode && GeoNode.DataCartOps) { - Ext.apply(GeoNode.DataCartOps.prototype, { - failureText: gettext('Operation Failed'), - noLayersText: gettext('No layers are currently selected.') - }); -} - - -if (window.GeoNode && GeoNode.BatchDownloadWidget) { - Ext.apply(GeoNode.BatchDownloadWidget.prototype, { - downloadingText: gettext('Downloading...'), - cancelText: gettext('Cancel'), - windowMessageText: gettext('Please wait') - }); -} - -{% block extra_lang %} -{% endblock %} diff --git a/haitidata/templates/layers/layer_base.html b/haitidata/templates/layers/layer_base.html deleted file mode 100644 index 6531501..0000000 --- a/haitidata/templates/layers/layer_base.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %} {{ block.super }} {% endblock %} - -{% block body_class %}layers{% endblock %} - -{% block body_outer %} - {% block body %}{% endblock body %} - {% block sidebar %}{% endblock sidebar %} -{% endblock body_outer %} diff --git a/haitidata/templates/layers/layer_change_poc.html b/haitidata/templates/layers/layer_change_poc.html deleted file mode 100644 index f056803..0000000 --- a/haitidata/templates/layers/layer_change_poc.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends "admin/base_site.html" %} - -{% load i18n %} - -{% block breadcrumbs %}{% endblock %} - -{% block title %}{% trans 'Change point of contact' %}{% endblock %} - -{% block content %} -

    {% trans "Assign a new point of contact to the layers below:" %}

    -{% for layer in layers %} -
  • {{ layer }}
  • -{% endfor %} -
    -{% csrf_token %} -{{ form.as_p }} -

    -
    -
      - -{% endblock %} -
    diff --git a/haitidata/templates/layers/layer_detail.html b/haitidata/templates/layers/layer_detail.html index acb92a9..eae5d57 100644 --- a/haitidata/templates/layers/layer_detail.html +++ b/haitidata/templates/layers/layer_detail.html @@ -282,8 +282,8 @@ {% if resource.storeType != "remoteStore" %}
  • {% if links or links_download %} - - {% else %} + + {% else %} {% if request.user.is_authenticated %} {% endif %} @@ -344,6 +344,12 @@ {% get_obj_perms request.user for resource.layer as "layer_perms" %} {% endif %} +
  • + + + +
  • + {% if "change_resourcebase_metadata" in perms_list or "change_resourcebase" in perms_list or "delete_resourcebase" in perms_list or "change_layer_style" in layer_perms %}
  • @@ -488,6 +494,7 @@
  • + {% if resource.service_type != "WCS" %}
  • {% trans "Charts using this layer" %}

    {% if resource.maps %} @@ -505,75 +512,74 @@
  • {% trans "Create a chart using this layer" %}

    {% trans "Click the button below to generate a new chart based on this layer, choosing a quantity and a category field." %}

    - -
    -
    - {% csrf_token %} -
    - -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -
    -
    -
    - -
    - -

    Suggested title:

    -

    Testo di prova

    -
    -
    -
    - -
    - - -
    -
    - - + +
    + + {% csrf_token %} +
    + +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +
    +
    +
    + +
    + +

    Suggested title:

    +

    Testo di prova

    +
    +
    +
    + +
    + +
    +
    + +
  • @@ -610,62 +616,60 @@
    - + + {% endif %} {% if documents.count > 0 %}
  • @@ -749,10 +753,6 @@ function updateLinkAndTitle(){ {% include 'request_download.html' %} {% include 'layers/download_clip.html' %} - diff --git a/haitidata/templates/layers/layer_granule_remove.html b/haitidata/templates/layers/layer_granule_remove.html deleted file mode 100644 index eb67b68..0000000 --- a/haitidata/templates/layers/layer_granule_remove.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "layers/layer_base.html" %} -{% load i18n %} - -{% block title %}{{ layer.typename }} — {{ block.super }}{% endblock %} - -{% block body %} - -
    -
    -

    - {% blocktrans with layer.typename as layer_title %} - Are you sure you want to remove Granule {{ granule_id }} of the Mosaic {{ layer_title }}? - {% endblocktrans %} -

    -
    - {% csrf_token %} - - -
    -
    - {% if layer.maps %} -
    - -
    - {% endif %} -
    -{% endblock %} diff --git a/haitidata/templates/layers/layer_leaflet_map.html b/haitidata/templates/layers/layer_leaflet_map.html deleted file mode 100644 index 7f2ddf3..0000000 --- a/haitidata/templates/layers/layer_leaflet_map.html +++ /dev/null @@ -1,79 +0,0 @@ -{% load leaflet_tags %} - -{% leaflet_js %} -{% leaflet_css %} - - - diff --git a/haitidata/templates/layers/layer_list.html b/haitidata/templates/layers/layer_list.html index 18610ab..0266ac1 100644 --- a/haitidata/templates/layers/layer_list.html +++ b/haitidata/templates/layers/layer_list.html @@ -18,7 +18,7 @@ {% endif %} {% endblock %} -{% block body_class %}layers{% endblock %} +{% block body_class %}layers explore{% endblock %} {% block body %} {% with include_type_filter='true' %} @@ -34,6 +34,7 @@ {% endblock %} {% block extra_script %} +{{ block.super }} {% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form_js.html" %} {% endif %} diff --git a/haitidata/templates/layers/layer_map.html b/haitidata/templates/layers/layer_map.html deleted file mode 100644 index 4f0ec24..0000000 --- a/haitidata/templates/layers/layer_map.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "layers/layer_leaflet_map.html" %} diff --git a/haitidata/templates/layers/layer_metadata.html b/haitidata/templates/layers/layer_metadata.html deleted file mode 100644 index b91edb7..0000000 --- a/haitidata/templates/layers/layer_metadata.html +++ /dev/null @@ -1,133 +0,0 @@ -{% extends "layers/layer_base.html" %} -{% load i18n %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {% trans "Edit Metadata" %} | {{ layer.typename }}{% endblock %} -{% block page-title %}{% trans "Edit Metadata" %}{% endblock %} - -{% block body_class %}metadata{% endblock %} - -{% block body_outer %} -
    - {% trans "Explore Layers" %} -
    -

    - {% blocktrans with layer.typename as layer_title %} - Editing details for {{ layer_title }} - {% endblocktrans %} -

    -
    - {% if layer.metadata_uploaded_preserve %} -

    {% blocktrans %}Note: this layer's orginal metadata was populated and preserved by importing a metadata XML file. - This metadata cannot be edited.{% endblocktrans %}

    - {% elif layer.metadata_uploaded %} -

    {% blocktrans %}Note: this layer's orginal metadata was populated by importing a metadata XML file. - GeoNode's metadata import supports a subset of ISO, FGDC, and Dublin Core metadata elements. - Some of your original metadata may have been lost.{% endblocktrans %}

    - {% endif %} - - {% if layer_form.errors or attribute_form.errors or category_form.errors or author_form.errors or poc.errors %} -

    {% blocktrans %}Error updating metadata. Please check the following fields: {% endblocktrans %}

    -
      - {% if author_form.errors %} -
    • {% trans "Metadata Author" %}
    • - {{ author_form.errors }} - {% endif %} - {% if poc_form.errors %} -
    • {% trans "Point of Contact" %}
    • - {{ poc_form.errors }} - {% endif %} - {% for field in layer_form %} - {% if field.errors %} -
    • {{ field.label }}
    • - {% endif %} - {% endfor %} - {% if not attribute_form.is_valid %} -
    • {% trans "Attributes" %}
    • - {% for field in attribute_form %} - {% if field.errors %} -
    • {{ field.errors }}
    • - {% endif %} - {% endfor %} - {% endif %} - {% if category_form.errors %} -
    • {{ category_form.errors.as_ul }}
    • - {% endif %} -
    - {% endif %} - - {% if not layer.metadata_uploaded_preserve %} -
    - -
    - {% endif %} - - - {% csrf_token %} -
    - {{ layer_form|as_bootstrap }} -
    - -
    -
    - -
    - {% autoescape off %} - {% for choice in category_form.category_choice_field.field.choices %} -
    - - {{ choice.1 }} - -
    - {% endfor %} - {% endautoescape %} -
    -
    -
    -
    {% trans "Attributes" %}
    - {{ attribute_form.management_form }} - - - - - - - - {% for form in attribute_form.forms %} - {% if form.attribute %} - - - - - - - {% endif %} - {% endfor %} -
    {% trans "Attribute" %}{% trans "Label" %}{% trans "Description" %}{% trans "Display Order" %}
    {{form.id}}
    {{form.attribute}}
    {{form.attribute_label}}{{form.description}}{{form.display_order}}
    - - - - - {% if not layer.metadata_uploaded_preserve %} -
    - -
    - {% endif %} -
    -
    -
    -
    -
    -{% endblock %} -{% block extra_script %} - {% include 'metadata_form_js.html' %} -{% endblock %} diff --git a/haitidata/templates/layers/layer_metadata_detail.html b/haitidata/templates/layers/layer_metadata_detail.html deleted file mode 100644 index f320e00..0000000 --- a/haitidata/templates/layers/layer_metadata_detail.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "metadata_detail.html" %} \ No newline at end of file diff --git a/haitidata/templates/layers/layer_ol3_map.html b/haitidata/templates/layers/layer_ol3_map.html deleted file mode 100644 index 3056b87..0000000 --- a/haitidata/templates/layers/layer_ol3_map.html +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/haitidata/templates/layers/layer_remove.html b/haitidata/templates/layers/layer_remove.html deleted file mode 100644 index 90fa570..0000000 --- a/haitidata/templates/layers/layer_remove.html +++ /dev/null @@ -1,40 +0,0 @@ -{% extends "layers/layer_base.html" %} -{% load i18n %} - -{% block title %}{{ layer.typename }} — {{ block.super }}{% endblock %} - -{% block body %} - -
    -
    -

    - {% blocktrans with layer.typename as layer_title %} - Are you sure you want to remove {{ layer_title }}? - {% endblocktrans %} -

    -
    - {% csrf_token %} - - -
    -
    - {% if layer.maps %} -
    - -
    - {% endif %} -
    -{% endblock %} diff --git a/haitidata/templates/layers/layer_replace.html b/haitidata/templates/layers/layer_replace.html deleted file mode 100644 index 0d5e4ec..0000000 --- a/haitidata/templates/layers/layer_replace.html +++ /dev/null @@ -1,125 +0,0 @@ -{% extends "upload/layer_upload_base.html" %} -{% load i18n %} -{% load staticfiles %} - -{% block title %} {% trans "Replace Layer" %} - {{ block.super }} {% endblock %} - -{% block body_class %}data data-list upload{% endblock %} - -{% block extra_head %}{{ block.super }}{% endblock %} - -{% block head %} - -{{ block.super }} -{% endblock %} - -{% block body %} - -
    -

    {% trans "Replace Layer: " %}{{ layer.title }}

    - - {% if incomplete %} -
    -

    {% trans "Incomplete Uploads" %}

    -

    {% trans "You have the following incomplete uploads" %}:

    - {% for u in incomplete %} -
    -
    {{ u.name }}, {% trans "last updated on" %} {{ u.date }}
    - -
    - {% endfor %} -
    -
    - {% trans "Are you sure you want to delete this upload?" %} - - {% trans "Delete, and don't ask me again." %} -
    - {% endif %} - {% block additional_info %}{% endblock %} - - {% if errors %} -
    - {% for error in errors %} -
    {{ error }}
    - {% endfor %} -
    - {% endif %} - -
    -


    {% trans "Drop files here" %}

    -
    - -

    {% trans " or select them one by one:" %}

    - -
    - -
    - -
    -
      -

      {% trans "Files to be uploaded" %}

      -
      -
      - -
      -

      {% trans "Select the charset or leave default" %}

      - -
      - -
      - {% trans "Clear" %} - {% trans "Replace Layer" %} -
      -
      -{% endblock %} - -{% block sidebar %} - -{% if GEONODE_SECURITY_ENABLED %} -
      -

      {% trans "Permissions" %}

      -
      - {% include "_permissions.html" %} -
      -
      -{% endif %} - -{% endblock %} - -{% block extra_script %} - - - - -{% with "none" as layer %} -{% include "_permissions_form_js.html" %} -{% endwith %} -{% endblock extra_script %} diff --git a/haitidata/templates/layers/layer_style_manage.html b/haitidata/templates/layers/layer_style_manage.html deleted file mode 100644 index aa3583a..0000000 --- a/haitidata/templates/layers/layer_style_manage.html +++ /dev/null @@ -1,89 +0,0 @@ -{% extends "layers/layer_base.html" %} -{% load i18n %} - -{% block title %}{{ layer.typename }} — {{ block.super }}{% endblock %} - -{% block body_class %}layers{% endblock %} - -{% block body_outer %} -{% if error %} -
      {{ error }}
      -{% endif %} - - -

      {% blocktrans with layer.typename as layer_title %} - Manage Available Styles for {{ layer_title }} - {% endblocktrans %}

      -
      -
      -
      -
      -

      {% trans "Layer Default Style" %}

      -
      -
      - -
      -
      -
      -
      -
      -
      -

      {% trans "Available styles" %}

      -

      {% trans "Click on an available style in the upper box to assign it to this layer. Selected styles appear in the lower box." %}

      -
      -
      - - {% csrf_token %} - -
      -
      -
      -
      -
      - -
      -
      -
      - -{% endblock %} -{% block extra_script %} - -{% endblock %} diff --git a/haitidata/templates/layers/wps_execute_gs_aggregate.xml b/haitidata/templates/layers/wps_execute_gs_aggregate.xml deleted file mode 100644 index 4110e9d..0000000 --- a/haitidata/templates/layers/wps_execute_gs_aggregate.xml +++ /dev/null @@ -1,84 +0,0 @@ - - - gs:Aggregate - - - features - - - - - - - - - - aggregationAttribute - - {{ field }} - - - - function - - Count - - - - function - - Min - - - - function - - Max - - - - function - - Average - - - - function - - Median - - - - function - - StdDev - - - - function - - Sum - - - - singlePass - - True - - - - - - - result - - - diff --git a/haitidata/templates/layers/wps_execute_gs_unique.xml b/haitidata/templates/layers/wps_execute_gs_unique.xml deleted file mode 100644 index ec4a5ef..0000000 --- a/haitidata/templates/layers/wps_execute_gs_unique.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - gs:Unique - - - features - - - - - - - - - - attribute - - {{ field }} - - - - - - result - - - diff --git a/haitidata/templates/leaflet_maps/map_base.html b/haitidata/templates/leaflet_maps/map_base.html deleted file mode 100644 index ce6a9c0..0000000 --- a/haitidata/templates/leaflet_maps/map_base.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %}{% block title_sub %}{% trans "Explore Maps" %}{% endblock %} - {{ block.super }} {% endblock %} - -{% block body_class %}maps{% endblock %} - -{% block body_outer %} - - {% block body %}{% endblock body %} - {% block sidebar %}{% endblock sidebar %} -{% endblock %} diff --git a/haitidata/templates/leaflet_maps/map_list.html b/haitidata/templates/leaflet_maps/map_list.html deleted file mode 100644 index fd2e11c..0000000 --- a/haitidata/templates/leaflet_maps/map_list.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "maps/map_base.html" %} -{% load i18n %} -{% load staticfiles %} -{% load url from future %} - -{% block body_class %}maps explore{% endblock %} - -{% block body %} - - {% include "search/_search_content.html" %} - {% include "_bulk_permissions_form.html" %} -{% endblock %} - -{% block extra_script %} - {% if GEONODE_SECURITY_ENABLED %} - {% include "_permissions_form_js.html" %} - {% endif %} - - {% with include_spatial='true' %} - {% include 'search/search_scripts.html' %} - {% endwith %} -{% endblock extra_script %} diff --git a/haitidata/templates/leaflet_maps/map_view.html b/haitidata/templates/leaflet_maps/map_view.html deleted file mode 100644 index f4178d9..0000000 --- a/haitidata/templates/leaflet_maps/map_view.html +++ /dev/null @@ -1,569 +0,0 @@ -{% extends "site_base.html" %} -{% load bootstrap_tags %} -{% load staticfiles %} -{% load i18n %} - -{% block title %} - {% trans "GeoExplorer" %} - {{ block.super }} -{% endblock title %} - -{% block head %} - {{ block.super }} -{% endblock head %} - -{% block extra_head %} - - - - - - - -{% endblock extra_head %} - -{% block body %} -
    • - - -
      -
      -
      -
      -
      - - - -
      -

      Map layers

      -
      -
        -
      -
      -

      Background layers

      -
      -
        -
      -
      -
      - - {# #} - {# #} -
      -
      -
      - -
      -
      -
      -
      -
      -
      - - -{% endblock body %} - -{% block footer %} - -{% endblock footer %} - -{% block extra_script %} - - - - - - - - - -{% endblock extra_script %} diff --git a/haitidata/templates/maps/map_base.html b/haitidata/templates/maps/map_base.html deleted file mode 100644 index f431373..0000000 --- a/haitidata/templates/maps/map_base.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %}{% block title_sub %}{% trans "Explore Maps" %}{% endblock %} - {{ block.super }} {% endblock %} - -{% block body_class %}maps{% endblock %} - -{% block body_outer %} - {% block body %}{% endblock body %} - {% block sidebar %}{% endblock sidebar %} -{% endblock %} diff --git a/haitidata/templates/maps/map_download.html b/haitidata/templates/maps/map_download.html deleted file mode 100644 index b72b450..0000000 --- a/haitidata/templates/maps/map_download.html +++ /dev/null @@ -1,134 +0,0 @@ -{% extends "maps/map_base.html" %} -{% load i18n %} - -{% block body %} -
      -

      {% trans "Download" %} {{map.title}}

      -

      - {% blocktrans %} - Here you can download all the layers of this map that - are hosted on this GeoNode. - {% endblocktrans %} -

      - - {% if locked_layers %} - {% blocktrans %} - Additionally, the map contains these layers which will not be downloaded - due to security restrictions: - {% endblocktrans %} - - {% endif %} - - {% if remote_layers %} - {% blocktrans %} - Finally, the map contains these layers which will not be downloaded - because they are not available directly from this GeoNode: - {% endblocktrans %} - - {% endif %} - - {% if map_status %} -
      -
      {% trans 'Downloading' %}...
      -
      -
      -
      - {% trans 'Cancel' %} - -
      - {% elif downloadable_layers|length > 0 %} -
      - {% csrf_token %} -
      - -
      -
      - {% endif %} -
      -{% endblock %} -{% block extra_script %} - -{% endblock extra_script %} diff --git a/haitidata/templates/maps/map_edit.html b/haitidata/templates/maps/map_edit.html deleted file mode 100644 index 7455198..0000000 --- a/haitidata/templates/maps/map_edit.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load base_tags %} - -{% block title %} {% trans "Edit Map" %} - {{ block.super }} {% endblock %} -{% block head %} - {% if preview == 'geoext' %} - {% include 'maps/map_geoexplorer.js' %} - {% elif preview == 'react' %} - {% include 'geonode-client/edit_map.html' %} - {% else %} - {% include 'maps/map_geoexplorer.js' %} - {% endif %} - - {{ block.super }} -{% endblock %} - -{% block footer %}{% endblock %} diff --git a/haitidata/templates/maps/map_embed.html b/haitidata/templates/maps/map_embed.html deleted file mode 100644 index 764115f..0000000 --- a/haitidata/templates/maps/map_embed.html +++ /dev/null @@ -1,40 +0,0 @@ -{% load i18n %} - -{% block head %} - {% include "geonode/ext_header.html" %} - {% include "geonode/app_header.html" %} - {% include "geonode/geo_header.html" %} - - - -{% endblock %} - -{% block body %} -{% endblock %} diff --git a/haitidata/templates/maps/map_geoexplorer.js b/haitidata/templates/maps/map_geoexplorer.js deleted file mode 100644 index 4e4d2e5..0000000 --- a/haitidata/templates/maps/map_geoexplorer.js +++ /dev/null @@ -1,44 +0,0 @@ -{% include 'geonode/ext_header.html' %} -{% include 'geonode/geo_header.html' %} - - - - - - diff --git a/haitidata/templates/maps/map_include.html b/haitidata/templates/maps/map_include.html deleted file mode 100644 index bd68f43..0000000 --- a/haitidata/templates/maps/map_include.html +++ /dev/null @@ -1,36 +0,0 @@ -{% include "geonode/ext_header.html" %} -{% include "geonode/app_header.html" %} -{% include "geonode/geo_header.html" %} - diff --git a/haitidata/templates/maps/map_leaflet.html b/haitidata/templates/maps/map_leaflet.html deleted file mode 100644 index 2ce937d..0000000 --- a/haitidata/templates/maps/map_leaflet.html +++ /dev/null @@ -1,81 +0,0 @@ -{% load leaflet_tags %} - -{% leaflet_js %} -{% leaflet_css %} - - - - \ No newline at end of file diff --git a/haitidata/templates/maps/map_list.html b/haitidata/templates/maps/map_list.html index f2264c3..e70db59 100644 --- a/haitidata/templates/maps/map_list.html +++ b/haitidata/templates/maps/map_list.html @@ -16,7 +16,6 @@ {% endif %} - {% endblock %} {% block body_class %}maps{% endblock %} diff --git a/haitidata/templates/maps/map_metadata.html b/haitidata/templates/maps/map_metadata.html index 83a9c08..e3eb6dc 100644 --- a/haitidata/templates/maps/map_metadata.html +++ b/haitidata/templates/maps/map_metadata.html @@ -2,9 +2,22 @@ {% load i18n %} {% load bootstrap_tags %} -{% block title %}{{ map.title }} — {{ block.super }}{% endblock %} +{% block title %}{{ block.super }} {{ map.title }} - {% trans "Edit Metadata" %}{% endblock %} +{% block page-title %} + {% trans "Edit Metadata" %} + {% if user.is_authenticated %} +
      + + + + + {% trans "Create Map" %} + +
      + {% endif %} +{% endblock %} -{% block body_class %}data{% endblock %} +{% block body_class %}metadata{% endblock %} {% block body_outer %} @@ -82,5 +95,5 @@ {% endblock %} {% block extra_script %} - {% include 'metadata_form_js.html' %} + {% include 'metadata_form_js.html' %} {% endblock %} diff --git a/haitidata/templates/maps/map_metadata_detail.html b/haitidata/templates/maps/map_metadata_detail.html deleted file mode 100644 index f320e00..0000000 --- a/haitidata/templates/maps/map_metadata_detail.html +++ /dev/null @@ -1 +0,0 @@ -{% extends "metadata_detail.html" %} \ No newline at end of file diff --git a/haitidata/templates/maps/map_new.html b/haitidata/templates/maps/map_new.html deleted file mode 100644 index 0a3437f..0000000 --- a/haitidata/templates/maps/map_new.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load base_tags %} - -{% block title %} {% trans "New Map" %} - {{ block.super }} {% endblock %} -{% block head %} - {% if preview == 'geoext' %} - {% include 'maps/map_geoexplorer.js' %} - {% elif preview == 'react' %} - {% include 'geonode-client/map_new.html' %} - {% else %} - {% include 'maps/map_geoexplorer.js' %} - {% endif %} - - {{ block.super }} -{% endblock %} - -{% block footer %}{% endblock %} diff --git a/haitidata/templates/maps/map_ol3.html b/haitidata/templates/maps/map_ol3.html deleted file mode 100644 index d29e285..0000000 --- a/haitidata/templates/maps/map_ol3.html +++ /dev/null @@ -1,62 +0,0 @@ - - - diff --git a/haitidata/templates/maps/map_remove.html b/haitidata/templates/maps/map_remove.html index ce0d62d..1f02d3a 100644 --- a/haitidata/templates/maps/map_remove.html +++ b/haitidata/templates/maps/map_remove.html @@ -3,12 +3,12 @@ {% load i18n %} {% load bootstrap_tags %} -{% block title %}{% trans "Deleting" %} {{ map.title }} — {{ block.super }}{% endblock %} +{% block title %}{{ block.super }} {% trans "Remove Map" %}{% endblock %} +{% block page-title %} + {% trans "Remove Map" %} +{% endblock %} {% block body %} -

      diff --git a/haitidata/templates/maps/map_sdk.js b/haitidata/templates/maps/map_sdk.js deleted file mode 100644 index f0b8c73..0000000 --- a/haitidata/templates/maps/map_sdk.js +++ /dev/null @@ -1,44 +0,0 @@ -{% include 'geonode/ext_header.html' %} -{% include 'geonode/sdk_header.html' %} - - - diff --git a/haitidata/templates/maps/map_view.html b/haitidata/templates/maps/map_view.html deleted file mode 100644 index b6a2dd3..0000000 --- a/haitidata/templates/maps/map_view.html +++ /dev/null @@ -1,18 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load base_tags %} - -{% block title %} {% trans "Map" %} - {{ block.super }} {% endblock %} - -{% block head %} - {% if preview == 'geoext' %} - {% include 'maps/map_geoexplorer.js' %} - {% elif preview == 'react' %} - {% include 'geonode-client/map_view.html' %} - {% else %} - {% include 'maps/map_geoexplorer.js' %} - {% endif %} - {{ block.super }} -{% endblock %} -{% block footer %}{% endblock %} diff --git a/haitidata/templates/maps/wmc.xml b/haitidata/templates/maps/wmc.xml deleted file mode 100644 index 880b7ff..0000000 --- a/haitidata/templates/maps/wmc.xml +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - {{ map.title }} - {% if map.keyword_list %} - - {% for keyword in map.keyword_list %} - {{ keyword }} - {% endfor %} - - {% endif %} - {{ map.abstract }} - - - - - - - {% with profile as profile %} - - - {{ profile.name }} - {{ profile.organization }} - - {{ profile.position }} - - postal -

      {{ profile.delivery }}
      - {{ profile.city }} - {{ profile.area }} - {{ profile.zipcode }} - {{ profile.country }} - - {{ profile.voice }} - {{ profile.fax }} - {{ map.owner.email }} - - {% endwith %} - - - {% for layer in map.layers %} - {% if layer.ows_url != None %} - {% with layer.layer_config as lc %} - - {% endwith %} - {% endif %} - {% endfor %} - - diff --git a/haitidata/templates/masdap/entry_page_header.html b/haitidata/templates/masdap/entry_page_header.html deleted file mode 100644 index 9536d8a..0000000 --- a/haitidata/templates/masdap/entry_page_header.html +++ /dev/null @@ -1,25 +0,0 @@ -{% load wagtailroutablepage_tags wagtailimages_tags puput_tags %} -{% if entry.categories.count > 0 %} - -{% endif %} -

      {{ entry.title }}

      - diff --git a/haitidata/templates/masdap/map_entry_page.html b/haitidata/templates/masdap/map_entry_page.html deleted file mode 100644 index 91a3d99..0000000 --- a/haitidata/templates/masdap/map_entry_page.html +++ /dev/null @@ -1,59 +0,0 @@ -{% extends "blog/base.html" %} -{% load wagtailcore_tags wagtailimages_tags puput_tags %} - -{% block title %}{{ self.title }} | {{ blog_page.title }}{% endblock title %} -{% block meta_title %}{% if self.seo_title %}{{ self.seo_title }}{% else %}{{ self.title }}{% endif %}{% endblock meta_title %} -{% block meta_description %}{% if self.search_description %}{{ self.search_description }}{% else %}{{ self.body|striptags|truncatewords:20 }}{% endif %}{% endblock meta_description %} -{% block canonical %}{% canonical_url entry=self %}{% endblock canonical %} -{% block social_share %} - {% image self.header_image fill-800x450 as share_image %} - - - - {% if self.header_image %} - - - - - {% endif %} - - - - - {% if page.map %} - {% block extra_head %} - {% include "blog/tags/map_leaflet.html" %} - {% endblock %} - {% endif %} - -{% endblock social_share %} - -{% block body_class %}blog{% endblock %} - -{% block content %} -
      - {% include 'masdap/entry_page_header.html' with entry=self %} - {% if self.header_image %} -
      - - {% image self.header_image fill-800x450 as header_image %} - {{ self.header_image.title }} - -
      - {% endif %} -
      - {{ self.body|richtext}} - {% if page.map %} - {% include "blog/tags/map.html" %} - {% endif %} -
      - {% show_comments %} -
      -{% endblock content %} - -{% block extra_content %} - {% if self.has_related %} - {% include 'blog/related_entries.html' with entry=self %} - {% endif %} -{% endblock extra_content %} diff --git a/haitidata/templates/metadata_detail.html b/haitidata/templates/metadata_detail.html deleted file mode 100644 index 69dfc4b..0000000 --- a/haitidata/templates/metadata_detail.html +++ /dev/null @@ -1,376 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {{ resource.title }} — {{ block.super }}{% endblock %} -{% block page-title %}{% trans "Metadata" %}{% endblock %} - -{% block body_class %}data{% endblock %} - -{% block body_outer %} - - - - - - -
      - - {% trans "Identification" %} -

      - -
      - {% if resource.title %} -
      {% trans "Title" %}
      -
      {{ resource.title|truncatechars:80 }}
      - {% endif %} - - {% if resource.abstract %} -
      {% trans "Abstract" %}
      -
      {{ resource.abstract|escape|urlize|linebreaks|safe|truncatechars:1000 }}
      - {% endif %} - -
      - -
      - - {% if LICENSES_ENABLED and LICENSES_DETAIL == 'above' and resource.license %} -
      {% trans "License" %}
      -
      {{ resource.license.name_long }}
      - {% endif %} -
      - {% for bullet in resource.license.description_bullets %} - {{ bullet }}

      - {% endfor %} - {% if resource.license.url %} - + For more info see {{ resource.license.url }}. - {% endif %} -
      - - - {% if resource.date %} -
      {% trans resource.date_type|title %} {% trans "Date" %}
      -
      {{ resource.date }}
      - {% endif %} - - {% if resource.display_type %} -
      {% trans "Type" %}
      -
      {{ resource.display_type }}
      - {% endif %} - - {% if resource.keyword_list %} -
      {% trans "Keywords" %}
      -
      {% for keyword in resource.keyword_list %} - {{ keyword }} - {% endfor %}
      - {% endif %} - - {% if resource.category %} -
      {% trans "Category" %}
      -
      {{ resource.category }} {% if resource.category.description %}{% endif %}
      - {% if resource.category.description %} -
      - {{ resource.category.description }} -
      - {% endif %} - {% endif %} - - {% if resource.regions.all %} -
      {% trans "Regions" %}
      -
      {{ resource.regions.all|join:", " }}
      - {% endif %} - -
      {% trans "Published" %}
      -
      {% if resource.is_published %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}
      - -
      {% trans "Featured" %}
      -
      {% if resource.featured %} {% trans "Yes" %} {% else %} {% trans "No" %} {% endif %}
      - - -
      - - - {% trans "Owner" %} -

      - -
      - - {% if resource.owner %} - {% with resource.owner as poc %} - -
      {% trans "Name" %}
      -
      {{ poc.name_long }}
      - -
      {% trans "email" %}
      -
      {{ poc.email }}
      - -
      {% trans "Position" %}
      -
      {{ poc.position }}
      - -
      {% trans "Organization" %}
      -
      {{ poc.organization }}
      - -
      {% trans "Location" %}
      -
      {{ poc.location }}
      - -
      {% trans "Voice" %}
      -
      {{ poc.voice }}
      - -
      {% trans "Fax" %}
      -
      {{ poc.fax }}
      - - {% if poc.keyword_list %} -
      {% trans "Keywords" %}
      -
      {% for keyword in poc.keyword_list %} - {{ keyword }} - {% endfor %}
      - {% endif %} - - {% endwith %} - {% endif %} - -
      - - {% trans "Information" %} -

      - -
      - -
      {% trans "Identification Image" %}
      -
      - -
      - -
      - -
      - -
      {% trans "Spatial Resolution" %}
      -
      {% if resource.scale %} {{ resource.scale }} {% else %} --- {% endif %}
      - -
      {% trans "Projetion System" %}
      -
      {{ resource.srid }}
      - -
      {% trans "Extension x0" %}
      -
      {{resource.bbox_x0}}
      - -
      {% trans "Extension x1" %}
      -
      {{resource.bbox_x1}}
      - -
      {% trans "Extension y0" %}
      -
      {{resource.bbox_y0}}
      - -
      {% trans "Extension y1" %}
      -
      {{resource.bbox_y1}}
      - -
      - - {% trans "Features" %} -

      - -
      - - {% if LICENSES_ENABLED and LICENSES_DETAIL == 'below' and resource.license %} -
      {% trans "License" %}
      -
      {{ resource.license.name_long }}
      -
      - {% for bullet in resource.license.description_bullets %} - {{ bullet }}

      - {% endfor %} - {% if resource.license.url %} - + For more info see {{ resource.license.url }}. - {% endif %} -
      - {% endif %} - - {% if resource.maintenance_frequency %} -
      {% trans "Maintenance Frequency" %}
      -
      {{ resource.maintenance_frequency_title }}
      - {% endif %} - - {% if resource.restriction_code_type or resource.constraints_other %} -
      {% trans "Restrictions" %}
      -
      {% if resource.constraints_other %} - {{ resource.constraints_other }} - {% else %} - {{ resource.restriction_code_type }} - {% endif %}
      - {% endif %} - - {% if resource.edition %} -
      {% trans "Edition" %}
      -
      {{ resource.edition}}
      - {% endif %} - - {% if resource.purpose %} -
      {% trans "Purpose" %}
      -
      {{ resource.purpose|escape|urlize|linebreaks|safe|truncatechars:160 }}
      - {% endif %} - - {% if resource.language %} -
      {% trans "Language" %}
      -
      {{ resource.language_title }}
      - {% endif %} - - {% if resource.temporal_extent_start and resource.temporal_extent_end %} -
      {% trans "Temporal Extent" %}
      -
      {{ resource.temporal_extent_start }} - {{ resource.temporal_extent_end }}
      - {% endif %} - - {% if resource.data_quality_statement %} -
      {% trans "Data Quality" %}
      -
      {{ resource.data_quality_statement }}
      - {% endif %} - - {% if resource.supplemental_information %} -
      {% trans "Supplemental Information" %}
      -
      {{ resource.supplemental_information|truncatechars:160|escape|urlize|linebreaks|safe }}
      - {% endif %} - - {% if resource.spatial_representation_type %} -
      {% trans "Spatial Representation Type" %}
      -
      {{ resource.spatial_representation_type }}
      - {% endif %} - -
      - - {% if resource.poc %} - {% trans "Contact Points" %} -

      - -
      - -
      {% trans "Name" %}
      -
      {{ resource.poc.name_long }}
      - -
      {% trans "email" %}
      -
      {{ resource.poc.email }}
      - -
      {% trans "Position" %}
      -
      {{ resource.poc.position }}
      - -
      {% trans "Organization" %}
      -
      {{ resource.poc.organization }}
      - -
      {% trans "Location" %}
      -
      {{ resource.poc.location }}
      - -
      {% trans "Voice" %}
      -
      {{ resource.poc.voice }}
      - -
      {% trans "Fax" %}
      -
      {{ resource.poc.fax }}
      - - {% if poc.keyword_list %} -
      {% trans "Keywords" %}
      -
      {% for keyword in resource.poc.keyword_list %} - {{ keyword }} - {% endfor %}
      - {% endif %} - -
      - -
      - - - - {% endif %} - - {% trans "References" %} -

      - -
      - -
      {% trans "Link Online" %}
      -
      {{ resource.get_absolute_url }}
      - -
      {% trans "Metadata Page" %}
      -
      {{ resource.get_absolute_url }}/metadata_detail
      - - {% if resource.doc_file %} -
      {% trans "Online Link" %}
      -
      {{ resource.get_absolute_url }}/download
      - {% endif %} - -
      - - {% for link in resource.link_set.download %} -
      {{link.name}}
      -
      {{resource.title}}.{{link.extension}}
      - {% endfor %} - -
      - - {% for link in resource.link_set.ows %} -
      {{link.name}}
      -
      Geoservice {{link.link_type}}
      - {% endfor %} - -
      - - {% if resource.metadata_author %} - {% trans "Metadata Author" %} -

      - -
      - - {% with resource.metadata_author as poc %} - -
      {% trans "Name" %}
      -
      {{ poc.name_long }}
      - -
      {% trans "email" %}
      -
      {{ poc.email }}
      - -
      {% trans "Position" %}
      -
      {{ poc.position }}
      - -
      {% trans "Organization" %}
      -
      {{ poc.organization }}
      - -
      {% trans "Location" %}
      -
      {{ poc.location }}
      - -
      {% trans "Voice" %}
      -
      {{ poc.voice }}
      - -
      {% trans "Fax" %}
      -
      {{ poc.fax }}
      - - {% if poc.keyword_list %} -
      {% trans "Keywords" %}
      -
      {% for keyword in poc.keyword_list %} - {{ keyword }} - {% endfor %}
      - {% endif %} - - {% endwith %} - -
      - {% endif %} - - -
      - - -{% endblock %} diff --git a/haitidata/templates/metadata_form_js.html b/haitidata/templates/metadata_form_js.html deleted file mode 100644 index d4e8c70..0000000 --- a/haitidata/templates/metadata_form_js.html +++ /dev/null @@ -1,85 +0,0 @@ -{% load staticfiles %} -{% if DEBUG_STATIC %} - - - -{% endif %} - diff --git a/haitidata/templates/people/_profile_about_item.html b/haitidata/templates/people/_profile_about_item.html deleted file mode 100644 index 114114a..0000000 --- a/haitidata/templates/people/_profile_about_item.html +++ /dev/null @@ -1,15 +0,0 @@ -{% load friendly_loader %} -{% friendly_load avatar_tags %} -{% load i18n %} -
      - {% with 48 as avatar_size %} - {% avatar profile avatar_size %} - {% endwith %} -
      -
      -

      {{ profile.username }} - {{ username }} -
      {% if profile.organization %}{{ profile.organization }} - {% else %}{% trans "No Group" %} - {% endif %}

      -
      diff --git a/haitidata/templates/people/_profile_filters.html b/haitidata/templates/people/_profile_filters.html deleted file mode 100644 index 0c6fb0b..0000000 --- a/haitidata/templates/people/_profile_filters.html +++ /dev/null @@ -1,8 +0,0 @@ -{% load i18n %} - - \ No newline at end of file diff --git a/haitidata/templates/people/_profile_list_item.html b/haitidata/templates/people/_profile_list_item.html deleted file mode 100644 index 0a306ad..0000000 --- a/haitidata/templates/people/_profile_list_item.html +++ /dev/null @@ -1,54 +0,0 @@ -{% load i18n %} - -{% verbatim %} - -{% endverbatim %} diff --git a/haitidata/templates/people/_profile_opengraph.html b/haitidata/templates/people/_profile_opengraph.html deleted file mode 100644 index db70ed9..0000000 --- a/haitidata/templates/people/_profile_opengraph.html +++ /dev/null @@ -1,8 +0,0 @@ -{% load avatar_tags %} - - - - - - - diff --git a/haitidata/templates/people/_profile_twittercard.html b/haitidata/templates/people/_profile_twittercard.html deleted file mode 100644 index 5496b57..0000000 --- a/haitidata/templates/people/_profile_twittercard.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/haitidata/templates/people/forgot_username_form.html b/haitidata/templates/people/forgot_username_form.html deleted file mode 100644 index 83d79bf..0000000 --- a/haitidata/templates/people/forgot_username_form.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} - -{% block title %}{{ block.super }} {% trans "Forgot username" %}{% endblock %} -{% block page-title %}{% trans "Forgot username" %}{% endblock %} - -{% block body %} -

      {% trans "Enter your email address and click the submit button.
      Your username will be sent to you." %}

      -
      - {% csrf_token %} - {{ form.as_p }} -
      - -
      -
      -{% if message %} -
      {{ message }}
      -{% endif %} -{% endblock %} diff --git a/haitidata/templates/people/profile_base.html b/haitidata/templates/people/profile_base.html deleted file mode 100644 index 548be61..0000000 --- a/haitidata/templates/people/profile_base.html +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %} {{ block.super }} {% endblock %} - -{% block body_class %}people{% endblock %} - -{% block body_outer %} -{% block body %}{% endblock body %} -{% block sidebar %}{% endblock sidebar %} - -{% endblock body_outer %} \ No newline at end of file diff --git a/haitidata/templates/people/profile_create.html b/haitidata/templates/people/profile_create.html deleted file mode 100644 index a6bed47..0000000 --- a/haitidata/templates/people/profile_create.html +++ /dev/null @@ -1,17 +0,0 @@ -{% extends "people/profile_base.html" %} - -{% load i18n %} -{% load bootstrap_tags %} - -{% block body %} -
      - {% trans "Create Profile" %} - {% csrf_token %} -
      - {{ form|as_bootstrap }} -
      -
      - -
      -
      -{% endblock %} diff --git a/haitidata/templates/rating.html b/haitidata/templates/rating.html deleted file mode 100644 index 2d09f74..0000000 --- a/haitidata/templates/rating.html +++ /dev/null @@ -1,14 +0,0 @@ - \ No newline at end of file diff --git a/haitidata/templates/relationships/_list_connections.html b/haitidata/templates/relationships/_list_connections.html deleted file mode 100644 index 75b796f..0000000 --- a/haitidata/templates/relationships/_list_connections.html +++ /dev/null @@ -1,18 +0,0 @@ -{% load friendly_loader %} -{% friendly_load i18n avatar_tags relationship_tags %} -

      {% trans "Following" %}

      -{% if profile.user.relationships.following %} - {% for u in profile.user.relationships.following %} - {% avatar u 65 %} - {% endfor %} -{% else %} - {% trans "This user is not following anyone" %} -{% endif %} -

      {% trans "Followers" %}

      -{% if profile.user.relationships.followers %} - {% for u in profile.user.relationships.followers %} - {% avatar u 65 %} - {% endfor %} -{% else %} - {% trans "No one is following this user" %} -{% endif %} diff --git a/haitidata/templates/relationships/_manage_connections.html b/haitidata/templates/relationships/_manage_connections.html deleted file mode 100644 index a77bda9..0000000 --- a/haitidata/templates/relationships/_manage_connections.html +++ /dev/null @@ -1,8 +0,0 @@ -{% load friendly_loader %} -{% load i18n %} -{% friendly_load relationship_tags %} -

      {% trans "Manage Connections" %}

      - diff --git a/haitidata/templates/relationships/_profile_follow.html b/haitidata/templates/relationships/_profile_follow.html deleted file mode 100644 index a043140..0000000 --- a/haitidata/templates/relationships/_profile_follow.html +++ /dev/null @@ -1,18 +0,0 @@ -{% load friendly_loader %} -{% friendly_load relationship_tags %} - -{% if_relationship request.user profile.user "following" %} - {# they are following them, so show a "remove" url #} - {% trans "Unfollow" %} -{% else %} - {# they are not following them, so show a link to start following #} - {% trans "Follow" %} -{% endif_relationship %} - -{% if_relationship request.user profile.user "blocking" %} - {# they are blocking them, so show a "remove" url #} - {% trans "Unblock" %} -{% else %} - {# they are not blocking them, so show a link to start blocking #} - {% trans "Block" %} -{% endif_relationship %} diff --git a/haitidata/templates/relationships/confirm.html b/haitidata/templates/relationships/confirm.html deleted file mode 100644 index f9b8308..0000000 --- a/haitidata/templates/relationships/confirm.html +++ /dev/null @@ -1,15 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} - -{% block title %}{% if not add %}{% trans "No longer" %} {% endif %}{{ status.verb|capfirst }} {{ to_user.username }}?{% endblock %} - -{% block body %} -

      {% if not add %}{% trans "No longer" %} {% endif %}{{ status.verb|capfirst }} {{ to_user.username }}?

      -
      {% csrf_token %} - {{ form.as_table }} - - - - -
      -{% endblock %} diff --git a/haitidata/templates/relationships/relationship_list.html b/haitidata/templates/relationships/relationship_list.html deleted file mode 100644 index 5eb07cb..0000000 --- a/haitidata/templates/relationships/relationship_list.html +++ /dev/null @@ -1,31 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n avatar_tags relationship_tags %} - -{% block body %} - -
      - -
        - {% for user in relationship_list %} - - {% empty %} -
      • {% blocktrans %}You're not {{ status_slug }} anyone!{% endblocktrans %}
      • - {% endfor %} -
      -
      - -{% endblock %} diff --git a/haitidata/templates/relationships/success.html b/haitidata/templates/relationships/success.html deleted file mode 100644 index 47f0252..0000000 --- a/haitidata/templates/relationships/success.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} - -{% block body %} -

      {% trans "Success" %}

      -

      {% trans "You are " %}{% if add %}{% trans "now" %}{% else %}{% trans "no longer" %}{% endif %} {{ status.from_slug }} {{ to_user.username }}

      -

      {% blocktrans with to_user.username as to_user_username %}{{ to_user_username }}'s profile{% endblocktrans %}

      -{% endblock %} diff --git a/haitidata/templates/request_download.html b/haitidata/templates/request_download.html deleted file mode 100644 index eefbe8f..0000000 --- a/haitidata/templates/request_download.html +++ /dev/null @@ -1,26 +0,0 @@ - diff --git a/haitidata/templates/search/indexes/documents/document_text.txt b/haitidata/templates/search/indexes/documents/document_text.txt new file mode 100644 index 0000000..6d94c07 --- /dev/null +++ b/haitidata/templates/search/indexes/documents/document_text.txt @@ -0,0 +1,6 @@ +{{ object.content }} +{{ object.title }} +{{ object.abstract }} +{{ object.purpose }} +{{ object.supplemental_information }} +{{ object.keyword_list }} \ No newline at end of file diff --git a/haitidata/templates/search/indexes/groups/groupprofile_text.txt b/haitidata/templates/search/indexes/groups/groupprofile_text.txt new file mode 100644 index 0000000..e84a438 --- /dev/null +++ b/haitidata/templates/search/indexes/groups/groupprofile_text.txt @@ -0,0 +1,4 @@ +{{ object.content }} +{{ object.title }} +{{ object.description }} +{{ object.keyword_list }} \ No newline at end of file diff --git a/haitidata/templates/search/indexes/layers/layer_text.txt b/haitidata/templates/search/indexes/layers/layer_text.txt new file mode 100644 index 0000000..78f6b9a --- /dev/null +++ b/haitidata/templates/search/indexes/layers/layer_text.txt @@ -0,0 +1,7 @@ +{{ object.content }} +{{ object.title }} +{{ object.abstract }} +{{ object.purpose }} +{{ object.name }} +{{ object.supplemental_information }} +{{ object.keyword_list }} diff --git a/haitidata/templates/search/indexes/maps/map_text.txt b/haitidata/templates/search/indexes/maps/map_text.txt new file mode 100644 index 0000000..78f6b9a --- /dev/null +++ b/haitidata/templates/search/indexes/maps/map_text.txt @@ -0,0 +1,7 @@ +{{ object.content }} +{{ object.title }} +{{ object.abstract }} +{{ object.purpose }} +{{ object.name }} +{{ object.supplemental_information }} +{{ object.keyword_list }} diff --git a/haitidata/templates/search/indexes/people/profile_text.txt b/haitidata/templates/search/indexes/people/profile_text.txt new file mode 100644 index 0000000..e3efe10 --- /dev/null +++ b/haitidata/templates/search/indexes/people/profile_text.txt @@ -0,0 +1,7 @@ +{{ object.content }} +{{ object.get_full_name }} +{{ object.username }} +{{ object.name }} +{{ object.organization }} +{{ object.profile}} +{{ object.position }} diff --git a/haitidata/templates/search/search.html b/haitidata/templates/search/search.html index 284e930..6ea6005 100644 --- a/haitidata/templates/search/search.html +++ b/haitidata/templates/search/search.html @@ -3,8 +3,6 @@ {% load staticfiles %} {% load url from future %} -{% block title %}{{ block.super }} {% trans "Search" %}{% endblock %} - {% block page-title %} {% trans "Search" %} {% endblock %} @@ -22,6 +20,7 @@ {% endblock %} {% block extra_script %} +{{ block.super }} {% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form_js.html" %} {% endif %} diff --git a/haitidata/templates/services/layers_register.html b/haitidata/templates/services/layers_register.html deleted file mode 100644 index d343d82..0000000 --- a/haitidata/templates/services/layers_register.html +++ /dev/null @@ -1,48 +0,0 @@ -{% extends "services/services_base.html" %} -{% load i18n %} -{% block head %} -{{ block.super }} - -{% endblock %} - -{% block title %} Services -- Available Layers {{ block.super }} {% endblock %} - -{% block body %} -
      - {% if service %} -

      Select Layers to Import

      -
      - {% csrf_token %} - - - - - - - - - - - {% for layer in service.layer_set.all %} - - - - - - {% endfor %} - - -
      {% trans "All/None" %}{% trans "Name" %}{% trans "Description" %}
      {{ layer.typename }}{{ layer.description }}
      -

      -
      - {% else %} -

      No layers found

      - {% endif %} -
      -{% endblock %} diff --git a/haitidata/templates/services/service_detail.html b/haitidata/templates/services/service_detail.html deleted file mode 100644 index 5e4928b..0000000 --- a/haitidata/templates/services/service_detail.html +++ /dev/null @@ -1,125 +0,0 @@ -{% extends "services/services_base.html" %} -{% load i18n %} -{% load guardian_tags %} -{% block head %} -{% include "geonode/ext_header.html" %} -{% include "geonode/app_header.html" %} -{% include "geonode/geo_header.html" %} -{{ block.super }} - -{% endblock %} - -{% block body %} -
      -

      {{service.title|default:service.name}}

      -

      {% trans "Name:" %} {{service.name}}

      -

      {% trans "URL:" %} {{service.base_url}}

      -

      {% trans "Abstract:" %} {{service.abstract}}

      -

      {% trans "Keywords:" %} {{ service.keywords.all|join:", " }}

      -

      {% trans "Contact:" %} {{ service.owner }}

      - - {% autoescape off %} - {% if services %} -

      {% trans "Services" %}

      -

      {% trans "This CSW server contains the following services" %}

      - - - {% for service in services %} - - - - - {% endfor %} -
      TitleDescription
      {{service.title}}{{service.abstract}}
      - {% endif %} - {% if layers %} -

      {% trans "Layers" %}

      -

      {% trans "This Service contains the following layers" %}

      - - - {% for layer in layers %} - {% if layer.group != "background" %} - - - - - {% endif %} - {% endfor %} - - - - -
      TitleDescription
      {{layer.title}}{{layer.abstract}}
      - -
      - {% endif %} - - {% endautoescape %} - -
      -{% endblock %} -{% block sidebar %} - - - {% get_obj_perms request.user for service as "resource_perms" %} - - {% if "change_service" in resource_perms or "remove_service" in resource_perms or "change_service_permissions" in resource_perms %} - - {% endif %} - - - - - -{% endblock %} diff --git a/haitidata/templates/services/service_layers.html b/haitidata/templates/services/service_layers.html deleted file mode 100644 index e61c15e..0000000 --- a/haitidata/templates/services/service_layers.html +++ /dev/null @@ -1,14 +0,0 @@ -{% load i18n %} -
      -

      {% trans "Service:" %} {{ service.title }}

      - {% if layers.count > 0 %} -

      {% trans "The following layers will soon be added to the data catalog:" %}

      - - {% for layer in layers %} - - {% endfor %} -
      {{ layer.0 }}{{ layer.1|default:"" }}
      - {% else %} -

      No layers

      - {% endif %} -
      diff --git a/haitidata/templates/services/service_remove.html b/haitidata/templates/services/service_remove.html deleted file mode 100644 index 9d5d786..0000000 --- a/haitidata/templates/services/service_remove.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "services/services_base.html" %} -{% load i18n %} - -{% block title %} {{ service.name }} - {{ block.super }} {% endblock %} - -{% block body %} - -
      -
      -

      {% trans "Are you sure you want to remove" %} {{ service.name }}?

      -
      - {% csrf_token %} - - -
      -
      -
      -{% endblock %} diff --git a/haitidata/templates/services/services_base.html b/haitidata/templates/services/services_base.html deleted file mode 100644 index 3d43bfa..0000000 --- a/haitidata/templates/services/services_base.html +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %} {{ block.super }} {% endblock %} - -{% block body_class %}data{% endblock %} - -{% comment %} -{% block body_outer %} - -{% block body %}{% endblock body %} -{% block sidebar %}{% endblock sidebar %} - -{% endblock body_outer %} -{% endcomment %} diff --git a/haitidata/templates/social/_activity_item.html b/haitidata/templates/social/_activity_item.html deleted file mode 100644 index 497fe0a..0000000 --- a/haitidata/templates/social/_activity_item.html +++ /dev/null @@ -1,33 +0,0 @@ -{% load i18n %} -
    • -
      -

      - - {% if object %} - - {% endif %} - {{ username }} - - {{ verb|safe }} - - {% if object %} - {% if object.get_absolute_url %}{{ object }} - {% else %} - {{ object_name }} - {% endif %} - {% elif object_name %} - {{ object_name }} - {% endif %} - - {% if target %} - {{ preposition|default:"to" }} - {% if fragment %} - {{ target }} - {% else %} - {{ target }} - {% endif %} - {% endif %} -

      -

      {{ timestamp|timesince }} {% trans "ago" %}

      -
      -
    • diff --git a/haitidata/templates/upload/layer_upload_base.html b/haitidata/templates/upload/layer_upload_base.html deleted file mode 100644 index e12de5f..0000000 --- a/haitidata/templates/upload/layer_upload_base.html +++ /dev/null @@ -1,12 +0,0 @@ -{% extends "site_base.html" %} -{% load i18n %} -{% load url from future %} - -{% block title %} {{ block.super }} {% endblock %} - -{% block body_class %}data{% endblock %} - -{% block body_outer %} - {% block body %}{% endblock body %} - {% block sidebar %}{% endblock sidebar %} -{% endblock body_outer %} diff --git a/haitidata/templates/upload/layer_upload_crs.html b/haitidata/templates/upload/layer_upload_crs.html deleted file mode 100644 index 0fdf895..0000000 --- a/haitidata/templates/upload/layer_upload_crs.html +++ /dev/null @@ -1,46 +0,0 @@ -{% extends "upload/layer_upload_base.html" %} -{% load i18n %} -{% load staticfiles %} - -{% block body_class %}data data-list upload{% endblock %} - -{% block title %} {% trans "Upload Layer" %} - {{ block.super }} {% endblock %} - -{% block body %} -

      {% trans "Provide CRS for " %} "{{ layer_name }}"

      - -
      - {% csrf_token %} -

      {% trans "Coordinate Reference System" %}

      - {% if native_crs %} -

      - {% blocktrans %} - A coordinate reference system for this layer could not be determined. - Locate or enter the appropriate ESPG code for this layer below. - One way to do this is do visit: - prj2epsg - and enter the following: - {% endblocktrans %} -

      -
      -    {{ native_crs }}
      -    
      -
      - {{ form.srs.errors }} - {{ form.srs }} -
      - - {% else %} -

      - {% blocktrans %} - There is a problem recognizing the projection of this data. Please - reproject this data to a more common projection. - {% endblocktrans %} -

      -

      - {% endif %} -
      - -{% endblock %} diff --git a/haitidata/templates/upload/layer_upload_csv.html b/haitidata/templates/upload/layer_upload_csv.html deleted file mode 100644 index f2d3aa6..0000000 --- a/haitidata/templates/upload/layer_upload_csv.html +++ /dev/null @@ -1,67 +0,0 @@ -{% extends "upload/layer_upload_base.html" %} -{% load i18n %} -{% load static from staticfiles %} - -{% block body_class %}data data-list upload{% endblock %} - -{% block title %} {% trans "Upload Layer" %} - {{ block.super }} {% endblock %} - -{% block body %} -{% if present_choices %} -

      {% trans "Geospatial Data" %}

      -

      {% trans "Please indicate which attributes contain the latitude and longitude coordinates in the CSV data." %}

      -{% if guessed_lat_or_lng %} -

      {% blocktrans %}With this data, GeoNode was able to guess which attributes contain the -latitude and longitude coordinates, but please confirm that the correct -attributes are selected below.{% endblocktrans %}

      -{% endif %} -
      - {% csrf_token %} - {% if error %} -
      {{ error }}
      - {% endif %} -
      - - -
      -
      - - -
      - {% trans "Next" %} -
      -
      -
      - -
      -
      -{% else %} -

      {% blocktrans %}We did not detect columns that could be used for the latitude and longitude. -Please verify that you have two columns in your csv file that can be used for -the latitude and longitude.{% endblocktrans %}

      -{% endif %} -{% endblock %} - -{% block extra_script %} - -{% endblock %} \ No newline at end of file diff --git a/haitidata/templates/upload/layer_upload_error.html b/haitidata/templates/upload/layer_upload_error.html deleted file mode 100644 index 4d7f250..0000000 --- a/haitidata/templates/upload/layer_upload_error.html +++ /dev/null @@ -1,7 +0,0 @@ -{% extends "upload/layer_upload_base.html" %} - -{% block body_class %}data data-list upload{% endblock %} - -{% block body %} -

      {{ error_msg|safe }}

      -{% endblock %} diff --git a/haitidata/templates/upload/layer_upload_invalid.html b/haitidata/templates/upload/layer_upload_invalid.html deleted file mode 100644 index 53e2c46..0000000 --- a/haitidata/templates/upload/layer_upload_invalid.html +++ /dev/null @@ -1,8 +0,0 @@ -{% extends "upload/layer_upload_base.html" %} -{% load i18n %} -{% block body_class %}data data-list upload{% endblock %} - -{% block body %} -

      {% trans "Your upload is either complete or you haven't resumed an earlier one." %}

      -

      {% trans "Return to" %} {% trans "Upload Form" %}.

      -{% endblock %} diff --git a/haitidata/templates/upload/layer_upload_time.html b/haitidata/templates/upload/layer_upload_time.html deleted file mode 100644 index 3fc58e6..0000000 --- a/haitidata/templates/upload/layer_upload_time.html +++ /dev/null @@ -1,166 +0,0 @@ -{% extends "upload/layer_upload_base.html" %} -{% load i18n %} -{% load staticfiles %} - -{% block body_class %}data data-list upload{% endblock %} - -{% block title %} {% trans "Upload Layer Step 2" %} - {{ block.super }} {% endblock %} - -{% block head %} -{{ block.super }} -{% endblock %} - -{% block body %} -
      -

      {% trans "Editing details for " %} {{ layer_name }}

      - -
      - -

      {% trans "Time Options" %}

      - {% csrf_token %} - -

      {% trans "Choose time attribute" %}:

      -
      - - -
      - {% if time_form.time_attribute %} -
      - - {{ time_form.time_attribute }} -
      - {% endif %} - {% if time_form.text_attribute %} -
      - - {{ time_form.text_attribute }} -
      - - {{ time_form.text_attribute_format }} - -
      - {% endif %} - {% if time_form.year_attribute %} -
      - - {{ time_form.year_attribute }} -
      - {% endif %} - -

      {% trans "Choose optional end time attribute" %}:

      - {% if time_form.time_attribute %} -
      - - {{ time_form.end_time_attribute }} -
      - {% endif %} - {% if time_form.text_attribute %} -
      - - {{ time_form.end_text_attribute }} -
      - - {{ time_form.end_text_attribute_format }} - -
      - {% endif %} - {% if time_form.year_attribute %} -
      - - {{ time_form.end_year_attribute }} -
      - {% endif %} - -
      -

      {% trans "Present time attribute as" %}:

      -
      - - -
      -
      - - -
      -
      - - -
      - - -
      - -
      -
      -
      -
      -

      {% trans "Need Help?" %}

      -

      {% trans "Enabling Time" %}

      -

      {% blocktrans %}A feature can currently support one or two time attributes. If a single - attribute is used, the feature is considered relevant at that single point in time. If two - attributes are used, the second attribute represents the end of a valid period for the - feature.{% endblocktrans %}

      -

      {% trans "Selecting an Attribute" %}

      -

      {% trans "A time attribute can be one of" %}:

      -
        -
      • {% trans "An existing date" %}
      • -
      • {% trans "Text that can be converted to a timestamp" %}
      • -
      • {% trans "A number representing a year" %}
      • -
      -

      - {% blocktrans %} - For text attributes, one can specify a custom format or use the 'best guess' approach. - The most common formatting flags are: - {% endblocktrans %} -

      -
        -
      • y {% trans "year" %}
      • -
      • M {% trans "month" %}
      • -
      • d {% trans "day of month" %}
      • -
      • H {% trans "hour of day" %} (0-23)
      • -
      • k {% trans "hour of day" %} (1-24)
      • -
      • m {% trans "minute in hour" %}
      • -
      • s {% trans "second in minute" %}
      • -
      - -

      {% trans "Note that single quotes represent a literal character." %}

      -

      {% trans "To remove ambiguity, repeat a code to represent the maximum number of digits - for example yyyy" %}

      - - {% trans "The 'best guess' will handle date and optional time variants of" %} ISO-8601. - {% trans "In terms of the formatting flags noted above, these are" %}: -
      -    yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
      -    yyyy-MM-dd'T'HH:mm:sss'Z'
      -    yyyy-MM-dd'T'HH:mm:ss'Z'
      -    yyyy-MM-dd'T'HH:mm'Z'
      -    yyyy-MM-dd'T'HH'Z'
      -    yyyy-MM-dd
      -    yyyy-MM
      -    yyyy
      -    
      -
      -{% endblock %} - -{% block extra_script %} - - -{% endblock %} diff --git a/haitidata/templates/upload/no_upload.html b/haitidata/templates/upload/no_upload.html deleted file mode 100644 index 587d298..0000000 --- a/haitidata/templates/upload/no_upload.html +++ /dev/null @@ -1,19 +0,0 @@ -{% extends "upload/base.html" %} -{% load i18n %} - -{% block body %} -
      -

      {% trans "Your upload is either complete or you haven't resumed an earlier one." %}

      -

      {% blocktrans %}Returning to the upload starting page in 5seconds {% endblocktrans %}.

      -

      {% blocktrans %} Or just go {% endblocktrans %}{% blocktrans %}now{% endblocktrans %}.

      -
      - -{% endblock %} diff --git a/haitidata/templates/user_messages/_message_snippet.html b/haitidata/templates/user_messages/_message_snippet.html deleted file mode 100644 index 8120cde..0000000 --- a/haitidata/templates/user_messages/_message_snippet.html +++ /dev/null @@ -1,46 +0,0 @@ -{% load i18n %} - -{% load avatar_tags %} - - - - - - - - - - - - - {% for thread in threads %} - - - - - - - - {% endfor %} - -
      {% trans "With" %}{% trans "Subject" %}{% trans "Last Sender" %}{% trans "Preview" %}{% trans "Delete?" %}
      - {% for user in thread.users.all %} - {% ifnotequal request.user user %} -

      {% avatar user 30 %}

      - {{ user }} - {% endifnotequal %} - {% endfor %} -
      {{ thread.subject }} - {% ifequal request.user thread.latest_message.sender %} - {% trans "me" %} - {% else %} - {{ thread.latest_message.sender }} - {% endifequal %} - - {{ thread.latest_message.content|slice:"50" }}... - -
      - {% csrf_token %} - -
      -
      diff --git a/haitidata/templates/user_messages/inbox.html b/haitidata/templates/user_messages/inbox.html deleted file mode 100644 index a6f6234..0000000 --- a/haitidata/templates/user_messages/inbox.html +++ /dev/null @@ -1,81 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load avatar_tags %} - -{% block title %}{{ block.super }} {% trans "Inbox" %}{% endblock %} -{% block page-title %} -{% trans "Message Inbox" %} - -{% endblock %} - -{% block body %} -
      -
      -

      {% trans "Messages" %}

      -
      -
      - -
      -
      - {% if messages %} - {% with threads_unread as threads %} - {% include "user_messages/_message_snippet.html" %} - {% endwith %} - {% else %} -

      {% trans "No unread messages" %}.

      - {% endif %} -
      -
      - {% with threads_all as threads %} - {% include "user_messages/_message_snippet.html" %} - {% endwith %} -
      -
      -
      -
      -
      -
      - -{% endblock %} - -{% block sidebar %} -{% endblock %} - -{% block extra_script %} - -{% endblock extra_script %} diff --git a/haitidata/templates/user_messages/message_create.html b/haitidata/templates/user_messages/message_create.html deleted file mode 100644 index 2e2b4f2..0000000 --- a/haitidata/templates/user_messages/message_create.html +++ /dev/null @@ -1,32 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load bootstrap_tags %} - -{% block title %}{{ block.super }} {% trans "Messages" %}{% endblock %} -{% block page-title %} -{% trans "Create Message" %} - -{% endblock %} - -{% block body %} -
      - {% csrf_token %} - - {{ form|as_bootstrap }} -
      -
      - -
      -
      -{% endblock %} - -{% block sidebar %} -{% endblock %} diff --git a/haitidata/templates/user_messages/thread_detail.html b/haitidata/templates/user_messages/thread_detail.html deleted file mode 100644 index ce194ae..0000000 --- a/haitidata/templates/user_messages/thread_detail.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "site_base.html" %} - -{% load i18n %} -{% load avatar_tags %} - -{% block title %}{{ thread.subject }} — {{ block.super }}{% endblock %} - -{% block body %} -

      {{ thread.subject }}

      -
      -{% for message in thread.messages.all %} -
      - {% avatar message.sender 50 %} - {{ message.sent_at }} by {% ifequal request.user message.sender %}{% trans "me" %}{% else %}{{ message.sender }}{% endifequal %} -

      {{ message.content }}

      -
      - {% empty %} - You have no messages. -{% endfor %} -
      -
      - {% csrf_token %} -
      - -
      - -
      -
      -{% endblock %} - -{% block sidebar %} -{% trans "Back to Inbox" %} -{% endblock %}