<p>
<% loc( q{A wanted page is a link to a page that doesn't exist.} ) %>
</p>
% if ($wanted_count) {
<table class="standard-table">
<thead>
<tr>
<th><% loc('Title') %></th>
<th><% loc('Wanted by X other pages') %></th>
</tr>
</thead>
% while ( my $page = $wanted->next() ) {
<tbody>
<tr class="<% $wanted->index() % 2 ? 'odd' : 'even' %>">
<td><a href="<% $page->uri() %>"><% $page->title() %></td>
<td>
<% $page->wanted_count() %>
</td>
</tr>
</tbody>
% }
<& /lib/table/pager.mas,
index => $wanted->index(),
pager => $pager,
uri_maker => sub { $wiki->uri( view => 'wanted', @_ ) } &>
</table>
% } else {
<p>
<% loc('There are no wanted pages in this wiki.') %>
</p>
% }
<%args>
$wanted_count
$wanted
$pager
$wiki
</%args>
<%method title>
<% loc('Wanted Pages') %>
</%method>