source: products/quintagroup.portlet.map/trunk/quintagroup/portlet/map/mapportlet.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.0 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            <a href="#"
13               tal:attributes="href string:${here/absolute_url}/maps_map"
14               i18n:domain="collective.portlet.map" i18n:translate="label_full_map">
15          <span i18n:domain="collective.portlet.map"
16                i18n:translate="header_portlet_map">Aktivitetskort</span></a>
17          <span class="portletTopRight"></span>
18      </dt>
19
20      <dd class="portletItem odd">
21
22        <div class="googleMapView googleMapLocation">
23          <dl metal:use-macro="here/maps_map/macros/markers">
24          </dl>
25        </div>
26
27        &nbsp;
28
29      </dd>
30  </dl>
31
32</tal:portlet>
Note: See TracBrowser for help on using the repository browser.