mirror of
https://git.asonix.dog/asonix/relay.git
synced 2024-12-23 03:36:30 +00:00
18 lines
536 B
HTML
18 lines
536 B
HTML
@use crate::db::Contact;
|
|
@use activitystreams::iri_string::types::IriString;
|
|
|
|
@(contact: &Contact, base: &IriString)
|
|
|
|
<div class="admin">
|
|
<div class="left">
|
|
<figure class="avatar">
|
|
<img loading="lazy" src="@contact.avatar" alt="@contact.display_name's avatar">
|
|
</figure>
|
|
</div>
|
|
<div class="right">
|
|
<p class="display-name"><a href="@contact.url">@contact.display_name</a></p>
|
|
<p class="username">
|
|
@@@contact.username@if let Some(authority) = base.authority_str() {@@@authority}
|
|
</p>
|
|
</div>
|
|
</div>
|