1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" |
---|
2 | lang="en" |
---|
3 | metal:use-macro="here/main_template/macros/master" |
---|
4 | i18n:domain="googlemaps"> |
---|
5 | <head> |
---|
6 | <metal:block fill-slot="javascript_head_slot"> |
---|
7 | <script type="text/javascript" src="" |
---|
8 | tal:attributes="src string:http://maps.google.com/maps?file=api&v=2&key=${here/getMapKey}"> |
---|
9 | </script> |
---|
10 | <span tal:replace="structure python:here.maps_markers(here.portal_catalog(path='/'.join(here.getPhysicalPath())), node='mapView', events=True, loc=here.geoLocation(), controls='large', typeControls=True, overviewControls=True, color=here.getColor(), zoom=6, auto='None')" /> |
---|
11 | |
---|
12 | </metal:block> |
---|
13 | </head> |
---|
14 | |
---|
15 | <body> |
---|
16 | |
---|
17 | <metal:main fill-slot="main"> |
---|
18 | <tal:main-macro metal:define-macro="main"> |
---|
19 | |
---|
20 | <div metal:use-macro="here/document_actions/macros/document_actions"> |
---|
21 | Document actions (print, sendto etc) |
---|
22 | </div> |
---|
23 | |
---|
24 | <h1 tal:content="here/pretty_title_or_id" class="documentFirstHeading"> |
---|
25 | Title or id |
---|
26 | </h1> |
---|
27 | |
---|
28 | <div metal:use-macro="here/document_byline/macros/byline"> |
---|
29 | Get the byline - contains details about author and modification date. |
---|
30 | </div> |
---|
31 | |
---|
32 | <div class="documentDescription" |
---|
33 | tal:content="here/Description" |
---|
34 | tal:condition="here/Description"> |
---|
35 | Description |
---|
36 | </div> |
---|
37 | |
---|
38 | <br style="clear: both;"/> |
---|
39 | <div tal:condition="here/getText" |
---|
40 | tal:content="structure here/getText"> |
---|
41 | Body Text |
---|
42 | </div> |
---|
43 | |
---|
44 | <div id="mapView" style="position: relative; height: 480px;"></div> |
---|
45 | |
---|
46 | </tal:main-macro> |
---|
47 | </metal:main> |
---|
48 | |
---|
49 | </body> |
---|
50 | </html> |
---|