mirror of
https://codeberg.org/slatian/service.echoip-slatecave.git
synced 2025-01-28 02:45:05 +01:00
Fixed dns resolver information templates
This commit is contained in:
parent
53da9023da
commit
4b3a8d5e08
@ -31,12 +31,6 @@
|
||||
<dd>{{ helper::dig(extra=extra, name=c.tls_dns_name) }}</dd>
|
||||
{%- endif %}
|
||||
|
||||
{%- if c.search | length > 0 %}
|
||||
<dt>Search</dt>
|
||||
{%- for s in c.search %}
|
||||
<dd>{{s}}</dd>
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
</dl>
|
||||
{%- if c.info_url %}
|
||||
<p class="button-paragraph"><a href="{{c.info_url}}">More about the {{c.display_name}} DNS Server <small>(external link)</small></a></p>
|
||||
|
@ -16,14 +16,6 @@ Protocol: {{ c.protocol }}
|
||||
{%-if c.tls_dns_name %}
|
||||
DNS Name: {{ c.tls_dns_name }}
|
||||
{%- endif %}
|
||||
{%- if c.search | length == 1 %}
|
||||
Search: {{ c.search | first }}
|
||||
{%- elif c.search | length > 1 %}
|
||||
Search:
|
||||
{%- for s in c.search %}
|
||||
* {{s}}
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
{%- if c.aliases | length == 1 %}
|
||||
Alias: {{ c.aliases | first }}
|
||||
{%- elif c.aliases | length > 1 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user