Skip to content
Snippets Groups Projects
Commit 370a002a authored by Stephan Porada's avatar Stephan Porada :speech_balloon:
Browse files

Small fix to show 5 elements in corpus view list.

parent 28213574
No related branches found
No related tags found
No related merge requests found
...@@ -143,7 +143,7 @@ RessourceList.dataMappers = { ...@@ -143,7 +143,7 @@ RessourceList.dataMappers = {
RessourceList.options = { RessourceList.options = {
// common list.js options for 4 rows per page etc. // common list.js options for 5 rows per page etc.
common: { common: {
page: 5, page: 5,
pagination: [ pagination: [
......
...@@ -78,13 +78,14 @@ ...@@ -78,13 +78,14 @@
</tr> </tr>
</thead> </thead>
<tbody class="list"> <tbody class="list">
{% if corpus_files|length == 0 %}
<tr class="show-if-only-child"> <tr class="show-if-only-child">
<td colspan="5"> <td colspan="5">
<span class="card-title"><i class="material-icons left">book</i>Nothing here...</span> <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> <p>Corpus is empty. Add texts using the option below.</p>
</td> </td>
</tr> </tr>
</tbody> {% endif %}
</table> </table>
<ul class="pagination paginationBottom"></ul> <ul class="pagination paginationBottom"></ul>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment