diff --git a/custom.css b/custom.css index 12e1963..75861b4 100644 --- a/custom.css +++ b/custom.css @@ -107,11 +107,3 @@ button:hover, .button:hover, input[type="submit"]:hover { color: #9b9478; opacity: 1; } - -/* A `type: location` field with no map behind it (no MAPBOX_TOKEN on the - instance) is an empty box and a label: portal v0.10.3 draws neither the - map nor the two number inputs its docs promise. The field is optional - here, so without a map it is simply not there. */ -.field:has(> .map-wrap:empty) { - display: none; -} diff --git a/questions/lekeplasser/index.yaml b/questions/lekeplasser/index.yaml index 898d242..25962af 100644 --- a/questions/lekeplasser/index.yaml +++ b/questions/lekeplasser/index.yaml @@ -18,7 +18,6 @@ alternatives: kind: kv bucket: anleggsfeil requires_group: lekeplasser - jq: '.[] | .responses |= with_entries(select(.value != null))' transitions: - from: open to: tatt_tak_i diff --git a/questions/melde-fra/index.yaml b/questions/melde-fra/index.yaml index 2d943c1..14790a9 100644 --- a/questions/melde-fra/index.yaml +++ b/questions/melde-fra/index.yaml @@ -27,11 +27,6 @@ alternatives: label: Hvor var det type: text placeholder: Svingen i Tomterveien mot kirken - - name: kart - label: Hvor på kartet (om du vil) - type: location - optional: true - value: 59.6620965,11,13.5 - name: hva label: Hva så du type: textarea @@ -69,11 +64,6 @@ alternatives: - Elvestien - Skøytebanen på idrettsplassen - Et annet sted - - name: kart - label: Hvor på kartet (om du vil) - type: location - optional: true - value: 59.6620965,11,13.5 - name: hva label: Hva er ødelagt type: textarea diff --git a/questions/styret/index.yaml b/questions/styret/index.yaml index 355a77d..52bf5c5 100644 --- a/questions/styret/index.yaml +++ b/questions/styret/index.yaml @@ -74,7 +74,6 @@ alternatives: kind: kv bucket: trafikkmeldinger requires_group: styret - jq: '.[] | .responses |= with_entries(select(.value != null))' transitions: [] - name: Inviter noen inn i arrangementskomiteen description: De får en konto, plass i arrangementskomiteen og en engangslenke der de selv velger passord eller passnøkkel. Lenken sender du videre til dem. diff --git a/questions/trafikk/index.yaml b/questions/trafikk/index.yaml index e5e752a..ccd359d 100644 --- a/questions/trafikk/index.yaml +++ b/questions/trafikk/index.yaml @@ -18,7 +18,6 @@ alternatives: kind: kv bucket: trafikkmeldinger requires_group: trafikk - jq: '.[] | .responses |= with_entries(select(.value != null))' transitions: - from: open to: tatt_opp