Changeset 270 for Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmarker_view.pt
- Timestamp:
- 02/20/10 14:03:38 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Products.ATGoogleMaps/trunk/Products/ATGoogleMaps/skins/ATGoogleMaps/gmarker_view.pt
r265 r270 17 17 <tal:main-macro metal:define-macro="main"> 18 18 19 <div metal:use-macro="context/document_actions/macros/document_actions"> 20 Document actions (print, sendto etc) 21 </div> 19 <div tal:replace="structure provider:plone.abovecontenttitle" /> 22 20 23 <h1 tal:content="context/pretty_title_or_id" class="documentFirstHeading"> 24 Title or id 21 <h1 class="documentFirstHeading"> 22 <metal:field use-macro="python:context.widget('title', mode='view')"> 23 Title 24 </metal:field> 25 25 </h1> 26 26 27 <div metal:use-macro="context/document_byline/macros/byline"> 28 Get the byline - contains details about author and modification date. 29 </div> 27 <div tal:replace="structure provider:plone.belowcontenttitle" /> 28 29 <p class="documentDescription"> 30 <metal:field use-macro="python:context.widget('description', mode='view')"> 31 Description 32 </metal:field> 33 </p> 34 35 <div tal:replace="structure provider:plone.abovecontentbody" /> 30 36 31 37 <div style="float: right; margin: 5px;" … … 45 51 46 52 <metal:gmarker_macro define-macro="gmarker"> 47 <div class="documentDescription"48 tal:content="context/Description"49 tal:condition="context/Description">50 Description51 </div>52 53 53 <div tal:condition="context/address"> 54 54 <label i18n:translate="label_address">Address</label> 55 <span tal:replace="context/address" /> 55 <metal:field use-macro="python:context.widget('address', mode='view')"> 56 Address 57 </metal:field> 56 58 </div> 57 59 58 60 <div tal:condition="context/phone"> 59 61 <label i18n:translate="label_phone">Phone</label> 60 <span tal:replace="context/phone" /> 62 <metal:field use-macro="python:context.widget('phone', mode='view')"> 63 Phone 64 </metal:field> 61 65 </div> 62 66 </metal:gmarker_macro> … … 64 68 <div tal:condition="context/url"> 65 69 <label i18n:translate="URL">URL</label> 70 <metal:field use-macro="python:context.widget('url', mode='view')"> 71 Phone 72 </metal:field> 66 73 <a href="" 67 74 tal:content="context/url" … … 81 88 show related items if they exist 82 89 </div> 83 90 91 <div tal:replace="structure provider:plone.belowcontentbody" /> 84 92 </tal:main-macro> 85 93 </metal:main>
Note: See TracChangeset
for help on using the changeset viewer.
