{% extends "base.html" %} {% block title %} » Non-core Contracts » {{contract.name}} {% endblock %} {% block nav %} Non-core Contracts » {{contract.name}} » Edit {% endblock %} {% block content %} {% if request.method == 'GET' and request.values.view == 'confirm_delete' %}
{% else %}This field uses the Zish format.
{% if contract.name == 'bank_holidays' %}{ "enabled": true, "url": "https://www.gov.uk/bank-holidays/england-and-wales.ics"}{% elif contract.name == 'bsuos' %}
{ "enabled": true, "discover_urls": true, /* If discover_urls is true, then the importer goes to https://www.nationalgrid.com/uk/electricity/charging-and-methodology/balancing-services-use-system-bsuos-charges and finds the URLs for the latest data. This can be used in addition to the 'urls' list. */ "urls": [] /* List of URLs that hold BSUoS data */ }{% elif contract.name == 'tlms' %}
{ "enabled": true, } /* Requires the 'elexonportal_scripting_key' to be set in the 'configuration' non-core contract */{% elif contract.name == 'configuration' %}
{ "background_colour": "aquamarine", "batch_reports": [ 1 ], "ecoes": { "password": "a", "prefix": "https://ecoes2.co.uk/", "user_name": "a" }, "elexonportal_scripting_key": "xxx", "site_links": [ { "href": "https://maps.google.com/maps?q=", "name": "Google Maps" } ], // Custom error message for forbidden pages "forbidden_message": "I'm afraid you don't have permission to do this." }{% endif %} {% endif %} {% endblock %}