relay/templates/info.rs.html

17 lines
384 B
HTML
Raw Permalink 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)
2022-11-21 20:23:37 +00:00
<section class="info">
@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
}
2022-11-21 20:23:37 +00:00
</p>
</section>