2016-09-26 01:45:13 +03:00
|
|
|
@use ::Link;
|
2016-09-23 17:40:54 +03:00
|
|
|
@use rphotos::models::Photo;
|
2017-02-01 18:27:09 +04:00
|
|
|
@use templates::{page_base, img_link};
|
2016-09-23 17:40:54 +03:00
|
|
|
|
2017-02-05 15:08:38 +04:00
|
|
|
@(title: &str, lpath: &[Link], user: Option<String>, photos: &[Photo])
|
2016-09-23 17:40:54 +03:00
|
|
|
|
2017-02-12 18:24:39 +04:00
|
|
|
@:page_base(title, lpath, &user, {
|
2016-09-26 01:45:13 +03:00
|
|
|
<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>
|
|
|
|
})
|