Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 1 | <h2>Virtual Collections</h2> |
| 2 | <ul> |
Nils Diewald | 1eba657 | 2014-06-17 19:49:53 +0000 | [diff] [blame] | 3 | % foreach my $vc (@{resource_info('collection')}) { |
Nils Diewald | 2329e1d | 2014-06-12 16:07:57 +0000 | [diff] [blame] | 4 | <li class="active" title="<%= $vc->{description} // '' %>"><h3><%= $vc->{name} %></h3> |
| 5 | % my $stats = $vc->{stats}; |
| 6 | <dl class="info"> |
| 7 | <dt>Documents</dt><dd><%= commify $stats->{documents} %></dd> |
| 8 | <dt>Paragraphs</dt><dd><%= commify $stats->{paragraphs} %></dd> |
| 9 | <dt>Sentences</dt><dd><%= commify $stats->{sentences} %></dd> |
| 10 | <dt>Tokens</dt><dd><%= commify $stats->{tokens} %></dd> |
| 11 | </dl> |
| 12 | </li> |
| 13 | % }; |
| 14 | </ul> |