mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-01-31 03:49:03 +00:00
Use default values for lists in admin user page
This commit is contained in:
parent
8c69c3881f
commit
9862d32dbb
@ -94,22 +94,7 @@
|
|||||||
<script>
|
<script>
|
||||||
socket.emit('subscribe_foreign_user_ressources', {{ user.id }});
|
socket.emit('subscribe_foreign_user_ressources', {{ user.id }});
|
||||||
|
|
||||||
var corpusList = new CorpusList("corpus-list", foreignCorporaSubscribers, {
|
var corpusList = new CorpusList("corpus-list", foreignCorporaSubscribers);
|
||||||
item: '<div><span class="title"></span><span class="description"></span></div>',
|
var jobList = new JobList("job-list", foreignJobsSubscribers);
|
||||||
page: 4,
|
|
||||||
pagination: true,
|
|
||||||
valueNames: ["description", "title", {data: ["id"]}]
|
|
||||||
});
|
|
||||||
corpusList.on("filterComplete", List.updatePagination);
|
|
||||||
corpusList.on("searchComplete", List.updatePagination);
|
|
||||||
|
|
||||||
var jobList = new JobList("job-list", foreignJobsSubscribers, {
|
|
||||||
item: '<div><span class="title"></span><span class="description"></span></div>',
|
|
||||||
page: 4,
|
|
||||||
pagination: true,
|
|
||||||
valueNames: ["description", "title", {data: ["id"]}]
|
|
||||||
});
|
|
||||||
jobList.on("filterComplete", List.updatePagination);
|
|
||||||
jobList.on("searchComplete", List.updatePagination);
|
|
||||||
</script>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user