Add MasterView.has_rows concept and related logic

Now the `BatchMasterView` no longer provides most of these goodies.

Also tweak some custom batch views to reflect changes etc.
This commit is contained in:
Lance Edgar 2016-08-23 13:11:13 -05:00
parent 8a19b90efa
commit 901c2fc573
9 changed files with 410 additions and 226 deletions

View file

@ -42,7 +42,7 @@
% if master.listing:
<span class="global">${model_title_plural}</span>
% else:
${h.link_to(model_title_plural, index_url, class_='global')}
${h.link_to(index_title, index_url, class_='global')}
% if master.viewing and grid_index:
${grid_index_nav()}
% endif