Changeset 6697 in josm


Ignore:
Timestamp:
2014-01-16T00:52:44+01:00 (6 years ago)
Author:
Don-vip
Message:

fix #8359, see #6268 - minor update of amenity=charging_station + initialization of payment chunks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6696 r6697  
    288288        <combo key="leisure" text="Type" values="pitch,sports_centre,stadium" default="pitch" />
    289289    </chunk>
     290    <chunk id="payment_base">
     291        <check key="payment:coins" text="Coins" />
     292        <check key="payment:notes" text="Notes" />
     293        <check key="payment:electronic_purses" text="Electronic purses and Charge cards" />
     294        <check key="payment:debit_cards" text="Debit cards" />
     295        <check key="payment:credit_cards" text="Credit cards" />
     296    </chunk>
     297    <chunk id="payment_account">
     298        <reference ref="payment_base" />
     299        <check key="payment:account_cards" text="Account or loyalty cards" />
     300    </chunk>
    290301  <!-- Link chunks -->
    291302  <chunk id="link_contact">
     
    23852396        </item>
    23862397        <item name="Charging Station" icon="styles/standard/accommodation/camping/hookup.png" type="node">
    2387             <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=fuel" />
     2398            <link href="http://wiki.openstreetmap.org/wiki/Tag:amenity=charging_station"
     2399                  de.href="http://wiki.openstreetmap.org/wiki/DE:Tag:amenity=charging_station" />
    23882400            <label text="Edit Charging Station (for electric cars)" />
    23892401            <space />
    23902402            <key key="amenity" value="charging_station" />
    2391             <text key="operator" text="Operator" />
     2403            <reference ref="name_operator" />
    23922404            <text key="voltage" text="Voltage" />
    23932405            <text key="amperage" text="Amperage" />
     
    27312743            <reference ref="name_operator" />
    27322744            <text key="ref" text="Reference Number" />
    2733             <check key="payment:coins" text="Coins" />
    2734             <check key="payment:notes" text="Notes" />
    2735             <check key="payment:electronic_purses" text="Electronic purses and Charge cards" />
    2736             <check key="payment:debit_cards" text="Debit cards" />
    2737             <check key="payment:credit_cards" text="Credit cards" />
    2738             <check key="payment:account_cards" text="Account or loyalty cards" />
     2745            <reference ref="payment_account" />
    27392746        </item>
    27402747    </group>
     
    41884195            <key key="amenity" value="telephone" />
    41894196            <text key="operator" text="Operator" />
    4190             <check key="payment:coins" text="Coins" />
    4191             <check key="payment:notes" text="Notes" />
    4192             <check key="payment:electronic_purses" text="Electronic purses and Charge cards" />
    4193             <check key="payment:debit_cards" text="Debit cards" />
    4194             <check key="payment:credit_cards" text="Credit cards" />
     4197            <reference ref="payment_base" />
    41954198            <check key="payment:telephone_cards" text="Telephone cards" />
    41964199        </item>
     
    61976200        <text key="ref" text="Reference number" />
    61986201        <text key="note" text="Note" />
    6199         <check key="payment:coins" text="Coins" />
    6200         <check key="payment:notes" text="Notes" />
    6201         <check key="payment:electronic_purses" text="Electronic purses and Charge cards" />
    6202         <check key="payment:debit_cards" text="Debit cards" />
    6203         <check key="payment:credit_cards" text="Credit cards" />
    6204         <check key="payment:account_cards" text="Account or loyalty cards" />
     6202        <reference ref="payment_account" />
    62056203    </item>
    62066204  </group> <!-- Shops -->
Note: See TracChangeset for help on using the changeset viewer.