You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
108 lines
2.3 KiB
108 lines
2.3 KiB
::use 'design.mtt'::
|
|
<div class="col-md-12">
|
|
|
|
<h2 style="margin:auto;">::_("Choose a delivery")::</h2>
|
|
|
|
<div class="row">
|
|
|
|
::if distribs.length==0::
|
|
<div class="alert alert-danger" class="col-md-12">
|
|
::_("There is currently no delivery planned.")::
|
|
</div>
|
|
::end::
|
|
|
|
::foreach d distribs::
|
|
|
|
<div class="col-md-4">
|
|
<div class="distrib">
|
|
::set active =""::
|
|
::if d.active==false:: ::set active="disabled":: ::end::
|
|
|
|
<div class="header ::active::">
|
|
|
|
::set s = getDate( d.startDate)::
|
|
|
|
<div class="date" style="float:left;width:100px;">
|
|
<div>::s.dow::</div>
|
|
<div style="font-size:28px;color:#990000;">::s.d::</div>
|
|
<div>::s.m::</div>
|
|
</div>
|
|
|
|
|
|
<div class="info">
|
|
|
|
::set e = getDate(d.endDate)::
|
|
<span class="glyphicon glyphicon-time"></span> de ::s.h+":"+s.i:: à ::e.h+":"+e.i::
|
|
</div>
|
|
|
|
|
|
::if d.place!=null::
|
|
<div class="info">
|
|
<span class="glyphicon glyphicon-map-marker"></span> <a href="/place/view/::d.place.id::">::d.place::</a>
|
|
</div>
|
|
<div class="address">
|
|
$$nullSafe(::d.place.address1::)
|
|
$$nullSafe(::d.place.address2::)
|
|
$$nullSafe(::d.place.zipCode::)
|
|
$$nullSafe(::d.place.city::)
|
|
|
|
</div>
|
|
::end::
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<div class="content">
|
|
|
|
<div class="row">
|
|
::foreach p d.products::
|
|
|
|
|
|
<div class="col-md-3" data-toggle="tooltip" data-placement="top" title="::p.name::" >
|
|
<img class="img-responsive" src="::p.image::" style="height:80px;width:80px;margin:4px;"/>
|
|
</div>
|
|
|
|
|
|
::end::
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<div class="footer" style="text-align:right;">
|
|
|
|
::if d.active==true::
|
|
<a href="/shop/::d.place.id::/::d.startDate.toString().substr(0,10)::" class="btn btn-primary">
|
|
<span class="glyphicon glyphicon-chevron-right"></span>
|
|
::_("Order")::
|
|
</a>
|
|
::else::
|
|
|
|
<span class="glyphicon glyphicon-close"></span>
|
|
::_("Opening of orders")::<br/>
|
|
le ::hDate(d.startDate)::
|
|
|
|
::end::
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
::end::
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
::end::
|