relay/templates/info.rs.html

17 lines
418 B
HTML
Raw Normal View History

2021-02-10 04:05:06 +00:00
@use crate::db::Info;
2022-01-17 22:54:45 +00:00
@use activitystreams::iri_string::types::IriString;
2022-01-17 22:54:45 +00:00
@(info: &Info, base: &IriString)
<article class="info">
2022-01-17 22:54:45 +00:00
@if let Some(authority) = base.authority_str() {
<h4 class="padded"><a href="@base">@authority</a></h4>
}
<p class="padded">
Running @info.software, version @info.version.
@if info.reg {
Registration is open
}
</p>
</article>