Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nopaque
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SFB 1288 - INF
nopaque
Commits
370a002a
Commit
370a002a
authored
4 years ago
by
Stephan Porada
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
web/app/static/js/nopaque.lists.js
+1
-1
1 addition, 1 deletion
web/app/static/js/nopaque.lists.js
web/app/templates/corpora/corpus.html.j2
+2
-1
2 additions, 1 deletion
web/app/templates/corpora/corpus.html.j2
with
3 additions
and
2 deletions
web/app/static/js/nopaque.lists.js
+
1
−
1
View file @
370a002a
...
@@ -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
:
[
...
...
This diff is collapsed.
Click to expand it.
web/app/templates/corpora/corpus.html.j2
+
2
−
1
View file @
370a002a
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment