diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2023-12-18 13:10:44 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2023-12-18 15:05:23 +0100 |
commit | e59750e8de72e5d54356d69f68b6590ff17ee84b (patch) | |
tree | 5fe93fd807f21fc0f8160226b9ca3fa4eb33c483 /view | |
parent | 9df6e821d8e9fce7e177166d9d656280c7466a5d (diff) | |
download | volse-hubzilla-e59750e8de72e5d54356d69f68b6590ff17ee84b.tar.gz volse-hubzilla-e59750e8de72e5d54356d69f68b6590ff17ee84b.tar.bz2 volse-hubzilla-e59750e8de72e5d54356d69f68b6590ff17ee84b.zip |
Add active addons and blocked sites to siteinfo (html)
This adds information about addons activated on the hub, as well as
which other sites this hub won't federate with in the HTML version of
siteinfo.
Based on suggestions by @rockyiii@huby.infozoo.de.
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/siteinfo.tpl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/view/tpl/siteinfo.tpl b/view/tpl/siteinfo.tpl index fef3b961e..6cf7da756 100644 --- a/view/tpl/siteinfo.tpl +++ b/view/tpl/siteinfo.tpl @@ -12,6 +12,26 @@ <div>{{if $admin_about}}{{$admin_about}}{{else}}--{{/if}}</div> +{{if $addons.1}} +<br> +<h3>{{$addons.0}}</h3> +<ul> + {{foreach $addons.1 as $addon}} + <li>{{$addon}}</li> + {{/foreach}} +</ul> +{{/if}} + +{{if $blocked_sites.1}} +<br> +<h3>{{$blocked_sites.0}}</h3> +<ul> + {{foreach $blocked_sites.1 as $site}} + <li>{{$site}}</li> + {{/foreach}} +</ul> +{{/if}} + <br><br> <div><a href="help/TermsOfService">{{$terms}}</a></div> |