{% elif entry['domain'] == None %}
-
{% else %}
- <a href="{{base_url}}/top?{% if mode == 'blocker' %}reverse{% elif mode in('blocked', 'reference') %}domain{% endif %}={{entry['domain']}}" rel="nofollow noopener noreferrer">{{entry['domain']}}</a>
- <a class="listlink" href="https://{{entry['domain']}}" rel="external" target="_blank">↗</a>
+ {% with domain=entry['domain'] %}
+ {% include "widgets/links.tpl" %}
+ {% endwith %}
{% endif %}
</td>
<td>{{entry['score']}}</td>
{% for block in blocks[block_level] %}
<tr>
<td>
- <a href="https://{{block['blocker']}}" rel="nofollow noopener noreferrer">{{block['blocker']}}</a>
- {% if reason or domain %}<a class="listlink" href="{{base_url}}/top?reverse={{block['blocker']}}">↘</a>{% endif %}
+ {% with domain=block['blocker'] %}
+ {% include "widgets/links.tpl" %}
+ {% endwith %}
</td>
<td>
- <a href="https://{{domain or block['blocked']}}" rel="nofollow noopener noreferrer">{{block['blocked']}}</a>
- {% if reason or reverse %}<a class="listlink" href="{{base_url}}/top?domain={{domain or block['blocked']}}">↘</a>{% endif %}
+ {% with domain=block['blocked'] %}
+ {% include "widgets/links.tpl" %}
+ {% endwith %}
</td>
<td>{{block['reason']}}</td>
<td>{{block['first_seen']}}</td>
--- /dev/null
+<a href="https://{{domain}}" rel="nofollow noopener noreferrer">{{domain}}</a>
+[<a class="listlink" href="{{base_url}}/top?reverse={{domain}}" title="Search {{domain}}">D</a>]
+[<a class="listlink" href="{{base_url}}/top?reverse={{domain}}" title="Reverse search {{domain}}">R</a>]