app/soc/templates/soc/list/list_main.html
author Pawel Solyga <Pawel.Solyga@gmail.com>
Mon, 22 Sep 2008 14:08:37 +0000
changeset 185 2f3bd84bb106
child 539 e30462354e26
permissions -rw-r--r--
Add list_helpers functions that are going to be used when rendering list views like (Users List, Sponsors List etc). Add list default templates and CSS classes. Patch by: Pawel Solyga Reviewed by: to-be-reviewed

<div class="list">
  {% include list_pagination %}

  <table id="queues">
    {% if not list_data %}
      <tr><td colspan="9"><span class="disabled">(None)</span></td></tr>
    {% else %}
      {% include list_heading %}
      {% for data_element in list_data %}
        {% include list_row %}
      {% endfor %}
    {% endif %}
  </table>

  {% include list_pagination %}

</div>