Changeset 273 for Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmarker_view.pt
- Timestamp:
- 02/20/10 16:42:23 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmarker_view.pt
r270 r273 37 37 <div style="float: right; margin: 5px;" 38 38 tal:condition="context/point | nothing" 39 tal:define=" server context/server | context/aq_parent/server | string:maps.google.com">39 tal:define="latlng string:${context/point/latitude},${context/point/longitude}"> 40 40 <div id="map" style="width: 300px; height: 200px;"></div> 41 41 <a href="" 42 tal:attributes="href string:http://maps.google.com ?ll=${context/point/latitude},${context/point/longitude}"42 tal:attributes="href string:http://maps.google.com/maps?q=${latlng}(${context/pretty_title_or_id})" 43 43 i18n:translate="label_larger_map"> 44 44 View larger map 45 45 </a> 46 47 <div> 48 <iframe width="300" height="240" frameborder="0" scrolling="no" src="" 49 tal:attributes="src string:http://maps.google.com/maps/sv?cbll=${latlng}"></iframe> 50 </div> 46 51 </div> 47 52 … … 50 55 tal:attributes="src context/imageurl" /> 51 56 52 <metal:gmarker_macro define-macro="gmarker"> 53 <div tal:condition="context/address"> 54 <label i18n:translate="label_address">Address</label> 55 <metal:field use-macro="python:context.widget('address', mode='view')"> 56 Address 57 </metal:field> 58 </div> 57 <div tal:condition="context/address"> 58 <label i18n:translate="label_address">Address</label> 59 <metal:field use-macro="python:context.widget('address', mode='view')"> 60 Address 61 </metal:field> 62 </div> 59 63 60 <div tal:condition="context/phone"> 61 <label i18n:translate="label_phone">Phone</label> 62 <metal:field use-macro="python:context.widget('phone', mode='view')"> 63 Phone 64 </metal:field> 65 </div> 66 </metal:gmarker_macro> 64 <div tal:condition="context/phone"> 65 <label i18n:translate="label_phone">Phone</label> 66 <metal:field use-macro="python:context.widget('phone', mode='view')"> 67 Phone 68 </metal:field> 69 </div> 67 70 68 71 <div tal:condition="context/url"> 69 <label i18n:translate="URL">URL</label>70 <metal:field use-macro="python:context.widget('url', mode='view')">71 Phone72 </metal:field>73 72 <a href="" 74 tal:content="context/url"75 tal:attributes="href context/url">73 tal:attributes="href context/url" 74 i18n:translate="" i18n:domain="plone"> 76 75 Link 77 76 </a>
Note: See TracChangeset
for help on using the changeset viewer.
