2016-09-26 01:45:13 +03:00
|
|
|
@use ::Link;
|
2016-09-23 17:40:54 +03:00
|
|
|
@use rphotos::models::Photo;
|
2016-09-26 01:45:13 +03:00
|
|
|
@use templates::page_base;
|
2016-09-23 17:40:54 +03:00
|
|
|
|
|
|
|
@(title: &str, lpath: Vec<Link>, user: Option<String>, photos: Vec<Photo>)
|
|
|
|
|
2016-09-26 01:45:13 +03:00
|
|
|
@:page_base(title, lpath, user, {
|
|
|
|
<div class="group">
|
|
|
|
@for p in photos {
|
2016-09-23 17:40:54 +03:00
|
|
|
<p class="item"><a href="/details/@p.id"><img src="/img/@p.id/s"></a></p>
|
2016-09-26 01:45:13 +03:00
|
|
|
}
|
|
|
|
</div>
|
|
|
|
})
|