diff --git a/web/app/static/js/nopaque.lists.js b/web/app/static/js/nopaque.lists.js index d9acebe644607c69bfabd851494693029d45952f..d44bb46813d8d6aa0574d29942b00f719beb7f37 100644 --- a/web/app/static/js/nopaque.lists.js +++ b/web/app/static/js/nopaque.lists.js @@ -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: [ diff --git a/web/app/templates/corpora/corpus.html.j2 b/web/app/templates/corpora/corpus.html.j2 index 53b514dae4cdd7a742966e0df67c770d83ded83f..8f3b7fc5c4c1275a8e098465be1120d86a12bb28 100644 --- a/web/app/templates/corpora/corpus.html.j2 +++ b/web/app/templates/corpora/corpus.html.j2 @@ -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>