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};
|
2018-09-01 16:41:40 +04:00
|
|
|
@use crate::server::{Context, PhotoLink};
|
2016-09-23 23:03:04 +03:00
|
|
|
|
2018-09-01 16:41:40 +04: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>
|
|
|
|
})
|