~grupoesoc/cubicerp-addons/7.0

« back to all changes in this revision

Viewing changes to report_geraldo/lib/geraldo/site/newsite/site-geraldo/gallery/templates/admin/gallery/index.html

  • Committer: Cubic ERP
  • Date: 2014-01-07 15:38:09 UTC
  • Revision ID: info@cubicerp.com-20140107153809-4jmif3zoi8rcveve
[ADD] cubicReport

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
{% extends "admin/gallery/base.html" %}
 
2
 
 
3
{% load pagination_tags %}
 
4
 
 
5
{% block content %}
 
6
<ul class="submenu">
 
7
    <li><a href="item/add/">Add new gallery item</a></li>
 
8
</ul>
 
9
 
 
10
{% autopaginate list %}
 
11
 
 
12
<table class="list">
 
13
    {% for item in list %}
 
14
    <tr>
 
15
        <td><a href="{{ item.get_absolute_url }}"><img src="{{ item.get_thumb_url }}"/></a></td>
 
16
        <td><a href="{{ item.get_absolute_url }}">{{ item }}</a></td>
 
17
        <td>{{ item.mimetype }}</td>
 
18
        <td>
 
19
            <a href="item/{{ item.id }}/">Edit</a> |
 
20
            <a href="item/{{ item.id }}/delete/">Delete</a>
 
21
        </td>
 
22
    </tr>
 
23
    {% endfor %}
 
24
</table>
 
25
 
 
26
{% paginate %}
 
27
 
 
28
{% endblock content %}
 
29