source: products/quintagroup.portlet.map/trunk/quintagroup/portlet/map/qgmapportlet.pt @ 2188

Last change on this file since 2188 was 2188, checked in by mylan, 14 years ago

Initial import the package

File size: 1.2 KB
Line 
1<metal:block use-macro="here/global_defines/macros/defines" />
2<tal:portlet
3    define="view context/@@maps_googlemaps_view;
4            enabled context/@@maps_googlemaps_enabled_view/enabled"
5    condition="python:isViewTemplate and enabled and [m for m in view.getMarkers()]"
6    on-error="nothing">
7
8  <dl class="portlet portletMapsPortlet">
9
10      <dt class="portletHeader">
11          <span class="portletTopLeft"></span>
12          <span i18n:domain="quintagroup.portlet.map"
13                i18n:translate="header_portlet_map">Map</span>
14          <span class="portletTopRight"></span>
15      </dt>
16
17      <dd class="portletItem odd">
18
19        <div class="googleMapView googleMapLocation">
20          <dl metal:use-macro="here/maps_map/macros/markers">
21          </dl>
22        </div>
23
24        &nbsp;
25
26      </dd>
27
28
29      <dd class="portletFooter">
30          <span class="portletBottomLeft"></span>
31          <span>
32            <a href="#"
33               tal:attributes="href string:${here/absolute_url}/maps_map"
34               i18n:domain="quintagroup.portlet.map" i18n:translate="label_full_map">Full Map</a></span>
35          <span class="portletBottomRight"></span>
36      </dd>
37
38  </dl>
39
40</tal:portlet>
Note: See TracBrowser for help on using the repository browser.