{% extends 'admin/layouts/default_sp.twig' %}
{% block title %}{{ _('FC2 Template list') }}{% endblock %}

{% block content %}

    <header><h1 class="sh_heading_main_b">{{ _('FC2 Template list') }}[{{ attribute(devices, req.get('device_type')) }}]</h1></header>

    {% if templates %}
        <ul class="template_list">
            {% for template in templates %}
                <li class="template_list_item">
                    <a href="{{ url(req, 'blog_templates', 'fc2_view', {fc2_id: template.id, device_type: req.get('device_type')}) }}">
                        <img class="template_img" src="{{ template.image }}" width="135" height="90" alt="{{ template.name }}"/>
                        <p class="template_name">{{ template.name }}</p>
                    </a>
                </li>
            {% endfor %}
        </ul>
    {% endif %}
    {% if not templates %}
        <p>{{ _('FC2 template can not be found') }}</p>
    {% endif %}

    {% include('admin/common/paging_sp.twig') %}

{% endblock %}
Convert to Twig: SP's /admin/blog_templates/fc2_index
Convert to Twig: SP's /admin/blog_templates/fc2_index
