{% extends "admin/admin/list.html" %}
{% load i18n %}
{% load l10n %}
{% load url from future %}

{% block table_row scoped %}
  <td class="lead-cell" style="padding-left: {{ 8 + ((item.level - 1) * 24) }}px;">
  	<i class="icon-{{ forum_icon(item.type) }}"></i> <strong>{{ item.name }}</strong>
  </td>
{% endblock%}

{% macro forum_icon(forum_type) -%}
{%- if forum_type == 'category' -%}
folder-open
{%- elif forum_type == 'forum' -%}
list
{%- else -%}
globe
{%- endif -%}
{%- endmacro %}
