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-03-26 03:26:45 +00:00
|
|
|
|
2020-06-20 04:11:02 +00:00
|
|
|
@(info: &Info, base: &Url)
|
2020-03-26 03:26:45 +00:00
|
|
|
|
|
|
|
<article class="info">
|
2020-06-20 04:11:02 +00:00
|
|
|
@if let Some(domain) = base.domain() {
|
2020-03-26 03:26:45 +00:00
|
|
|
<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>
|