{% extends 'editor/base.html' %}
{% load humanize %}
{% load i18n %}
{% load static %}
{% load tag_library %}
{% load ifsetting %}
{% block editor_scripts %}
{% comment %}
When select_locations and area_projects are set a
dropdown list for project location filtering is shown
{% endcomment %}
{% if select_locations and area_projects %}
{% comment %}
JSON script is a type Dict[int, List[int]] where key is area id and value is list of project PK's
{% endcomment %}
{{area_projects|json_script:"areaprojects-data" }}
{% comment %}
This affects display of location dropdown. Therefore keeping inside the if statement.
When we're satisfied with style redesign this may be moved to project specific or openly css
Note that the 'level' corresponds to level property of simplelocations Area
{% endcomment %}
{% endif %}
{% endblock %}
{% block title %}
{% blocktrans %}{{activity_singular}} Manager{% endblocktrans %} | {{ site_name }}
{% endblock %}
{% block editor_style %}
{% endblock %}
{% block subnavbar_buttons %}
{% endblock subnavbar_buttons %}
{% block content %}
{% comment %} Modals work better when placed at the top of HTML {% endcomment %}