toodego: display more availability details, if any, on velov tiles (#74158) #157
|
@ -1,5 +1,5 @@
|
|||
.tile.velov .tile-content {
|
||||
p {
|
||||
p.available-bikes, p.available-bike-stands {
|
||||
padding-left: 40px;
|
||||
font-size: 90%;
|
||||
}
|
||||
|
@ -19,4 +19,12 @@
|
|||
background-size: auto 16px;
|
||||
}
|
||||
}
|
||||
|
||||
.velov-info {
|
||||
margin: 1em 1em 1em 0;
|
||||
font-size: 90%;
|
||||
max-height: 8em;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -16,6 +16,12 @@
|
|||
<p class="available-bike-stands">{{station.available_bike_stands}}
|
||||
place{{ station.available_bike_stands|pluralize }}
|
||||
disponible{{ station.available_bike_stands|pluralize }}</p>
|
||||
{% if station.titre or station.description %}
|
||||
<div class="velov-info">
|
||||
{% if station.titre %}<p><strong>{{ station.titre }}</strong></p>{% endif %}
|
||||
{% if station.description %}<p>{{ station.description|linebreaksbr }}</p>{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="tile-actions">
|
||||
<a class="action-goto" data-lat="{{station.lat}}" data-lng="{{station.lng}}" href="/m-y-rendre/?to={{cell.id}}">M’y rendre</a>
|
||||
|
|
Loading…
Reference in New Issue