listview ported bar pager
[catagits/Reaction.git] / share / skin / default / layout / list_view.tt
index 7cd3cc4..d74e2b4 100644 (file)
+=extends grid_view
+
 =for layout widget
 
 [% pager %]
 
-<table>
-  [% header %]
-  [% body   %]
-  [% footer %]
-</table>
+[% call_next %]
 
 [% pager %]
 
 [% actions %]
 
-=for layout header
-
-<thead>
-  [% content %]
-</thead>
-
-=for layout header_row
-
-<tr>
-  [% content %]
-  [% IF object_action_count %]
-  <th colspan="[% object_action_count %]"> Actions </th>
-  [% END %]
-</tr>
-
-=for layout header_cell
-
-<th> <a href="[% uri %]"> [% content | html %] </a> </th>
-
-=for layout footer
+=for layout header_action_cell
 
-<tfoot>
-  [% content %]
-</tfoot>
+<th colspan="[% col_count %]"> Actions </th>
 
-=for layout footer_row
+=for layout header_cell_contents
 
-<tr> 
-  [% content %] 
-  [% IF object_action_count %]
-  <th colspan="[% object_action_count %]"> Actions </th>
-  [% END %]
-</tr>
-
-=for layout footer_cell
-
-<th> <a href="[% uri %]"> [% content | html %] </a> </th>
-
-=for layout body
-
-<tbody>
-  [% content %]
-</tbody>
-
-=for layout pager
-
-<ul class="pager">
-  <li>[% first_page %]</li>
-  <li>[% previous_page %]</li>
-  <li>[% page_list %]</li>
-  <li>[% next_page %]</li>
-  <li>[% last_page %]</li>
-</ul>
-
-=for layout page_list
-[% content %]
-
-=for layout page
-<li> <a href="[% uri | html %]">[% content | html %]</a> </li>
-
-=for layout first_page
-<a href="[% uri | html %]">[% content | html %]</a>
-
-=for layout previous_page
-<a href="[% uri | html %]">[% content | html %]</a>
-
-=for layout current_page
-<a href="[% uri | html %]">[% content | html %]</a>
-
-=for layout next_page
-<a href="[% uri | html %]">[% content | html %]</a>
-
-=for layout last_page
-<a href="[% uri | html %]">[% content | html %]</a>
+<a href="[% order_uri %]">[% call_next %]</a>
 
 =for layout actions
 <div class="collection_actions">
 <ul>
-  [% content %]
+  [% call_next %]
 </ul>
 </div>
 
 =for layout action
-<li>[% content %]</li>
+<li>[% call_next %]</li>
+
+=for layout pager
+
+<p>Pager would be here. But it isn't.</p>
 
 =cut