Small fix to show 5 elements in corpus view list.

This commit is contained in:
Stephan Porada 2020-09-30 10:17:33 +02:00
parent 28213574f4
commit 370a002af3
2 changed files with 3 additions and 2 deletions

View File

@ -143,7 +143,7 @@ RessourceList.dataMappers = {
RessourceList.options = {
// common list.js options for 4 rows per page etc.
// common list.js options for 5 rows per page etc.
common: {
page: 5,
pagination: [

View File

@ -78,13 +78,14 @@
</tr>
</thead>
<tbody class="list">
{% if corpus_files|length == 0 %}
<tr class="show-if-only-child">
<td colspan="5">
<span class="card-title"><i class="material-icons left">book</i>Nothing here...</span>
<p>Corpus is empty. Add texts using the option below.</p>
</td>
</tr>
</tbody>
{% endif %}
</table>
<ul class="pagination paginationBottom"></ul>
</div>