2016-09-23 23:03:04 +03:00
|
|
|
@use rphotos::models::Person;
|
2016-09-26 01:45:13 +03:00
|
|
|
@use templates::page_base;
|
2016-09-23 23:03:04 +03:00
|
|
|
|
|
|
|
@(user: Option<String>, people: Vec<Person>)
|
2016-09-26 01:45:13 +03:00
|
|
|
@:page_base("Photo people", vec![], user, {
|
|
|
|
<ul class="allpeople">
|
2016-09-23 23:03:04 +03:00
|
|
|
@for p in people {
|
|
|
|
<li><a href="/person/@p.slug">@p.person_name</a>
|
|
|
|
}</ul>
|
2016-09-26 01:45:13 +03:00
|
|
|
</div>
|
|
|
|
})
|