Commit c71a2131 authored by barth23's avatar barth23
Browse files

changes + numberedMap

parent bf212d0e
......@@ -631,15 +631,15 @@
<lang key="en">French</lang>
<lang key="fr">français</lang>
</word>
<word key="arrowMap">
<lang key="de">Route</lang>
<lang key="en">Route</lang>
<lang key="fr">Route</lang>
<word key="numberedMap">
<lang key="de">Europa (Reiseverläufe)</lang>
<lang key="en">Europe (itineraries)</lang>
<lang key="fr">Europe (itinéraires)</lang>
</word>
<word key="europeMap">
<lang key="de">Europa</lang>
<lang key="en">Europe</lang>
<lang key="fr">Europe</lang>
<lang key="de">Europa (gesehene und erwähnte Orte)</lang>
<lang key="en">Europe (places seen and mentioned)</lang>
<lang key="fr">Europe (lieux vus et mentionnés)</lang>
</word>
<word key="parisMap">
<lang key="de">Paris</lang>
......
......@@ -22,17 +22,17 @@
<div class="arch-list-view-radio-slider">
<div class="btn-toolbar btn-group-toggle btn-group" data-toggle="buttons">
<label class="btn btn-primary active">
<input type="radio" name="map_button" value="europeMap" autocomplete="off" checked="checked"/>
<input type="radio" name="map_button" value="numberedMap" autocomplete="off" checked="checked"/>
<span data-template="lang:translate" data-template-content="numberedMap"/>
</label>
<label class="btn btn-primary">
<input type="radio" name="map_button" value="europeMap" autocomplete="off"/>
<span data-template="lang:translate" data-template-content="europeMap"/>
</label>
<label class="btn btn-primary">
<input type="radio" name="map_button" value="parisMap" autocomplete="off"/>
<span data-template="lang:translate" data-template-content="parisMap"/>
</label>
<label class="btn btn-primary">
<input type="radio" name="map_button" value="arrowMap" autocomplete="off"/>
<span data-template="lang:translate" data-template-content="arrowMap"/>
</label>
</div>
</div>
......
var path = "templates/itinerary/js/europeMap.js"
var path = "templates/itinerary/js/numberedMap.js"
$.ajax({
type: "GET",
......@@ -18,8 +18,8 @@ $("input[name='map_button']").change(function(){
if (button_value == "parisMap") {
var path = "templates/itinerary/js/parisMap.js"
}
if (button_value == "arrowMap") {
var path = "templates/itinerary/js/arrowMap.js"
if (button_value == "numberedMap") {
var path = "templates/itinerary/js/numberedMap.js"
}
$.ajax({
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment