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;
|
2020-03-26 03:26:45 +00:00
|
|
|
|
2022-01-17 22:54:45 +00:00
|
|
|
@(info: &Info, base: &IriString)
|
2020-03-26 03:26:45 +00:00
|
|
|
|
|
|
|
<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>
|
2020-03-26 03:26:45 +00:00
|
|
|
}
|
|
|
|
<p class="padded">
|
|
|
|
Running @info.software, version @info.version.
|
|
|
|
@if info.reg {
|
|
|
|
Registration is open
|
|
|
|
}
|
|
|
|
</p>
|
|
|
|
</article>
|