{% load i18n inlinetrans %}

<div id="portal-{{ category }}-links" class="block">
  <ul>
  {% for link in links %}
    <li id="portal-link-{{ link.slug }}" class="{% if forloop.last %} last{% endif %}">
        <a href="{{ link.get_absolute_url }}" title="{{ link }}"><span>
            {% if link.image %}
                <img src="{{ MEDIA_URL }}{{ link.image }}" alt="{{ link }}" title="{{ link }}"/>
            {% else %}
                {{ link }}
            {% endif %}
        </span></a>
    </li>
  {% endfor %}
  </ul>
  <input type="hidden" value="{{ block.id }}" id="{{ block.name }}Order" class="blockOrder" />
</div>

