diff options
Diffstat (limited to 'cobrands/cuidomiciudad/config.js')
-rw-r--r-- | cobrands/cuidomiciudad/config.js | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/cobrands/cuidomiciudad/config.js b/cobrands/cuidomiciudad/config.js new file mode 100644 index 0000000..5f6b7f4 --- /dev/null +++ b/cobrands/cuidomiciudad/config.js @@ -0,0 +1,52 @@ +var CONFIG = { + // Language of templates to use ( should be name of directory under www/templates/ ) + LANGUAGE: 'es', + + // Name of app to use in alert dialog titles amongst other things + APP_NAME: 'CuidoMiCiudad', + + // URL of the fixmystreet install to report to. See also config.xml-example + // Make sure it does *not* end with a slash. + // FMS_URL: 'https://cuidomiciudad.fixmystreet.dev.mysociety.org', + FMS_URL: 'https://www.cuidomiciudad.do', + + // Name of the cobrand to use for templates, stylesheets etc. + // Cobrand files should be placed in a new directory within www/cobrands/ + // Leave as null to use the default templates. + COBRAND: 'cuidomiciudad', + + // Type of map to use; possible options currently are 'OSM', 'Bing' or + // 'FMS' (UK only). The default is OSM. + MAP_TYPE: 'OSM', + + // namespace for storing drafts etc in. Should not need to change + NAMESPACE: 'fixmystreet', + + // directory to store draft photos in. Should not need to change + FILES_DIR: 'photos', + + // accuracy in meters required before geolocation is successful + ACCURACY: 100, + + // how long, in milliseconds, before photo uploads timeout. Defaults to 120000 ( 2 minutes ) + UPLOAD_TIMEOUT: 120000, + + // Set to 1 to log debug messages to the console + DEBUG: 0, + + // Bing Maps API key if needed + BING_MAPS_API_KEY: '', + + PINS: { + location: { + image: 'cobrands/cuidomiciudad/images/fms-pin@2x.png', + background: 'images/pin_shadow@x2.png', + image_svg: 'cobrands/cuidomiciudad/images/fms-pin.svg', + background_svg: 'images/pin_shadow.svg', + } + } +}; + +// This bit is so this can be imported as a nodejs module for hook processing +var module = module || {}; +module.exports = CONFIG; |