album/templates/person.rs.html

10 lines
286 B
HTML
Raw Normal View History

2016-09-23 23:03:04 +03:00
@use rphotos::models::{Photo, Person};
2017-02-01 18:27:09 +04:00
@use templates::{page_base, img_link};
2016-09-23 23:03:04 +03:00
@(user: Option<String>, photos: Vec<Photo>, person: Person)
2016-09-26 01:45:13 +03:00
@:page_base(&format!("Photos with {}", person.person_name), vec![], user, {
<div class="group">
2017-02-01 18:27:09 +04:00
@for p in photos {@:img_link(p)}
2016-09-26 01:45:13 +03:00
</div>
})