{% load i18n static text_extras %}
{% for snap in gadget_snap_list|slice:"6" %} {% if gadget_snap_list|index:snap|divisibleby:6 %}
{% else %}
{% endif %} {% if snap.icon_url %}
{% else %} {% with 0|randint:10|string as rand %} {% with "img/boards/noboard-"|add:rand|add:".png" as noboard %}
{% endwith %} {% endwith %} {% endif %}

{% with snap_name=snap.title|default_if_none:snap.name %} {{ snap_name|style_snap_name }} {% endwith %}

{% endfor %}