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, Tag};
|
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)], tag: &Tag)
|
2017-02-05 15:08:38 +04:00
|
|
|
|
2023-01-28 04:54:23 +04:00
|
|
|
@:page_base_html(context, &format!("Photos tagged {}", tag.tag_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>
|
|
|
|
})
|