]> git.ipfire.org Git - ipfire.org.git/blame - src/templates/location/blacklists.html
Update Christman campaign copy
[ipfire.org.git] / src / templates / location / blacklists.html
CommitLineData
2517822e
MT
1{% extends "base.html" %}
2
3{% block title %}{{ _("Blacklist Status of %s") % address }}{% end block %}
4
5{% block main %}
6 <div class="card mb-4">
7 <div class="card-body">
8 <h5 class="card-title mb-0">{{ _("Blacklists") }}</h5>
9 </div>
10
11 <ul class="list-group list-group-flush">
12 {% for bl in sorted(blacklists) %}
13 {% if blacklists[bl] %}
14 {% set code, reason = blacklists[bl] %}
15
16 <li class="list-group-item {% if code %}list-group-item-danger{% else %}list-group-item-success{% end %}">
17 <p class="mb-0">{{ bl }}</p>
18
19 {% if reason %}
20 <small class="text-muted">{{ reason }}</small>
21 {% end %}
22 </li>
23 {% end %}
24 {% end %}
25 </ul>
26 </div>
27{% end block %}