<tr>
<td>{{loop.index}}</td>
<td>
- {% if mode in ('software', 'command', 'error_code', 'detection_mode', 'avg_peers', 'obfuscator', 'obfuscation') %}
+ {% if mode in ('software', 'command', 'error_code', 'avg_peers', 'obfuscator', 'obfuscation') %}
{{entry['domain']}}
{% elif entry['domain'] == None %}
-
{% elif mode == 'block_level' %}
- <a href="top?mode=block_level&value={{entry['domain']}}&amount=50">{{entry['domain']}}</a>
+ <a href="top?mode={{mode}}&value={{entry['domain']}}&amount=50">{{entry['domain']}}</a>
+ {% elif mode == 'detection_mode' %}
+ <a href="list?mode={{mode}}&value={{entry['domain']}}&amount=50">{{entry['domain']}}</a>
{% else %}
{% with domain=entry['domain'] %}
{% include "widgets/links.html" %}