Changeset 289
- Timestamp:
- 03/04/10 06:54:42 (2 years ago)
- Location:
- Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps
- Files:
-
- 1 added
- 1 deleted
- 2 edited
-
gmap.kml.pt (modified) (2 diffs)
-
gmap_view.pt (modified) (1 diff)
-
infowindow.pt (added)
-
kml_description.pt (deleted)
Legend:
- Unmodified
- Added
- Removed
-
Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmap.kml.pt
r288 r289 1 1 <?xml version="1.0" encoding="UTF-8"?> 2 <kml xmlns="http://earth.google.com/kml/2.0" 3 xmlns:tal="http://xml.zope.org/namespaces/tal"> 2 <kml xmlns="http://earth.google.com/kml/2.2" 3 xmlns:tal="http://xml.zope.org/namespaces/tal" 4 xmlns:metal="http://xml.zope.org/namespaces/metal"> 4 5 <tal:dummy tal:define="dummy python:request.RESPONSE.setHeader('Content-Type', 'application/vnd.google-earth.kml;; charset=utf-8')" /> 5 6 <Document> … … 13 14 <Placemark tal:define="marker item/getObject"> 14 15 <name tal:content="item/pretty_title_or_id">Marker title</name> 15 <description tal:content="item/Description">Description</description> 16 <address tal:content="marker/address">Address</address> 17 <phoneNumber tal:content="marker/phone">03-1111-1111</phoneNumber> 18 <Snippet tal:content="marker/Description">Snippet</Snippet> 19 <description tal:content="structure marker/infowindow"> 20 </description> 16 21 <Point> 17 22 <coordinates tal:content="string:${marker/point/longitude},${marker/point/latitude}">139.71,35.73</coordinates> -
Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmap_view.pt
r288 r289 50 50 Marker title 51 51 </a> 52 <div id="" style="display: none;"53 tal:attributes="id string:infowindow_html_${item_id}">54 <h2 class="documentFirstHeading">55 <metal:field use-macro="python:marker.widget('title', mode='view')">56 Title57 </metal:field>58 </h2>52 <div id="" style="display: none;" 53 tal:attributes="id string:infowindow_html_${item_id}"> 54 <h2 class="documentFirstHeading"> 55 <metal:field use-macro="python:marker.widget('title', mode='view')"> 56 Title 57 </metal:field> 58 </h2> 59 59 60 <img src="" style="float: left; margin: 5px;" 61 tal:condition="marker/imageurl" 62 tal:attributes="src marker/imageurl" /> 60 <span tal:replace="structure marker/infowindow" /> 63 61 64 <p class="documentDescription"> 65 <metal:field use-macro="python:marker.widget('description', mode='view')"> 66 Description 67 </metal:field> 68 </p> 69 70 <div tal:condition="marker/address"> 71 <metal:field use-macro="python:marker.widget('address', mode='view')"> 72 Address 73 </metal:field> 62 <div class="documentActions"> 63 <ul> 64 <li> 65 <a href="" 66 tal:attributes="href marker/absolute_url" 67 i18n:translate="" i18n:domain="plone"> 68 View 69 </a> 70 </li> 71 </ul> 72 </div> 74 73 </div> 75 76 <div tal:condition="marker/phone">77 <metal:field use-macro="python:marker.widget('phone', mode='view')">78 Phone79 </metal:field>80 </div>81 82 <div tal:condition="marker/url">83 <a href=""84 tal:attributes="href marker/url"85 i18n:translate="" i18n:domain="plone">86 Link87 </a>88 </div>89 90 <br style="clear: both;"/>91 92 <div tal:condition="marker/detail"93 tal:content="structure marker/getDetail">94 Detail Text95 </div>96 97 <div class="documentActions">98 <ul>99 <li>100 <a href=""101 tal:attributes="href marker/absolute_url"102 i18n:translate="" i18n:domain="plone">103 View104 </a>105 </li>106 </ul>107 </div>108 </div>109 74 </li> 110 75 </tal:block>
Note: See TracChangeset
for help on using the changeset viewer.
