Legend:
- Unmodified
- Added
- Removed
-
inc/admin/default-templates/forms/lists_layout.html.twig
r1154 r1156 2 2 {% set lenv = _context['list_' ~ listname] %} 3 3 {% if lenv.entries %} 4 <p>Pages:</p> 4 {% block list_pagination %} 5 <p>Page : {% for p in lenv.pages_links %} 6 {% if p == lenv.page or p == '...' %} 7 <b>{{p}}</b> 8 {% else %} 9 <a href="{{build_url(lenv.url,{'page':p})}}">{{p}}</a> 10 {% endif %} 11 {% endfor %}</p> 12 {% endblock %} 5 13 {% form listname -%} 6 14 {% spaceless %} 7 15 <table class="maximal clear"> 8 <caption> {{ caption }} - {{__(' Page %s')|format(page)}}</caption>16 <caption> {{ caption }} - {{__('%s entries')|format(lenv.nb_entries)}}</caption> 9 17 <tr> 10 18 {% for h in lenv.cols -%} … … 29 37 <p>{{ __('No entries') }}</p> 30 38 {% endif %} 39 {{ block('list_pagination')}} 31 40 {%- endblock %} 32 41
Note: See TracChangeset
for help on using the changeset viewer.