relay/templates/info.rs.html

17 lines
379 B
HTML
Raw Normal View History

2021-02-10 04:05:06 +00:00
@use crate::db::Info;
2020-09-07 21:51:02 +00:00
@use activitystreams::url::Url;
2020-06-20 04:11:02 +00:00
@(info: &Info, base: &Url)
<article class="info">
2020-06-20 04:11:02 +00:00
@if let Some(domain) = base.domain() {
<h4 class="padded"><a href="@base">@domain</a></h4>
}
<p class="padded">
Running @info.software, version @info.version.
@if info.reg {
Registration is open
}
</p>
</article>