1234567891011121314151617 |
- {% extends "admin/admin/list.html" %}
- {% 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 %}
|