mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Small Dashboard Job List fix
This commit is contained in:
parent
57a598ed20
commit
bda18e64c8
@ -96,7 +96,7 @@ class JobList extends ResourceList {
|
||||
let listAction = listActionElement === null ? 'view' : listActionElement.dataset.listAction;
|
||||
switch (listAction) {
|
||||
case 'delete-request': {
|
||||
Utils.deleteJobRequest(this.userId, itemId);
|
||||
Requests.jobs.entity.delete(itemId);
|
||||
break;
|
||||
}
|
||||
case 'view': {
|
||||
|
@ -42,23 +42,6 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{# <div class="col s12" id="social">
|
||||
<h3>Social</h3>
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<span class="card-title">Other users</span>
|
||||
<p>Find other users and follow them to see their corpora.</p>
|
||||
<div class="user-list no-autoinit"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-content">
|
||||
<span class="card-title">Public corpora</span>
|
||||
<p>Find public corpora</p>
|
||||
<div class="public-corpus-list no-autoinit"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> #}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock page_content %}
|
||||
@ -113,14 +96,3 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endblock modals %}
|
||||
|
||||
{% block scripts %}
|
||||
{{ super() }}
|
||||
{# <script>
|
||||
let userList = new UserList(document.querySelector('.user-list'));
|
||||
userList.add({{ users|tojson }});
|
||||
let publicCorpusList = new PublicCorpusList(document.querySelector('.public-corpus-list'));
|
||||
publicCorpusList.add({{ corpora|tojson }});
|
||||
</script> #}
|
||||
{% endblock scripts %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user