{% extends "maps/map_base.html" %}
{% load i18n %}
{% load dialogos_tags %}
{% load agon_ratings_tags %}
{% load url from future %}
{% load base_tags %}
{% load guardian_tags %}
{% block title %}{{ block.super }} {% trans "Maps" %} | {{ resource.title }}{% endblock %}
{% block page-title %}{% trans "Explore Maps" %}{% endblock %}
{% block head %}
{% if TWITTER_CARD %}
{% include "base/_resourcebase_twittercard.html" %}
{% endif %}
{% if OPENGRAPH_ENABLED %}
{% include "base/_resourcebase_opengraph.html" %}
{% endif %}
{% if preview == 'OL3' %}
{% include "maps/map_ol3.html" %}
{% elif preview == 'leaflet' %}
{% include "maps/map_leaflet.html" %}
{% elif preview == 'react' %}
{% include 'geonode-client/map_detail.html' %}
{% else %}
{% include "maps/map_include.html" %}
{% endif %}
{{ block.super }}
{% endblock %}
{% block body_class %}maps{% endblock %}
{% block subheader %}
Map
{% if resource.category %}
{% trans "in" %} {{ resource.category }} |
{% endif %}
{% if resource.date %}
{% if resource.date_type == 'creation' %} {% trans "Created on" %} {{ resource.date }}
{% elif resource.date_type == 'publication' %} {% trans "Published on" %} {{ resource.date }}
{% else %} {% trans "Updated on" %} {{ resource.date } }
{% endif %}
{% endif %}
{{ resource.title }}
{% trans "This map uses the following layers:" %}
{% trans "List of documents related to this map:" %}
{% trans "Specify which users can view or modify this map" %}
{% trans "Duplicate this map and modify it for your own purposes" %}
{% trans "Create a New Map" %}{% trans "Publish local map layers as WMS layer group" %}
{% trans "Publish Map WMS" %} {% endif %}