From 4fe111180d4ce80012817ff745bca18d41d5a6b2 Mon Sep 17 00:00:00 2001 From: Bryan Housel Date: Fri, 29 Jul 2016 16:41:08 -0400 Subject: [PATCH] Add `network_horse` for horseback routes --- data/presets.yaml | 14 ++++++++++++++ data/presets/fields.json | 14 ++++++++++++++ data/presets/fields/network_horse.json | 14 ++++++++++++++ data/presets/presets.json | 3 ++- data/presets/presets/type/route/horse.json | 3 ++- dist/locales/en.json | 10 ++++++++++ 6 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 data/presets/fields/network_horse.json diff --git a/data/presets.yaml b/data/presets.yaml index d622965d2..de8e6c720 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -674,6 +674,20 @@ en: rwn: Regional # network_foot field placeholder placeholder: 'Local, Regional, National, International' + network_horse: + # network=* + label: Network Type + options: + # network=ihn + ihn: International + # network=lhn + lhn: Local + # network=nhn + nhn: National + # network=rhn + rhn: Regional + # network_horse field placeholder + placeholder: 'Local, Regional, National, International' note: # note=* label: Note diff --git a/data/presets/fields.json b/data/presets/fields.json index a5b09cd40..1ae9f33d4 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -892,6 +892,20 @@ } } }, + "network_horse": { + "key": "network", + "type": "combo", + "label": "Network Type", + "placeholder": "Local, Regional, National, International", + "strings": { + "options": { + "lhn": "Local", + "rhn": "Regional", + "nhn": "National", + "ihn": "International" + } + } + }, "network": { "key": "network", "type": "text", diff --git a/data/presets/fields/network_horse.json b/data/presets/fields/network_horse.json new file mode 100644 index 000000000..cee101376 --- /dev/null +++ b/data/presets/fields/network_horse.json @@ -0,0 +1,14 @@ +{ + "key": "network", + "type": "combo", + "label": "Network Type", + "placeholder": "Local, Regional, National, International", + "strings": { + "options": { + "lhn": "Local", + "rhn": "Regional", + "nhn": "National", + "ihn": "International" + } + } +} diff --git a/data/presets/presets.json b/data/presets/presets.json index e8cc9f77e..d4422004e 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -10820,7 +10820,8 @@ "icon": "route-horse", "fields": [ "ref", - "operator" + "operator", + "network_horse" ] }, "type/route/pipeline": { diff --git a/data/presets/presets/type/route/horse.json b/data/presets/presets/type/route/horse.json index 3ab85417f..5ffe4196c 100644 --- a/data/presets/presets/type/route/horse.json +++ b/data/presets/presets/type/route/horse.json @@ -10,6 +10,7 @@ "icon": "route-horse", "fields": [ "ref", - "operator" + "operator", + "network_horse" ] } diff --git a/dist/locales/en.json b/dist/locales/en.json index 74f440181..d95d3ebbc 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1203,6 +1203,16 @@ "iwn": "International" } }, + "network_horse": { + "label": "Network Type", + "placeholder": "Local, Regional, National, International", + "options": { + "lhn": "Local", + "rhn": "Regional", + "nhn": "National", + "ihn": "International" + } + }, "network": { "label": "Network" },