album/templates/place.rs.html

11 lines
420 B
HTML
Raw Normal View History

2023-01-28 04:54:23 +04:00
@use super::{data_positions_html, page_base_html, photo_link_html};
2018-11-01 02:08:29 +04:00
@use crate::models::{Coord, Place};
@use crate::server::{Context, PhotoLink};
2016-09-23 23:03:04 +03:00
@(context: &Context, photos: &[PhotoLink], coords: &[(Coord, i32)], place: &Place)
2023-01-28 04:54:23 +04:00
@:page_base_html(context, &format!("Photos from {}", place.place_name), &[], {}, {
<div class="group"@:data_positions_html(coords)>
@for p in photos {@:photo_link_html(p)}
2016-09-26 01:45:13 +03:00
</div>
})